int arr [10] = {3, 8, 7, 6, 4, 3, 2, 16, 13, 14}; int evn [10] = {0}; int odd[10] = {0};
Q: To manage user security credentials, network administrators construct domain groups.
A: Introduction: Tokens may be created or obtained using security credentials held by a communicating p...
Q: Write a simple week log about a project in computer science
A: Introduction: There are few steps before starting on a project: Have to know what exactly you want...
Q: Please write it in Python Write a delete function that takes as an argument a list l and an elem e...
A: Python Code: def delete( l, x ): l.remove(x) return x Explaination : Define a function de...
Q: In how many ways the data is represented and what are they?
A: Introduction: A name, a number, the colors in an image, or the notes in a musical composition are al...
Q: Museum Visitor app Deliverable #5 Brainstorm with your team to develop a set of Class respon...
A: To reffer use case diagram is below
Q: Is it necessary to re-test the whole application or is it enough to just test the functionality asso...
A: Introduction: Here we are required to answer that Is it necessary to re-test the whole application o...
Q: What does the following code display? String s = "What we think, we become"; String s1 = s.substring...
A: Here in this question we have given a code segment and we have asked to find the output of this code...
Q: In computer networks, what is the value of an IP address?
A: Introduction: IP addresses may identify your computer, a favourite website, a network server, or eve...
Q: What is a release process, and how does it work? What is the significance of version control?
A: What is a release process, and how does it work? What is the significance of version control?
Q: Routers are typically found in O The network edge O The access ISP O The network core Institutional ...
A: A router is a device which connects ISP and users by sending or receiving data.
Q: What is meant by 127.0.0.1 and localhost?
A: Intro the question is about meant by 127.0.0.1 and localhost and here is the solution in the next st...
Q: List the five different types of DoS attacks
A: Ans: The five different types of DoS attacks is: 1: DoS attack based on Volume: The goal of this att...
Q: A known distribution company intends to reward it deserving employees with a bonus only for sales ag...
A: HI THEREI AM ADDING LOGICAL FUNCTION BELOWPLEASE GO THROUGH IT THANK YOU
Q: How does communication and camaraderie relate to coder?
A: Communication related to coder:- 1.The key to any successful relationship is communication, and that...
Q: Do you understand what SSL and TSL are? Is it possible to make distinctions? Please offer additional...
A: Intro SSL stands for a Secure Sockets Layer and is a popular security technique that uses a domain n...
Q: 1) If you have a file saved on your desktop, what are the steps you would not take to be able to edi...
A: Answer: 1. A. upload a file from your desktop to google drive and used the build-in feature to autom...
Q: Is aa distinguishable from the string a with respect to the set of strings over {a,b} that end with ...
A: 4) Strings w1 and w2 are distinguishable with respect to language L iff there exists some z in S*(se...
Q: 2.9 A common measure of transmission for digital data is the baud rate, defined as symbols (bits in ...
A:
Q: Write Java program that randomly generate two Integers between 1 and 10 as input and perform an oper...
A: Java code that generate random two integers and perform arithmetic operations and check the result a...
Q: 1. DISTANCE TRAVELED Assuming there are no accidents or delays, the distance that a car travels down...
A: Given:To write a java program to find the distance using given formula in the question.
Q: Networks that use packet switching: a) Are very sluggish, frequently taking up to 24 hours to rel...
A: Introduction Packet switching network: Packet switching is a process by which information is first d...
Q: The post order traversal for the given Binary Search Tree is: Root Node 30 15 60 7 22 45 75
A: Post Order Traversals in Binary Search tree - Left, Right, Root Order is - 7, 22, 15, 45, 75, 60, 30
Q: Problem 1 Write programs that ask to add a number entered by user. Ask the user to continue to add a...
A: In the above question, add two number entered by user and continue till user enter n.
Q: Bubble sort is a sorting algorithm that compares two adjacent elements and swaps them until they are...
A: Here, I have to write a bubble sort program for sorting 15 elements entered by the user.
Q: Show and tell the differences between synchronous and asynchronous technology. Use images and expres...
A: Synchronous technology- Synchronicity refers to accomplishing things at the same time, and learning...
Q: ii) Write a JAVA program to input the elements of an integer array of size 10 and then print the sum...
A: Java Program: import java.util.*;class Numbers { public static void main(String[] args) { ...
Q: Write a program to find the area of a rectangle, square and triangle using abstract class.
A: PROGRAM INTRODUCTION: Import the required libraries. Start the definition of an abstract class that...
Q: Problem: Today you are to write a Java program that will prompt for and read 1 word of a length grea...
A: Transcribed image text: Problem: Today you are to write a Java program that will prompt for and read...
Q: 23. Q2. Given a relation R( P, Q, R, S Dependency set FD = { PQ → R, P – letermine whether the given...
A: given - Q3. Q2. Given a relation R( P, Q, R, S, T, U. V. W, X, Y) and FunctionalDependency set FD =...
Q: ii) Write a JAVA program to input the elements of an integer array of size 10 and then print the sum...
A: Write a JAVA program to input the elements of an integer array of size 10 and then print the sum of ...
Q: Explain why professional software created for a customer is more than just produced and delivered pr...
A: Introduction: Professional software includes not just the programme itself, but also the documentati...
Q: Apply quickselect to find the median of the list of numbers 17,9, 5, 12, 20, 30, 8. Show the procedu...
A: Find median from the given list of numbers by quickselect given list = [17, 9, 5, 12, 20, 30, 8] Med...
Q: 2 3. soL ve in
A: Answer
Q: The following is necessary when multiple users access/modify the database simultaneously. A) Dist...
A: When multiple users access/modify the database simultaneously, many problems may occur. The lost up...
Q: Entity-relationship model is used for designing databases. True or False?
A: About entity relationship model: ===================================================================...
Q: When you could use a symbolic constant instead of a formal parameter to bring data into a function, ...
A: Introduction: The following explanation is based on the C++ programming language.
Q: What distinguishes a mobile app?
A: answer is
Q: Sort the various DNS record types into logical groupings. Explain each one quickly, using real-world...
A: Introduction Sort the many types of DNS records into logical groups. Explain each one briefly, provi...
Q: Please help Write a short response about the YouTube algorithm that makes people addicted. Not essay...
A: Algorithm: A finite sequence of steps/instructions to solve a problem. Algorithm design is a problem...
Q: Create a program that asks the user for a non-negative amount of money (in Pesos). Once the user has...
A: Since no programming language is mentioned, I am using python Algorithm: Start Implement a method n...
Q: What is the maximum latency in a client-server game, and how does it relate to the maximum latency i...
A: Introduction: Latency is a more technical name for lag, which occurs when there are reaction delays ...
Q: Consider the following game between two players: Both players simultaneously declare “one” or "two"....
A: Write a computer program in Java that allows a user to play this game against a computer. The comput...
Q: Java langauge
A: Given :- A car's mile per gallon can be calculated with the above given formula as, MPG = Miles driv...
Q: etermine what types of languages are used predominantly in your industry, and why those choices migh...
A: In a network industry the languages which are commonly being used are as follows: The below are bein...
Q: Submission guidelines: The assignment must be submitted by the deadline (earlier submissions are enc...
A:
Q: A. Write a routine that finds the Fibonacci value of a number entered in X5. Put the result in X6. B...
A: According to the Question below the Solution:
Q: Is there a centralised control point for internet traffic? Is this correct or incorrect?
A: Introduction: The data on the internet is today controlled primarily on centralised, private servers...
Q: Using an Insertion sort, identify what the first line is where there was an incorrect state change. ...
A: here we have given a detailed answer on saying the incorrect state change
Q: Please keep the simulation neat and well organized. It is a request. Perform MergeSort on the give...
A: Merge Sort is divide n Conquer algorithm technique. It is the process of diving the input array into...
write assembly x86-64 language (.asm) function to take an array of integers and filter out od and evens.
void filter(int* arr, int evn, int* odd, int size);
int main() {
int arr [10] = {3, 8, 7, 6, 4, 3, 2, 16, 13, 14};
int evn [10] = {0};
int odd[10] = {0};
return 0;
}
Step by step
Solved in 2 steps
- Write an assembly program(in 8086 use emu 8086) which is able to write a given set ofcharacters in an array to another array in reverse order. Forexample; if an array A is [‘c’ ‘e’ ‘n’ ‘g’] then array B must be [‘g’ ‘n’ ‘e’‘c’].P.S. : It is mandatory to use stack and LODSB-STOSBinstructions. You can use a variable to store array length.write an assembly language program that given an array that has 8 values, finds the odd mumbers and stores them in ODD and finds the even numbers and stores them in EVEN .MODEL SMALL .STACK 64 .DATAImplement a c/java/pythonprogramto generate reference stringsfrom given 5 address sequence(user input)and given page size as 300 words(constant).And simulate aleast-recently-used page replacement algorithmfor the generatedreference strings.
- x86 assembly language Write a general-purpose program with loop and indexed addressing that adds 12h to 0th, 3rd , 7th , 11th ,15th ,19th , … elements of a DWORD array. For example, in array: Array1 DWORD 12h, 13h, 14h,15h, 16h, 17h, 18h, 19h, 1ah, 1bh, 1ch, 1dh, 1eh, 1fh becomes: Array1 : 24h, 13h, 14h, 27h,16h,17h,18h, 2bh, 1ah, 1bh, 1ch, 2f, 1eh, 1fh I did the following code buts it wrong. I need to do it without using no Lea, no HLT, and no RPT. How would I do that? .CODE LEA SI,ARRAY1MOV CX,4MOV AX,0ADD [SI],12HADD SI,0CHADD [SI],12H;repetition with indexed addressing modeRPT:ADD SI,10HADD [SI],12HLOOP RPTHLTWrite a Java program to implement a stack by using array. o Define a Stack interface.o Define an ArrayStack class.o Define a Test class to test all methods first code package ArrayStack; public class ArrayStack <E> implements stack<E> { public static final int CAPACITY=1000; private E[] data; private int t = -1; public ArrayStack() { data = (E[]) new Object[CAPACITY]; } public ArrayStack(int capacity) { data = (E[]) new Object[capacity]; } public int size() { return (t + 1); } public boolean isEmpty() { return (t == -1); } public void push(E e) throws IllegalStateException{ if (size() == data.length)throw new IllegalStateException(); data[++t]=e; } public E top() { if(isEmpty( )) return null; return data[t]; } public E pop() { if( isEmpty( )) return null; E answer = data[t]; data[t] = null; t--; return answer; } } secound code package ArrayStack; public interface stack<E> { int size(); boolean isEmpty(); void push(E e); E…implement QuickSort of ints that sorts the numbers in the non-decreasing order and in c language Implement the rearrange function used for QuickSort using the O(n) time algorithm with two pointers. The function gets as input an array, and index of the pivot. The function rearranges the array, and returns the index of the pivot after the rearrangement. please write form as: int rearrange(int* A, int n, int pivot_index); 2, Implement the QuickSort algorithm. For n<=2 the algorithm just sorts the (small) array (smaller number first). - For n>=3 the algorithm uses the rearrange function with the pivot chosen to be the median of A[0], A[n/2], A[n-1]. write as form: void quick_sort(int* A, int n);
- In a java compiler, Create a program that loads the following elements in a stack. (Oppo, Realme, Samsung, Huawei, Vivo). Remove the last element in the stack and display the remaining elements. Show also the size of the stack and find the position of the element ‘Vivo’ in the stack. Sample output will be givenDesign a program in C language for implementing Triple Multi Stack using a single array of some specified size.(only single array should be used) please answer asap tysm.Here is the "high-level" (Arduino IDE) program for the STM32: extern "C" int f(int *, int, int); // (array, #rows, #columns) void setup() { int x[2][2] = {{11,12},{21,22}}; Serial.begin(115200); while (!Serial); delay(10); Serial.println(f((int *)x,2,2)); } void loop() { } Now, construct an assembly language function that takes a two-dimensional array (e.g., "x") along with two parameters (e.g., "2,2"), and adds-up all of the elements in the two-dimensional array.
- Microprocessor 8086 For the instance: “ ARRAY DB 'ABCDEFGHIJKLMNOPQRST' ”, write the assembly code to find the length of array.solve the image using Assembly language for 8086 microprocessor please solve it in this method for example- ##Take user Input in an array and show output in assembly language emu8086## INCLUDE 'EMU8086.INC' ;include an assembly library.MODEL SMALL.STACK 100h.DATAARR DB 50 DUP(?) ; declare array with null value initially .CODEMAIN PROCMOV AX,@DATAMOV DS,AXXOR BX,BXXOR CX,CX PRINT "How many number you want to store(1-9): " MOV AH,1INT 21HAND AL,0FH ;convert from ascii value to real value MOV CL,ALMOV BL,ALMOV SI,0 PRINTNPRINT "Enter values(without press enter or space): "PRINTNINPUT:INT 21HMOV ARR[SI],ALINC SILOOP INPUTPRINTNPRINT "OUTPUT: "PRINTN MOV CX,BXMOV SI,0MOV AH,2OUTPUT:MOV DL,ARR[SI]INT 21hINC SILOOP OUTPUT MAIN ENDPEND MAINImplement a c# program to illustrates why a stack is a useful data structure for many computational problems. When we convert a decimal number to another form, we start with the right-most digits and work our way to the left. Pushing each digit on the stack as we go works perfectly because when we finish, the converted digits are in the correct order.