Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 14

Subject: Lê Thu Thảo

Mã SV : 21IT447

MULTIPLE CHOICES QUESTIONS:


QN=1 <Which one of the following properly defines risk?>
a. <Threat x Vulnerability>
b. <Vulnerability x Asset value>
c. <Controls – Vulnerability>
d. <Total risk + Residual risk>
ANSWER: <a>
MARK: <1>
UNIT: <1>
MIX CHOICES: <YES>
LO <Number>
NOTE:
1. QN: Question Numbers;
2. QC: Question Code;
3. a, b, c, d: options of answer;
4. ANSWER: the right answer
5. MARK: for each question (make all 1mark/1question to check total easily)
6. UNIT: chapter (c), unit (u), lesion, topic… of syllabus
7. MIX CHOICES: “YES” is default to guarantee logic request when shuffle answer’s
options

QN=1 Match each program (numbered 1-5) with its fundamental idea (labeled a-e).

1. Sequential execution
2. Conditional execution
3. Looping
4. Stepwise refinement
5. Calling a function
a. The way we're going to clean the house is to first clean the kitchen, then clean the
bathroom, and then clean each of the three bedrooms one at a time.
b. Look in the phone number and find the number for Rebecca Smith.
c. Stomp your foot five times.
d. Sequential execution
e If it is raining, take an umbrella.
ANSWER: 1-d , 2-e, 3-c, 4-a, 5-b
MARK:
UNIT:
MIX CHOICES:
LO 4

QN=2 The ancient philosophical approach known as reductionism is known as ___________ in


computer science terminology.
a. problem decomposition
b. stepwise refinement
c. top-down design
d. all of the others
e. none of the others
ANSWER: d.all of the others
MARK:
UNIT:
MIX CHOICES:
LO 4

QN=3 Given the initial scene shown below, where Alice is facing the tree, one meter from it.
From Alice's point of view, she can see a penguin to the left side of the tree and a
monkey on the right side of the tree. Each animal is one meter away from the tree. What
is the result of running the following block of code?
a. Alice is near the tree facing the monkey.
b. Alice is near the tree facing the penguin.
c. Alice is near the tree and facing the tree.
d. Alice does not move, instead turning to the right .25 revolutions.
e. Alice is near the penguin and facing the tree.
ANSWER: a.Alice is near the free facing the penguin
MARK:
UNIT:
MIX CHOICES:
LO 4

QN=4 The initial scene below consists of a single penguin. After the following code is
executed, where will the penguin be with respect to its own orientation
a. two meters forward from its starting position
b. one meter forward and one meter to the right of its starting position
c. in the same place
d. one meter forward and one meter to the left of its starting position
ANSWER: c.in the same place
MARK:
UNIT:
MIX CHOICES:
LO 4

QN=5 Our programming coach is in the following scene. After the below code is executed, how
much collective distance will the coach have traveled?
a. 0 meters, coach doesn't move
b. 1 meter
c. 2 meters
d. 3 meters
e.
ANSWER: a.0 meters, coach doesn’t move
MARK:
UNIT:
MIX CHOICES:
LO 3

QN=6 In the following scene, a monkey is standing on a toy ball. The orientation of each object
is unknown. The execution of the below code produces which result?
a. The monkey and ball will move forward towards the camera at the same time.
b. First, the monkey will move forward towards the camera. Then, the ball will move
forward towards the camera.
c. We do not know which direction the ball will move, but the monkey will follow the
direction of the ball, so as to keep standing on it.
d. We do not know which direction the ball will move; the monkey and ball may or may
not move in the same direction as each other.
ANSWER: d. We do not know which direction the ball will move; the monkey and ball may or may
not move in the same direction as each other.
MARK:
UNIT:
MIX CHOICES:
LO 3

QN=7 Choose the correct statement.


a. Registers are put in CPU
b. Registers are special memory cells and they are put on the mainboard
c. ALU is a independent chip and it is put on the mainboard
d. None of the others
ANSWER: *
MARK:
UNIT:
MIX CHOICES:
LO 4

QN=8 Which statement is incorrect?


a. SSDs have lower power consumption than HDDs
b. SSDs have lower cost per bit than HDDs
c. SSDs have lower latency than HDDs
d. SSDs have longer lifespan than HDDs
ANSWER: b. SSDs have lower cost per bit than HDDs
MARK:
UNIT:
MIX CHOICES:
LO 4

QN=9 What are the main variables in a multicore organization?


a. Number of cores
b. Number of cache levels
c. Amount of shared cache
d. All of the others
ANSWER: d. All of the others
MARK:
UNIT:
MIX CHOICES:
LO

QN=10 Which RAID level uses a independent access technique?


a. 1
b. 2
c. 3
d. 4
ANSWER: d.4
MARK:
UNIT:
MIX CHOICES:
LO

QN=11 Which hazard occurs when the pipeline makes the wrong decision on a branch
prediction?
a. Resource hazard
b. Data hazard
c. Control hazard
d. None of the others
ANSWER: c. Control hazard
MARK:
UNIT:
MIX CHOICES:
LO 7

QN=12 Which technique enables parallel execution of instructions in parallel pipelines so long as
hazards are avoided?

a. Pipelining
b. Multithreading
c. Multiprocessing
d. Superscalar
ANSWER: d. Superscalar
MARK:
UNIT:
MIX CHOICES:
LO 7

QN=13 ____ moves data between the computer and its external environment.
a. IO module
b. Peripherals attached to a computer
c. Keyboard and monitor
d. All of the others
ANSWER: a.IO module
MARK:
UNIT:
MIX CHOICES:
LO 4

QN=14 Computer is a ____ system ______


a. hierarchical , in which interrelated subsystems in which one is connected with others.
b. independent, and it can not divided in to sub parts
c. hierarchical , and each software is related to at least one of others
d.
ANSWER: a. hierarchical , in which interrelated subsystems in which one is connected with others.
MARK:
UNIT:
MIX CHOICES:
LO 3

QN=15 Consider the following statements:

(1) The way in which components relate to each other

(2) The operation of individual components as part of the structure

Select one of these statements to fill the below blank:

Structure is a concept related to ________________________

a. (1)
b. (2)
c. None of the others
d.
ANSWER: a.(1)
MARK:
UNIT:
MIX CHOICES:
LO 3

QN=16 Structure is a concept related to _____(1) The way in which components relate to each
other(2) The operation of individual components as part of the structure
a. (1) only
b. (2) only
c. Both (1) and (2)
d. None of the others
ANSWER: a.(1)only
MARK:
UNIT:
MIX CHOICES:
LO 3

QN=17 Computer organization supplies knowledge about ____


a. All of the others
b. Connections between it’s component
c. Functions of each component
d. Hardware components
ANSWER: a.All of the others
MARK:
UNIT:
MIX CHOICES:
LO 4

QN=18 Computer architecture supplies knowledge about _____


a. All of the others
b. Length of an instruction
c. Data type supported
d. Computer attributes to programmers
ANSWER: a.all of the others
MARK:
UNIT:
MIX CHOICES:
LO 3

QN=19 Relied on ____, data storage facility in computers is implemented.


a. Memory
b. peripherals
c. Control Unit (CU)
d. Arithmetic and Logic Unit (ALU)
ANSWER: a.Memory
MARK:
UNIT:
MIX CHOICES:
LO 3
QN=20 Relied on ____, data processing facility in computers is implemented .
a. Arithmetic and Logic Unit (ALU)
b. Peripherals
c. Control Unit (CU)
d. Memory
ANSWER: a. Arithmetic and Logic Unit (ALU)
MARK:
UNIT:
MIX CHOICES:
LO 1

QN=21 Wires connect related hardware components of a computer is call as ____


a. Bus
b. Pipeline
c. Numbered channel
d. None of the others
ANSWER: a.Bus
MARK:
UNIT:
MIX CHOICES:
LO 2

QN=22 Technique which allows some instructions executing simultaneously is ____


a. Pipelining
b. Branch prediction
c. Data flow analysis
d. None of the others
ANSWER: a. Pipelining
MARK:
UNIT:
MIX CHOICES: YES
LO 2

QN=23   Which of the followings cannot exchange data directly?


a. Memory
b. IO module
c. Processor
d. None of the others
ANSWER: d. None of the others
MARK:
UNIT:
MIX CHOICES:
LO 1

QN=24 For the following C program, what is the result on the screen when executing the
program?

#include "stdio.h"
#include "conio.h"
#include "iostream"
int main()
{
unsigned char n,i,a;
n=10;
a=1;
for (i=1;i<=n;i+=2) a=a*i;
printf("%d",a);
getch();
}
a. 217
b. 177
c. 945
d. 257
ANSWER: b.177
MARK:
UNIT:
MIX CHOICES:
LO 8

QN=25 For the following C program, what is the result on the screen when executing the
program?

#include "stdio.h"
#include "conio.h"
#include "iostream"
int main()
{
char n,i,a;
n=10;
a=1;
for (i=1;i<=n;i+=2) a=a*i;
printf("%d",a);
getch();
}
a. -79
b. 177
c. 945
d. 217
ANSWER: a.-79
MARK:
UNIT:
MIX CHOICES:
LO 8
QN=26 __________ converts the programs written in assembly language into machine
instructions.
a. Machine compiler
b. Interpreter
c. Assembler
d. Converter
ANSWER: c. Assembler
MARK:
UNIT:
MIX CHOICES:
LO 5

QN=27 __________ converts the programs written in assembly language into machine
instructions.
a. Machine compiler
b. Interpreter
c. Assembler
d. Converter
ANSWER: c.Assembler
MARK:
UNIT:
MIX CHOICES:
LO 5

QN=28 The instructions like MOV or ADD are called as ______


a. OPCode
b. Operators
c. Commands
d. None of the mentioned
ANSWER: a.OPCode
MARK:
UNIT:
MIX CHOICES:
LO 5

QN=29 Assembly language programs are written using


a. Hex code
b. Mnenonics
c. ASCII code
d. None of these
ANSWER: b.Mnenonics
MARK:
UNIT:
MIX CHOICES:
LO 5
QN=30 Consider a machine with a byte addressable main memory of
216 bytes and block size of 8 bytes. Assume that a direct
mapped cache consisting of 32 lines is used with this machine.
How is a 16-bit memory address divided into tag, line number,
and byte
number?
a. 7-6-3
b. 9-4-3
c. 8-5-3
d. 6-7-3
ANSWER: c.8-5-3
MARK:
UNIT:
MIX CHOICES:
LO 4

QN=31 With respect to multi-threading, choose the correct statement.


a. In one-CPU system, the time-sharing mechanism allows threads executing
concurrently.
b. In one-CPU system, multi-threading is not allowed.
c. With multicore system, each thread must be executed by an individual
CPU.
d. Programmer can directly specify a specific CPU running a thread
ANSWER: b. In one-CPU system, multi-threading is not allowed
MARK:
UNIT:
MIX CHOICES:
LO 5

QN=32 The limit of instruction level parallelism is _______


a. All of the others
b. More stages, more logic gates
c. More stages, more complexity in circuit
d. More stages, more control signals
ANSWER: a. All of the others
MARK:
UNIT:
MIX CHOICES:
LO 5
QN=33 With respect to communication, the bottleneck in multicore organization is
____
a. Shared system bus
b. Memory
c. Disks
d. Caches
e. All of the others
ANSWER: b.Memory
MARK:
UNIT:
MIX CHOICES:
LO 5

QN=34 With respect to storages, the bottleneck in multicore organization begins


from ____
a. the first common cache
b. main memory
c. Disks
d. All of the others
ANSWER: d.All of the others
MARK:
UNIT:
MIX CHOICES:
LO 5
QN=35 The main structural components of the processor include:
a. Control unit, Registers, I/O ports, CPU interconnection
b. Internal interconnection, Control unit, ALU, Registers
c. Registers, CPU interconnection, DACs, Control unit
d. ALU, Registers, Internal interconnection, I/O ports
ANSWER: b. Internal interconnection, Control unit, ALU, Registers
MARK:
UNIT:
MIX CHOICES:
LO 5

QN=36 Which of the following functions is not the 4


basic functions that computers have?
a. Data processing
b. Data saving
c. Move data
d. Control
e. Interrupt
ANSWER: e. Interrupt
MARK:
UNIT:
MIX CHOICES:
LO 5

QN=37 Which of the following is not the basic


component Structure of von Neumann Machine.
a. Cache memory
b. Main memory
c. ALU
d. Input / output (I / O)
e. Control Unit
ANSWER: a.Cache memory
MARK:
UNIT:
MIX CHOICES:
LO 5

QN=38 What is the following statement about the


generation of computers?
"All components of a circuit are scaled into
microphones. So they are all packed into one
chip."
a. 4
b. 3
c. 2
d. 1
e.
ANSWER: b.3
MARK:
UNIT:
MIX CHOICES:
LO 5

QN=39 What do the following concepts describe?


Processor receives commands from memory
The program counter (PC) holds the address of
the command to be fetched next
Processor increases PC after each fetch
The fetched command is loaded into the
command register (IR).
a. Fetch Cycle
b. Instruction cycle
c. Execute cycle
d. Process cyle
e.
ANSWER: a.Fetch Cycle
MARK:
UNIT:
MIX CHOICES:
LO 5

QN=40 What is the processing required for a single


instruction is called?
a. instruction cycle
b. Instruction
c. Function
d. Programs
e.
ANSWER: a.instruction cycle
MARK:
UNIT:
MIX CHOICES:
LO 5

You might also like