Computer Science > QUESTIONS & ANSWERS > University of the People CS 2301 all quizes Questions and Answers - 100 Percent Grade (All)
Question 1 Correct Mark 1.00 out of 1.00 Flag question Question text To write (or update) memory, one must also specify ______ to be written to the given address? Select one: a. Library b. Ad... dress c. The data d. Thread Feedback Your answer is correct. The correct answer is: The data Question 2 Correct Mark 1.00 out of 1.00 Flag question Question text True or False: We do not need hardware and software to be able to store data persistently Select one: True False Feedback The correct answer is 'False'. Question 3 Correct Mark 1.00 out of 1.00 Flag question Question text True or False: When a program runs, the primary goal is to make the system easy to use. Select one: True False Feedback The correct answer is 'True'. Question 4 Correct Mark 1.00 out of 1.00 Flag question Question text A running program does the following: Select one: a. Executes code b. Executes instructions c. Executes commands d. Executes source code Feedback Your answer is correct. The correct answer is: Executes instructions Question 5 Correct Mark 1.00 out of 1.00 Flag question Question text What other name is an OS sometimes called: Select one: a. Resource manager b. Administrator c. Executor d. Virtual Machine Feedback Your answer is correct. The correct answer is: Resource manager Question 6 Correct Mark 1.00 out of 1.00 Flag question Question text True or False: As a concept, virtual machines can exist outside and inside the operating system. Select one: True False Feedback The correct answer is 'False'. Question 7 Correct Mark 1.00 out of 1.00 Flag question Question text Why did Linus Torvalds borrow UNIX concept, but not the code? Select one: a. Too complex b. Non-existent c. Too insecure d. Legal reasons Feedback Your answer is correct. The correct answer is: Legal reasons Question 8 Correct Mark 1.00 out of 1.00 Flag question Question text True or False: Programs are always accessing memory. Select one: True False Feedback The correct answer is 'True'. Question 9 Correct Mark 1.00 out of 1.00 Flag question Question text Memory is just an array of bytes; to read memory, one must specify _______ to be able to access the data stored there. Select one: a. Location b. Address c. Structure d. The Byte Feedback Your answer is correct. The correct answer is: Address Question 10 Incorrect Mark 0.00 out of 1.00 Flag question Question text Each process accesses its own private: Select one: a. Virtual machine b. Virtual source code c. Virtual address space d. Virtual client Feedback Your answer is incorrect. The correct answer is: Virtual address space Question 1 Correct Mark 1.00 out of 1.00 Flag question Question text True or False: Application programmers typically use an API rather than directory invoking system calls. Select one: True False Feedback The correct answer is 'True'. Question 2 Correct Mark 1.00 out of 1.00 Flag question Question text The Windows CreateProcess() system call creates a new process. What is the equivalent system call in UNIX: Select one: a. NTCreateProcess() b. process() c. fork() d. getpid() Feedback Your answer is correct. The correct answer is: fork() Question 3 Correct Mark 1.00 out of 1.00 Flag question Question text True or False: The shell is just a user program. Select one: True False Feedback The correct answer is 'True'. Question 4 Correct Mark 1.00 out of 1.00 Flag question Question text A process may transition to the Ready state by which of the following actions? Select one: a. Completion of an I/O event b. Awaiting its turn on the CPU c. Newly-admitted process d. All of the above Feedback Your answer is correct. The correct answer is: All of the above Question 5 Correct Mark 1.00 out of 1.00 Flag question Question text A parent can be made to wait for a child process to finish what it has been doing by which command? Select one: a. PID b. Hello World c. Prompt > d. wait() system call Feedback Your answer is correct. The correct answer is: wait() system call Question 6 Correct Mark 1.00 out of 1.00 Flag question Question text _____ provide(s) an interface to the services provided by an operating system. Select one: a. Shared memory b. System calls c. Simulators d. Communication Feedback Your answer is correct. The correct answer is: System calls Question 7 Incorrect Mark 0.00 out of 1.00 Flag question Question text What technique uses the OS to create an illusion by virtualizing the CPU and running one process, then stopping it and running another? Select one: a. Virtualization b. Context switch c. Scheduling d. Time sharing Feedback Your answer is incorrect. The correct answer is: Time sharing Question 8 Correct Mark 1.00 out of 1.00 Flag question Question text True or False: The process list is a data structure. Select one: True False Feedback The correct answer is 'True'. Question 9 Correct Mark 1.00 out of 1.00 Flag question Question text True or False: The register context will not hold the contents of its registers. Select one: True False Feedback The correct answer is 'False'. Question 10 Correct Mark 1.00 out of 1.00 Flag question Question text This system call is useful when you want to run a program that is different from the calling program: Select one: a. API b. fork() c. exec() System Call d. wait () Feedback Your answer is correct. The correct answer is: exec() System Call Question 1 Correct Mark 1.00 out of 1.00 Flag question Question text True or False: We do not need hardware and software to be able to store data persistently Select one: True False Feedback The correct answer is 'False'. Question 2 Correct Mark 1.00 out of 1.00 Flag question Question text The Windows CreateProcess() system call creates a new process. What is the equivalent system call in UNIX: Select one: a. NTCreateProcess() b. process() c. fork() d. getpid() Feedback Your answer is correct. The correct answer is: fork() Question 3 Correct Mark 1.00 out of 1.00 Flag question Question text True or False: Application programmers typically use an API rather than directory invoking system calls. Select one: True False Feedback The correct answer is 'True'. Question 4 Incorrect Mark 0.00 out of 1.00 Flag question Question text A deterministic fair-share scheduler is called Select one: a. Proportional share scheduler b. Lottery scheduler c. Stride scheduler d. MFLQ scheduler Feedback Your answer is incorrect. The correct answer is: Stride scheduler Question 5 Correct Mark 1.00 out of 1.00 Flag question Question text True or False: The process list a data structure. Select one: True False Feedback The correct answer is 'True'. Question 6 Correct Mark 1.00 out of 1.00 Flag question Question text True or False: The register context will not hold the contents of its registers. Select one: True False Feedback The correct answer is 'False'. Question 7 Correct Mark 1.00 out of 1.00 Flag question Question text True or False: When a program runs, the primary goal is to make the system easy to use [Show More]
Last updated: 2 years ago
Preview 1 out of 101 pages
Buy this document to get the full access instantly
Instant Download Access after purchase
Buy NowInstant download
We Accept:
Can't find what you want? Try our AI powered Search
Connected school, study & course
About the document
Uploaded On
Sep 23, 2021
Number of pages
101
Written in
This document has been written for:
Uploaded
Sep 23, 2021
Downloads
0
Views
234
In Scholarfriends, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Scholarfriends · High quality services·