Docsity

CEA201: Data Representation and Computer Architecture Exercises, Exams of Nursing

Toggle sidebar
bg1
CEA201 questions with correct answers
What is the definition of "Information"?
a. It is the newspaper
b. It is a hard disk, which can store a lot of data.
c. Data communicated or received that resolves uncertainty about a particular fact
or circumstance.
d. It is the internet Answer✓✓ Data communicated or received that resolves
uncertainty about a particular fact or circumstance.
A /an __________ is an unambiguous mapping between bit strings and the set of
possible data.
a. communication
b. store data
c. decoding
d. encoding Answer✓✓ communication
How many bits are needed to encode the 10 decimal digits {0, 1, 2, 3, 4, 5, 6, 7, 8,
9}?
a. 2
b. 4
c. 9
d. 10 Answer✓✓ 4
How many bits are needed to encode the 128 ASCII characters (Control and
Printable)?
a. 7
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28

Partial preview of the text

Download CEA201: Data Representation and Computer Architecture Exercises and more Exams Nursing in PDF only on Docsity!

CEA201 questions with correct answers

What is the definition of "Information"? a. It is the newspaper b. It is a hard disk, which can store a lot of data. c. Data communicated or received that resolves uncertainty about a particular fact or circumstance. d. It is the internet Answer✓✓ Data communicated or received that resolves uncertainty about a particular fact or circumstance. A /an __________ is an unambiguous mapping between bit strings and the set of possible data. a. communication b. store data c. decoding d. encoding Answer✓✓ communication How many bits are needed to encode the 10 decimal digits {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}? a. 2 b. 4 c. 9 d. 10 Answer✓✓ 4 How many bits are needed to encode the 128 ASCII characters (Control and Printable)? a. 7

b. 8 c. 9 d. 128 Answer✓✓ 7 We have four symbols, we might choose a unique two-bit string for each: "A" could be "00", B = "01", C = "10" and D = "11". The encoding for the message "CBAD" would be__________? a. 00001111 b. 10101010 c. 10010011 d. 10011001 Answer✓✓ 10010011 The binary number 00010011 is equal to the decimal number ______. a. 33 b. 3 c. 19 d. 131 e. 13 Answer✓✓ 19 The largest unsigned decimal number that can be represented in binary using eight bits is ______. a. 64 b. 127 c. 128 d. 255 e. 256 Answer✓✓ 255

b. 10001011 c. 11110110 d. 10011100 e. Overflow Answer✓✓ 10011100 Addition with signed numbers 4 bits (in 2's complement form): 0110 + 0011 = _____. a. 1001 b. 0001 c. 1010 d. 0011 e. Overflow Answer✓✓ Overflow The binary number for 0xA0F18 is ______. (binary and hexadecimal numbers using the format 0b____ and 0x____, respectively) a. 0b 1111 0000 1111 0001 0000 b. 0b 1010 0000 1111 0001 1001 c. 0b 1010 0000 1111 0001 1111 d. 0b 1010 0000 1111 0001 1000 e. 0b 1010 0000 1111 0001 0000 Answer✓✓ 0b 1010 0000 1111 0001 1000 A system uses EVEN parity for error detection. If the 7 data bits and 1 parity bit are 0010101 1, then the error will go undetected if the received bits are _________. a. 0011101 1 b. 0011111 1 c. 1010011 1

d. 0010111 1 Answer✓✓ 0011111 1 A system uses ODD parity for error detection. If the 7 data bits and 1 parity bit are 1100111 0, then the error will go undetected if the received bits are _________. a. 1000111 1 b. 1100110 0 c. 1100111 1 d. 1100000 0 Answer✓✓ 1000111 1 Which of flowing parity-protected bit strings has a detectable error assuming even parity? a. 1110 1101 1 b. 1000 1011 0 c. 1111 1111 0 d. 0000 0000 0 Answer✓✓ 1110 1101 1 A simple parity-check code can detect __________. a. no errors b. two errors c. all even-numbers of errors d. all odd-numbers of errors Answer✓✓ all odd-numbers of errors The Hamming distance (HD) between 1100 and 0011 is ________. a. 0 b. 1 c. 2

d. All inputs are HIGH. Answer✓✓ All inputs are HIGH. The logic gate that will have HIGH or "1" at its output when any one of its inputs is HIGH is a(n) __________. a. OR gate b. AND gate c. NOR gate d. NOT gate Answer✓✓ OR gate The basic logic gate whose output is the complement of the input is the _________. a. OR gate b. AND gate c. INVERTER gate d. comparator Answer✓✓ INVERTER gate If a signal passing through a gate is inhibited by sending a low into one of the inputs, and the output is HIGH, the gate is a(n) _________. a. NAND b. AND c. NOR d. OR Answer✓✓ NAND The output of an NOR gate with three inputs, A, B, and C, is LOW when ________. a. A = 1, B = 1, C = 1

b. A = 0, B = 0, C = 1 c. A = 0, B = 1, C = 1 d. all of the other choices Answer✓✓ all of the other choices If a 3-input OR gate has eight input possibilities, how many of those possibilities will result in a HIGH output? a. 1 b. 3 c. 7 d. 9 Answer✓✓ 7 The truth table for the SOP expression A.B + B'.C has how many input combinations? a. 2 b. 3 c. 4 d. 8 Answer✓✓ 8 A SOP expression is equal to 1 ________. a. All the variables in domain of expression are present b. At least one variable in domain of expression is present. c. When one or more product terms in the expression are equal to 0. d. When one or more product terms in the expression are equal to 1. Answer✓✓ When one or more product terms in the expression are equal to 1. An example of SOP expression is _______.

a. A b. A' c. 1 d. 0 Answer✓✓ 1 Simplification of the Boolean expression (A+B+C)(D+E)' + (A+B+C).(D+E) yields which of the following results? a. A + B + C b. D + E c. A'.B'.C' d. D'.E' e. None of the others Answer✓✓ A + B + C An equivalent representation for the Boolean expression A + A' is _________. a. 1 b. 0 c. A d. A' e. A'.A Answer✓✓ 1 According to De Morgan's Law: (A + B)' = __________. a. A.B b. A'.B' c. (A.B)' d. A' - B'

e. A' + B' Answer✓✓ A'.B' Simplifing (A.B)' + A'.B to most basic form yields which of the following expressions? a. A' b. B' c. A + B d. B e. (A.B)' Answer✓✓ (A.B)' Simplification of the Boolean expression A.B + A.(B.C)' yields which of following results? a. A b. B.C c. B d. A.B e. (B.C)' Answer✓✓ A Simplification of the Boolean expression (A + B)'. (C + D + E)' + (A + B)' yields which of the following results? a. A + B b. A'.B' c. C + D + E d. C'.D'.E' e. A'.B'.C'.D'.E' Answer✓✓ A'.B'

How many select lines would be required for an 8-line-to-1-line multiplexer? a. 2 b. 3 c. 4 d. 8 Answer✓✓ 3 Two input multiplexer would have _________. a. 1 select line b. 2 select lines c. 4 select lines d. 3 select lines Answer✓✓ 1 select line Which combinational circuit is renowned for selecting a single input from multiple inputs and directing the binary information to output line? a. Data Selector b. Data distributor c. Both data selector and data distributor d. None of the mentioned Answer✓✓ Data Selector In a multiplexer, the selection of a particular input line is controlled by _________. a. data controller b. selected lines c. logic gates d. both data controller and selected lines Answer✓✓ selected lines

The idea developed in 1945 by Von Neumann of a computer holding both programs and the data used by the programs in memory is called the __________? a. Stored Memory Concept b. Stored Memory Program c. Stored Program Concept d. Memory Program System Answer✓✓ Stored Program Concept What are the 3 parts of the Von Neumann computer architecture? a.Memory (CU and ALU), Hard Disk and Input/Output b. Processor (CU and ALU), Memory Unit and Input/Output c. Processor, RAM and ROM d. Processor, RAM and Hard Disk Answer✓✓ Processor (CU and ALU), Memory Unit and Input/Output What are the two main parts of the processor? a. Control Unit and Cache b. Control Unit and Arithmetic Logic Unit c. RAM and ROM d. RAM and Cache Answer✓✓ Control Unit and Arithmetic Logic Unit Which unit is responsible for recording the information provided by the user and sending it to the CPU? a. Output Unit b. Control Unit c. Input unit

d. Alpha numeric Answer✓✓ Binary form What is the register that keeps the track of the address in main memory of the next instruction to be executed? a. Program Counter (PC) b. Instruction Register (IR) c. Memory Address Register d. Memmory Buffer Register Answer✓✓ Program Counter (PC) What is the field in an instruction indicates the operation to be performed (e.g., ADD, XOR, COMPARE)? a. Address field b. Source operand field c. Destination operand field d. Opcode field Answer✓✓ Opcode field What is ISA stands for (in this course)? a. Instruction Set Architecture b. Interrupt Service Architecture c. Information Services Analysis d. Integrated Support Activity Answer✓✓ Instruction Set Architecture How many bits does the PC (Program Counter register) of the Beta have? a. 4 b. 8 c. 16

d. 32 Answer✓✓ 32 How many registers does the Beta have (exclude PC)? a. 16 b. 31 c. 32 d. 128 Answer✓✓ 32 What is the special of R31 register? a. It is a stack pointer b. It is the fastest register c. It is more power efficient d. its value always reads as 0 and writes to R31 have no affect on its value Answer✓✓ its value always reads as 0 and writes to R31 have no affect on its value How many memory locations can be accessed by Beta? a. 32 Bytes b. 4 MBytes c. 32 MBytes d. 4 GBytes Answer✓✓ 4 GBytes How many bytes does each word contains of the Beta? a. 1 b. 4 c. 8

a. 32 bits b. 64 bits c. Variable-length encoding for instructions d. None of the others Answer✓✓ 32 bits How many fields does a Beta ALU instruction have? a. 2 (1 source operand, 1 destination operand) b. 3 (1 opcode, 1 source operands, 1 destination register) c. 4 (1 opcode, 2 source operands, 1 destination register) d. 5 (1 opcode, 3 source operands, 1 destination register) Answer✓✓ 4 (1 opcode, 2 source operands, 1 destination register) What is the opcode for SUB instruction? (find your anwer in the "Beta Documentation.pdf") a. 0b b. 0b c. 0b d. 0b10000000 Answer✓✓ 0b ADD(Ra,Rb,Rc) instruction asks the Beta do: a. Ra = Rb + Rc b. Rc = Ra + Rb c. Ra = Rb if (Rc = 0) d. Rc = Rb if (Ra = 0) Answer✓✓ Rc = Ra + Rb In the Beta instruction format with constant, the constant in _________ format.

a. unsigned binary b. one's comlpement c. two's complement d. sign-magnitude Answer✓✓ two's complement In the Beta instruction format with constant, the constant operands in the range of _________ (in decimal). a. 0 to 64000 b. -32000 to 32000 c. -32768 to 32767 d. 0b8000 to 0b7FFF Answer✓✓ -32768 to 32767 What does the ADDC(R1,-3,R3) instruction do? a. R3 = R1 + 3 b. R3 = R1 - 3 c. R1 = R3 + 3 d. R1 = R3 - 3 Answer✓✓ R3 = R1 - 3 A "C" suffix in some instruction (e.g ADDC, ANDC, SUBC) indicate _________. a. the register stores content of data b. the second operand is a constant c. the second operand is a register d. this is a Compare instruction Answer✓✓ the second operand is a constant Assume that: