WGU D684 INTRODUCTION TO COMPUTER SCIENCE
COURSE SECTION 1 AND 2 OBJECTIVE ASSESSMENT
EXAM 2026/2027 CURRENTLY TESTING WITH COMPLETE
500 EXAM QUESTIONS WITH DETAILED VERIFIED
ANSWERS / EXAM QUESTIONS AND VERIFIED ANSWERS
|ALREADY GRADED A+|
What is the main advantage of using a nesting structure in
pseudocode? - ANSWER-It allows for more complex decision-
making and iterations.
Which pseudocode statement is an example of a single-
alternative if statement? - ANSWER-if (condition) then
What is the name of the algorithm that sorts a list by repeatedly
comparing and swapping adjacent items, with each pass through
the list stopping at one end? - ANSWER-Bubble sort
What describes the programming structure that executes a
process a specific number of times? - ANSWER-Count-controlled
loop
, Page |2
What is the pseudocode that will convert the integer a to a floating
point number? - ANSWER-myFloat x = float(a)
Which piece of pseudocode correctly calculates the integer result
of dividing the integer b by the integer f? - ANSWER-b // f
Consider the following code. IF (myYear > 1900) Print "Continue"
ELSE Print "Error" What does the code do? - ANSWER-It prints
Continue if the value of myYear is greater than 1900 and Error
otherwise.
Set temp to val_1 Set val_1 to val_2 Set val_2 to temp What is
accomplished by the pseudocode? - ANSWER-It swaps the
values of val_1 and val_2.
How does an operating system (OS) manage system
performance? - ANSWER-By optimizing the use of CPU, memory,
and storage resources
, Page |3
What is the primary purpose of memory management in an
operating system? - ANSWER-To efficiently allocate and manage
system memory
Which task or tasks are part of process management in an
operating system? - ANSWER-Creating, executing, and
terminating processes
What is the main goal of CPU scheduling in an operating system?
- ANSWER-Determining the order in which the CPU executes
processes
Which technique does an operating system use to extend
physical memory by using disk space? - ANSWER-Virtual
memory
Which of the following describes a process in the context of an
operating system? - ANSWER-A program in execution
, Page |4
Which CPU scheduling algorithm selects the process with the
smallest execution time remaining? - ANSWER-Shortest job next
(SJN)
Which state is a process in when it has completed its execution? -
ANSWER-Terminated
Which CPU scheduling algorithm assigns a fixed time slice to
each process in the queue? - ANSWER-Round-robin (RR)
Which statement describes paging in memory management? -
ANSWER-Allocating fixed-sized blocks of memory
Which statement describes the purpose of a file system in an
operating system? - ANSWER-To organize and manage data
storage on devices
Which file extension is typically associated with a text file? -
ANSWER-.txt