Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Concept explainers
Question
Consider a MIPS processor and a program that is loaded in the main memory between the addresses 130h and 161Ch (h means hexadecimal). Calculate the number of blocks of the main memory that this program uses if the size of a block is 2^7 words (give the result in decimal).
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by stepSolved in 2 steps with 1 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- In this problem we will work through a round of DES. For notational simplicity, assume it is the first round. Please enter all answers as strings of 0's and 1's. The input is the 64 bit block 0000000000000010000000000000001000000100000001000100000000000000 Suppose that the subkey for the current round is this 48 bit number: 000000000000000001000000000000000000000000000000 What does the 64 bit state look like after the IP transformation is applied to the input? 00000000000110000100000000000000 Now find Lo and Ro, the left and right halves of the state. Lo 01000000010000000000000000010000 = Ro=00000000000000100000000000000000 What is the result of applying the expansion box to R₁? E(Ro) = 00000000000000100000000000000000 What is the result of XORing the subkey with E(Ro)? k₁ E(Ro) = 00000000000000100000000000000000 We now apply the S-box transformation. S(k₁ E(Ro)) = 11011000110110001101111110111100 Finally we apply the permutation box to complete the function f. f(Ro) = P(S(k₁ + E(Ro)))…arrow_forwardWrite a Pep/9 Assembly program that reads in and stores two integers from the user and prints out their sum in the form: Total = <value> Create two versions of the program. One version should use just memory addresses in the commands. (No labels.) The second version should replace the memory addresses and just use labels. please show the output of the working programarrow_forwardWrite out how to solve the following code using any addressing mode for (3,3) GPR. a[] is address0x100, y is address 0x300, z is address 0x400, and x is using r0. Write comments besides each line ofcode. Short a[50];Int y,z;for( x=0; x<20; x++){y = a[x + 3];z = y + a[x+10];}arrow_forward
- Assume you now have 1kB of memory, i.e. the memory address space runs from 0 to 1023. The starting address of the first word is 0, the second word is 4, the third word is 8, and so on. The last word comprising 4 bytes resides in addresses 1020, 1021, 1022, 1023. Thus, the last word starts at 1020, which is a multiple of 4. Now assume the same 1kB of memory but now, word size is 64 bits. The starting address of the first word is 0, the second, third, and last word starts at? my answer: (correct) the second is equal to = 8 the third is equal to = 16 help me find the last wordarrow_forwardPYTHON/JUPYTER NOTEBOOKS given the attached fourier data : # Measurements of fourier data data = [ [-2.00, -9.37], [-1.00, 10.00], [-1.14, 10.83], [-0.29, -13.88], [0.00, -18.00], [0.57, -1.83], [1.00, 14.00], [1.43, 14.5], [2.00, 0.00], [2.29, -1.38], [3.00, 28.00], [3.14, 35.64], [4.00, 37.88], [5.00, -23.00], [4.86, -17.52], [5.71, -14.63], [6.00, -1.00], [6.50, -15.00], [6.57, -1.73], [7.00, 12.00], [7.43, 5.97], [7.50, 2.00], [8.29, 22.78], [9.00, 1.00], [9.14, -6.41], [10.0, -9.37] Fit the data with the linear least-squares fit method using Fourier basis functions. Use 15 pairs of sines and cosines and create the plots/results below. x_vec = [ 1.591 -0.42 5.684 -5.112 -2.257 0.36 4.546 -7.626 0.341 -4.391 1.092 1.878 4.286 7.783 -3.427 -4.608 1.763 -0.957 -1.751 3.441 2.857 -2.624 2.96 0.911 -2.538 2.782 -1.943 -8.819 1.635 2.123 2.123] Local Relative Error (discarding y values < 0.1): mean [%] = 17.08 std [%] = 89.43…arrow_forwardwrite an assembly program that defines two arrays of bytes that contain 4 elements each, one array will store odd number and the other will store even number . read eight elements from the user and store them based on whether they are odd or even p.s: program is coded in 8086arrow_forward
- C++ In this lab, you're going to be working with partially filled arrays that are parallel with each other. That means that the row index in multiple arrays identifies different pieces of data for the same person. This is a simple payroll system that just calculates gross pay given a set of employees, hours worked for the week and hourly rate. Parallel Arrays First, you have to define several arrays in your main program: employee names for each employee hourly pay rate for each employee total hours worked for each employee gross pay for each employee You can use a global SIZE of 50 to initialize these arrays. Second, you will need a two dimension (2-D) array to record the hours worked each day for an employee. The number of rows for the 2-D array should be the same as the arrays above since each row corresponds to an employee. The number of columns represents days of the week (7 last I looked). Functions Needed In this lab, you must read in the employee names first because this…arrow_forwardA processor uses a serial link to communicate with a keyboard for word processing. A typist using this keyboard can type at rates peaking at 120 words per minute, where a word is 6 characters (including spaces and punctuation). The characters will be transmitted from the keyboard in 8-bit ASCII with one stop bit and no parity. Only consider these and no special characters. The programmer writes setup and polling service routines based on a minimum baud rate, but then finds that the keyboard will only interface at 19.2 Kbaud. Will the polling service routine have to change? Why or why not? Baud Rates 300 600 1200 2400 4800 9600 19200arrow_forwardWrite a program in hack assembly that stores two 16-bit numbers in RAM[3] and RAM[4] and XORs their result together and stores it in RAM[5]. I know the code starts off like: @3 D=M @4 A=M Next I need to do (!A and D) V (A and !D) but I don’t know how to do it. Please help thanks.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education