. 2) You are required to write an Assembly Language program segment to perform the operation Ci = where Ai and Bi represents a set of 50 memory locations each storing a value such that the A values are stored starting from memory location 100 while the B values are stored starting from memory location 200. The results are to be stored starting from memory location 300.
Q: tly is a Compiler?
A: given - What exactly is a Compiler?
Q: what is the relationship between sequence size and window size to avoid problems in recognizing betw...
A: Sr protocol is used in place of selective repeat protocol which is a data link layer protocol...
Q: In a text editor, open index.htm. Enter your name and today’s date where indicated in the comment se...
A: Given; We need to write a html code that show Enter name field and date field .
Q: What are the three fields in a direct-mapped cache address? What is the process by which they are ut...
A: As the above figure shows, an address of m bits is divided into three parts. t tag bits s set index...
Q: Write a python program to display the number between 150 to 254 whose sum of digits is even number.
A: logic:- iterate from i=150 to 254 call sumDigEven(i) and compare True false value before displayin...
Q: A circuit is constructed with four resistors, one inductor, one battery and a switch as shown. The v...
A:
Q: blic class myClass { private int n; public String s; public static double d; public void myFun () { ...
A: Lets see the solution.
Q: Provide complete answer for the needed output below. WIll give thumbs up Write the exact output of ...
A: C++ is a cross-platform language that can be used to create high-performance applications.
Q: 6. Fill in the Gaps by CodeChum Admin The foundation for our building is slowly collapsing. We need ...
A: The solution to the given problem is below.
Q: Consider the following scenario: you have a relation that contains x, y coordinates, and the names o...
A: Introduction: Consider the restaurant's names and the x and y coordinates related to the inquiries. ...
Q: In this program create a flowchart and algorithm. Thank you Source Code: #include using names...
A: Algorithm: Step 1: Start Step 2: Create variables for miles,gallon and mpg Step 3: Ask user for mile...
Q: Write a program to convert a US Customary System length in miles, yards, feet and inches to a Metric...
A: According to the Question below the solution: Output:
Q: erations of Apriori Algorithm terminate after finding only one 4-item frequent emset as {P, Q, R, S}...
A: Lets see the solution.
Q: Explain what it means for an instruction set to be orthogonal in terms of logical structure.
A: Introduction: Instruction set architectures that employ orthogonal addressing modes are called ortho...
Q: Discuss why you chose your certification pathway. Explain why you selected the python that pathway o...
A: Python career path - The next big thing python programming: Python Gifts You Growth in Your Career P...
Q: ne
A: given- clay harden borrowed $25000 from a bank at an interest rate of 9% compounded monthly. The loa...
Q: Can you please explain in details and pesodo code will be enough for explanation This is a question ...
A: Pseudo code is a term which is regularly utilized in programming and calculation based fields. It is...
Q: Which type of SHA was created by a group of private designers?
A: SHA, (secure Hash Algorithms) is a set of cryptographic designed to protect facts, which works by m...
Q: Describe in detail the following FIVE(5) stages of hacking. i. Gaining access ii. Escalating p...
A: Hacking is basically the task of fetching the personal data of other people in inappropriate ways. I...
Q: 3) Given the grammar below, (a) list all the terminals and (b) list all the non-terminals. ASSIGN - ...
A: Please upvote me please. I need it badly. I am providing you the correct answer below. Terminals...
Q: programming Assume an integer array of size 12 named arrSales stores the sales of a product for eac...
A: // C++ implementation of above approach #include <bits/stdc++.h> using namespace std; /* Fun...
Q: What type of information is normally provided in a Layer 1 frame is described below.
A: In OSI model it describes 7 layers that system use to communicate over a network. It helps visualize...
Q: assigned a numerical priority, with a higher number indicating a higher relative priority. The sched...
A: Turnaround Time=Completion Time – Arrival Time Waiting Time=Turnaround Time – Burst Time Preemptive,...
Q: What are the memory characteristics of Finite automata? Give the justification.
A: Finite automata is an abstract computing device.
Q: int bof(char *str, int size) { char *buffer = (char *) malloc(size); strcpy(buffer, str); ...
A:
Q: Write the form of the following argument. Is the argument valid or invalid? Justify your answer. typ...
A: The Answer is
Q: Describe FOUR(4) possible countermeasures against network scanning.
A: At border routers and firewalls, filter inbound ICMP message types. To effectively map your network,...
Q: P AND NOT AND OR R
A:
Q: Find the mnemonic and the operand of the following machine code (shown as hexadecimal numbers) BE EF
A: Given :
Q: d) Print the string "Assignment 3 Rust Programming" 10 times in the output with only one string in e...
A: Since no programming language is mentioned, I am using Rust programming language. Algorithm: Start ...
Q: There is a linkedlist that encodes a Boolean function of variables in the form of a Zhegalkin polyno...
A: C++ Code for add 1 to a linked list #include <bits/stdc++.h>using namespace std; class Node{ ...
Q: A user interface can be extremely constraining in its functionality. For example, the interface desi...
A: Introduction: When used in conjunction with an operating system or GUI (graphical user interface), t...
Q: Consider sending real-time voice from Host A to Host B over a packet-switched network (VolP). Host A...
A: Here, I have to provide a solution to the above question.
Q: Describe what is meant by offline password attacks. Name and describe in detail TWO(2) techniques t...
A: When a password is created, computer saves it hash form . When you enter password at login prompt, i...
Q: Every day, you receive at least ten new emails in your inbox. What is the most effective way to stru...
A: SUMMARY: -Hence, we discussed all the points.
Q: ne cool.com le ile /home/kdun
A: MODULE 1 - NETWORKS TODAY1.0.5 Packet Tracer - Logical and Physical Mode Exploration Objectives Par...
Q: How you would or have been identifying phishing emails during your online activities?
A: Requirement: Answer the given question based on a phishing attack. Solution: Before moving towards t...
Q: Matlab:Create six numbers in column vector array by the uniform distribution. Show them in fixed-poi...
A: Matlab: Syntax: rng('default'); r1 = rand(1,6,1); A = Rand(1,6,'single'); class(A)
Q: The areas of the following figures are computed as follows: 1. trapezoid: (h/2) (b1+b2) 2. ellipse: ...
A: Flowchart:
Q: 5. Suppose that $4,000 is placed in a bank account at the end of each quarter over the next 10 years...
A:
Q: Your friend has recently purchased a new personal computer. What should you do? She informs you that...
A: In computer architecture, Amdahl's law (or Amdahl's argument) is a formula which gives the theoretic...
Q: Hexadecimal to Binary BEHA1F
A: Given We know that how to convert Hexadecimal to Binary BEHA1F
Q: Determine whether the following argument is valid or invalid. Include a truth table and a few words...
A: INTRODUCTION: We need to tell the argument is valid or invalid and also create truth table for that.
Q: public static CS150 getInstance(){ //TODO implement a single return null; }
A: public static CS150 getInstance(){ return (new CS150()); }
Q: Using the serial functions and serial monitor, determine the nun "e" transmitted in a string of data...
A: Lets see the solution.
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: 6. What is the output of the following code class A { public int i; void display () { System.out.pri...
A: Below the output of the following code
Q: c++ programming b) Given x and y are int variables and z is a double variable. The initial value fo...
A: A variable is a name of memory location.
Q: Most important Class in Customer Relationship Management (CRM) System is indeed Customer. Customer c...
A: The get method returns the value of the variable name. The set method takes a parameter and assigns...
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) { ...
2.
2) You are required to write an Assembly Language
operation Ci = where
value such that the A values are stored starting from memory location 100 while the B values
are stored starting from memory location 200. The results are to be stored starting from
memory location 300.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
- PROGRAM 15: Swapper Write an HLA Assembly language program that implements a function which correctly sorts three parameters and returns a boolean value in AL which should be set to true if any swaps were performed to sort the sequence in decreasing order. This function should have the following signature: procedure swapper (var x : int16; var y: int16; var z : int16); @nodisplay; @noframe; After invoking the function, the value of x >= the value of y >= the value of z. Your function must use reference parameters, changing the callers version of the variables passed to the function. Here is a sample program dialogue: Gimme X: 12 Gimme Y: 1 Gimme Z: 50 After sorting, X= 50, Y = 12, Z = 1 Gimme X: 100 Gimme Y: 10 Gimme Z: 2 After sorting, X = 100, Y = 10, z = 2Write a single and complete C program to help faculty ‘X’ preparing grades ofEEE 103:a. Ask the user how many students he has in his class and take it as input.b. Dynamically allocate memory and take input of the student’s EEE 103final marks using pointersc. Find the maximum marks obtained among them. The marks must beaccessed using pointer.d. Those who got below 50% of the maximum marks, add 2 marks bonus tothose student’s marks. The marks must be accessed using pointer.e. Consider the final exam has been taken for a total of 45 marks. But theweight of finals for the EEE 103 course is 32%. Now convert eachstudent's marks he received to 32% for preparing the grades. Store theconverted marks in another dynamically allocated array.f. Print the converted marks for all the students.Write a C++ program for the following Create a function Display() and declare four variables and four pointers of types int,char, double and float in it. You can initialize the variables with any values of yourchoice. After variable initialization, assign addresses of those variables to thecorresponding declared pointers. At the end, you need to print the following values• values stored in all variables• values stored in pointers• addresses of all the variables• addresses of all the pointers• sizes of all the variables• sizes of all the pointers
- Write a c++ code Shortest Job First (SJF) is a scheduling algorithm where CPU executes the shortest process prior to the longer ones. Given are a number of functions and their required completion time in different arrays. You are required to use the priority queue created in Question No. 01 to implement Shortest Job First Scheduling algorithm. This algorithm will call the functions in ascending order of completion time. This question should be completed in form of a function. Read the source.cpp file provided. Design a proper main. In SJF function, en-queue the node with Fun1 address first then Fun2, Fun3 and so on.Write a C function that is given a pointer to memory, the number of bytes of memory the pointer points at, and two pointers to uint32_t. Your job is to treat the pointer as if it were a pointer to an array of uint32_t, find the min and max values of the array, and write the results to the locations pointed at by the uint32_t pointers. The number of bytes will be a positive multiple of 4. Do not worry about endianess in this problem. Note the tester has command line options -Wall -Wextra -Werror -fsanitize=address to help you catch errors.Python only** define the following function: 1. This function must add a task to a checklist, setting its initial value to False. It will accept two parameters: the checklist object to add to, and the task name to add. In addition to adding the task, it must return the (now modified) checklist object that it was given. There is one issue, however: a task cannot be added to a checklist if the name requested is already being used by another task in that checklist. In that case, this function must print a specific message and must return None Define addTask with 2 parameters Use def to define addTask with 2 parameters Use a return statement Within the definition of addTask with 2 parameters, use return _ in at least one place. Do not use any kind of loop Within the definition of addTask with 2 parameters, do not use any kind of loop.
- Task 2 Write a C++ Program that computes the sum of two matrices. Each matrix is of 2 rows and 2 columns and will be created from user input. Output of the program is as follows: Enter [0][0] of Matrix A: Enter [0][1] of matrix A: Enter [1][0] of matrix A: Enter [1][1] of matrix A: 2 3 4 Enter [0][0] of Matrix B: Enter [0][1] of matrix B: Enter [1][0] of matrix B: Enter [1][1] of matrix B: A = 4 2 3 + B = 7 C= 8 10 = 5 9 12 14 68 678 9Computer Science Write a program that processes a data sequence according to the following specifications: The sequence has three kinds of positive numbers: red, black and white. Each red number is preceded by the letter r, each black number is preceded by the letter b and each white number is preceded by the letter w. The number 0 indicates the end of data. If a number is preceded by any character other than r, b or w, the number is ignored. For instance, if the input to the program is: r 23 b 15 b 11 w 17 c 13 r 19 b 0, then we have two red numbers, 23 and 19, two black numbers 15 and 11, and one white number, 17. The number 13 is ignored. (The terminating 0 is also a black number but it is not processed.) The program produces the following output: The sum of red numbers is 42The sum of black numbers is 26The sum of white numbers is 17 Assume that input is from the keyboard and is in the prescribed format. (a). In 2-3 sentences, describe your strategy for solving this…4. Write a C++ program that prompts the user to enter the dimensions of a 2D matrix (rows and columns) then dynamically create the 2D matrix and fill the matrix with random numbers between 13 and 29 inclusive. Write a user defined function named UpperHalf () which takes a two dimensional array A, with size N rows and M columns as arguments and prints the upper half of the array. The function's prototype should look like this: void UpperHalf(int**matrix, int rows, int columns) Hint: To generate a number between a and b inclusive use this equation: a + rand ()%(b-a+1) Remember to deallocate dynamically created memory. Sample Run: Enter the number of rows > 4 Enter the number of columns > 5 Original Array: 24 15 18 17 18 25 14 20 13 13 19 24 23 14 25 26 13 20 20 14 Upper Half: 24 15 18 17 13 13 18 20 13 25 14 26 20 14
- Question Asked Jul 9, 2020 3 views Python Programming- Computer-Assisted Instruction Part 1: Computer-Assisted Instruction (CAI) refers to the use of computers in education. Write a script to help an elementary school student learn multiplication. Create a function that randomly generates and returns a tuple of two positive one-digit integers. Use that function's result in your script to prompt the user with a question, such as: How much is 6 times 7? For a correct answer, display the message "Very good!" and ask another multiplication question. For an incorrect answer, display the message "No. Please try again." and let the student try the same question repeatedly until the student finally gets it right. Then, modify the program so that various comments are displayed for each answer. Possible responses to a correct answer should include 'Very good!' , 'Nice work!' and 'Keep up the good work!' Possible responses to an incorrect answer shojld include 'No. Please try again.' ,…Write a C program to swap two integers you should write a function named as swap_intand it should accept arguments as pointers then it should swap integers bydereferencing those pointers./* Javascript! Create a function that run anot function after a delay. Arguments: callback: the function to execute after the delay delay: number of milliseconds to wait data: the one (and only) argument to pass to the callback */ const callAfter = function(callback, delay, data) { // IMPLEMENT ME