ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 9 Weeks Ago, 6 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 27 Apr 2017 My Price 9.00

The Final Exam consists of 30 questions / problems

I need help with the following topic in the next 3hrs, anyway way you can help.

 

Invite Friends
Invite Friends
Invite Friends
Invite Friends
Invite Friends Final Exam
Started: Mar 7 at 8:38pm Quiz Instruc!ons
The Final Exam consists of 30 questions / problems. The exam is worth 200 points. There are two primary types of questions and problems.
Those that require you to demonstrate knowledge of the topic; those questions are worth 5 points. In addition there are problems / questions
that required critical thinking, problem solving, and usually require using math to answer the problem / question. Those questions are worth 10
points.
Grading rubrics are provided below for both types of problems / questions in the assignment. 5 point knowledge ques!ons rubric
0 points 3 points Answer does not address the question. 5 points Answer addresses some components of
Answer fully addresses the question and
knowledge in the topic, but does not contain all demonstrates comprehensive knowledge of
components.
the topic. 10 point cri!cal thinking and problem solving ques!ons rubric
0 points Answer does not
demonstrate any
application of the topic. 3 points Answer demonstrates
basic knowledge of the
topic but lacks any
application of the topic in
the answer. 5 points 7 points Answer demonstrates
Answer demonstrates
comprehensive knowledge
basic knowledge of the
of the topic and some
topic and some application
application of the topic in
of the topic in the answer.
the answer. 10 points Answer demonstrates
comprehensive knowledge
of the topic and
comprehensive application
of the topic in the answer. Note: answers on the assignment are autosaved. Question 1 What is an interrupt and how does it differ from a trap? 5 pts A trap is caused by a program and occurs at the same position program
An interrupt is caused by a program and occurs at the same position
A trap is caused by hardware and is asynchronous
An interrupt is cause by hardware and always occurs at the same time in a program Question 2 5 pts What is the difference in internal and external fragmentation? External fragmentation occurs in paging systems
External fragmentation occurs in both paging and segmentation of memory
Internal fragmentation occurs in paging systems
Internal fragmentation occurs in segmentation systems Question 3 5 pts Which of the following is correct regarding block size? Large block size is good for space utilization but bad for performance.
Large block size is bad for space utilization and goo for performance
Small block size is good for both space utilization and performance
Small block size is good for space utilization but bad for performance Question 4 Which of the following is a correct statement? A preemptive process must run until it completes processing 5 pts Preemptive processes can only be run in batch scheduling
A preemptive process can be interrupted and resume processing at a later time
A non-preemptive process can be interrupted and resume processing at a later time. Question 5 5 pts What are the two main functions of an operating system? Provide a user interface and antivirus protection
Provide programs with an interface to system hardware and manage system resources.
Provide system calls and antivirus protection
Prevent hardware malfunctions Question 6 5 pts Which of the following is the definition of an access control list? List that contains all the domains that can access an object
List of system calls available for accessing files
List of userid/passwords that allow access to the operating system
List of exceptions for accessing files Question 7 10 pts Disk requests come in to the disk drive for cylinders 10, 22, 20, 2, 40, 6, and 38, in that order. A seek takes 6 msec per
cylinder moved. How much seek time is needed for Closest Cylinder Next algorithm? Assume that the arm is initially
at cylinder 19. 119 msec
138 msec
266 msec
366 msec Question 8 5 pts Which of the following instructions should be allowed only in kernel mode? Select all that apply. Disable all interrupts
Read the time-of-day clock
Set the time-of-day clock
Change the memory map Question 9 10 pts A computer has 8 tape drives, with n processes competing for them. Each process may need two drives. For which
values of n is the system deadlock free? n>7
n=7
n <= 7
n<7 Question 10 The concept that states a process tends to only access a fraction of its pages during execution is: 5 pts Starvation
Thrashing
Locality of Reference
Fragmentation Question 11 5 pts What is the main difference between pages and segments with regards to memory management? Pages vary in size and segments are fixed
Pages can be swapped out but segments cannot
Segments can be swapped out but pages cannot
Pages are fixed size and segments vary in size Question 12 10 pts A computer system has enough room to hold 3 programs in its main memory. These programs are idle waiting for I/O
60% of the time. What fraction of the CPU time is wasted? Approximately 11%
Approximately 22%
Approximately 66%
Approximately 77% Question 13 Which of the following is not one of the four approaches for handling deadlock? 5 pts Deadlock starvation
Deadlock detection and recovery
Deadlock avoidance
Deadlock prevention Question 14 5 pts Contiguous allocation of files leads to disk fragmentation because some space in the last disk block will be wasted in
files whose length is not an integral number of blocks. Is this ________ ________ fragmentation? Internal file fragmentation
External file fragmentation
Internal memory fragmentation
External memory fragmentation. Question 15 5 pts What is multiprogramming and its main purpose? To allow multiple programs to run sequentially to keep the CPU busy
rapid switching of the CPU between multiple processes to keep the CPU busy
rapid switching of the CPU between multiple processes to increase CPU idle time
To enable the operating system to run multiple programs to increase memory utilization Question 16 A __________ is the interface provided by the operating system to user application programs. 5 pts File allocation table
System call
Command line interpreter
Activation record Question 17 5 pts _________ describes the process of making sure that if one process is using a shared resource then another process
is excluded from accessing it. Race prevention
Deadlock avoidance
Mutual exclusion
Starvation prevention Question 18 5 pts In a _____________ only the pages or segments needed for a process to run are currently in main memory, all other
pages or segments are stored on secondary storage (i.e. hard disk). When a page or segment is needed it is swapped
in and a page or segment is swapped out. Batch Processing System
Real-time Processing System
Multi-tasking Operating System
Virtual Memory System Question 19 What is the purpose of the File Allocation Table? 5 pts Enables the operating system to maintain a linked list of pointers to the sectors of a file.
Tells the operating system how much file space is available.
Establishes the security level of files and which users are allocated use of the file
Prevents unauthorized users from accessing certain files. Question 20 5 pts What are the three states a process can be in? Blocked, Suspended, and Active
Suspended, Active, and Not Active
Running, Ready, and Blocked
Running, Suspended, and Not Suspended Question 21 5 pts How does DMA I/O benefit the CPU? The DMA controller has access to the system bus and works independently of the CPU
CPU can delegate I/O tasks to DMA controller freeing itself up for instruction execution
DMA can use “cycle stealing” to access the bus with little impact to the CPU
All of the above Question 22 In Linux, which directory has the system file information? /proc 5 pts /home
/system
/operator Question 23 10 pts Five batch jobs A through E, arrive at a computer center at almost the same time. They have estimated running times
of 6, 4, 8, 2, 10 minutes. For Round Robin scheduling algorithm, determine the mean process turnaround time.
Ignore process switching overhead. Assume that only one job at a time runs, until it finishes. All jobs are completely
CPU bound. 6 minutes
20.8 minutes
30 minutes
34.3 minutes Question 24 10 pts Consider a swapping system in which memory consists of the following hole sizes in memory order: 10 KB, 4 KB, 20
KB, 18 KB, 7 KB, 9 KB, 12 KB, and 15 KB. Which hole is taken for successive segment requests of (a) 12 KB, (b) 10
KB, (c) 9 KB for Best Fit? 20 KB, 10 KB, 18 KB
20 KB, 18 KB, 15 KB
12 KB, 10 KB, 9 KB
18 KB, 10KB, 9KB Question 25 5 pts _________ is when an operating system spends more time swapping pages in and out than it does executing pages. Deadlocked
Starvation
Thrashing
Saturated Question 26 10 pts What is a process? What is a thread? List two main differences between a process and a thread?
HTML Editor! !
/ "
0 #
1 $
2 $ % & ' " (
# )
3 *
4 + , - Font Sizes ! .
Paragraph p 5 Question 27 10 pts In OS, multiple jobs can run in parallel and finish faster than if they had run sequentially. Suppose that two jobs, each of
which needs 10 minutes of CPU time, start simultaneously. How long will the last one take to complete if they run
sequentially? How long if they run in parallel? Assume 80% I/O wait.
HTML Editor! !
/ "
0 #
1 $
2 $
" % & ' (
# )
3 *
4 + , Font Sizes - .
Paragraph ! p 5 Question 28 10 pts Explain the difference between a virus and a worm? How do they each reproduce?
HTML Editor! !
/ "
0 #
1 $
2 $ % & ' " (
# )
3 *
4 + , - Font Sizes ! .
Paragraph p 5 Question 29 10 pts Explain what is a race condition is with regards to an operating system?
HTML Editor! !
/ "
0 #
1 $
2 $
" % & ' (
# )
3 *
4 + , Font Sizes p Question 30 Explain the main difference between Programmed I/O and Interrupt Driven I/O? - ! .
Paragraph 5 10 pts HTML Editor! !
/ "
0 #
1 $
2 $
" % & ' (
# )
3 *
4 + , Font Sizes - ! .
Paragraph p 5 Saving... Submit Quiz

Answers

(11)
Status NEW Posted 27 Apr 2017 08:04 AM My Price 9.00

-----------

Attachments

file 1493282259-Solutions file 2.docx preview (51 words )
H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly -----------onl-----------ine----------- an-----------d g-----------ive----------- yo-----------u e-----------xac-----------t f-----------ile----------- an-----------d t-----------he -----------sam-----------e f-----------ile----------- is----------- al-----------so -----------sen-----------t t-----------o y-----------our----------- em-----------ail----------- th-----------at -----------is -----------reg-----------ist-----------ere-----------d o-----------n -----------THI-----------S W-----------EBS-----------ITE-----------. ----------- Th-----------ank----------- yo-----------u -----------
Not Rated(0)