AItE/Chapter 5/Read MCQs
πŸ“– Back to Study Notes
5

Chapter 5 Β· MCQ Read Mode

Data Communication, Computer Network and Organization

AITE05Β·69 Total MCQs
Question 1 of 69Computer Networks, Physical and Data Link Layer

The OSI model has how many layers?

A4
B5
C7
D6
Answer is hidden
Question 2 of 69Computer Networks, Physical and Data Link Layer

A network switch operates at which OSI layer?

ALayer 1 (Physical)
BLayer 2 (Data Link)
CLayer 3 (Network)
DLayer 4 (Transport)
Answer is hidden
Question 3 of 69Computer Networks, Physical and Data Link Layer

ARP is used to resolve:

ADomain names to IP addresses
BIP addresses to MAC addresses
CMAC addresses to IP addresses
DPort numbers to services
Answer is hidden
Question 4 of 69Computer Networks, Physical and Data Link Layer

CSMA/CA is used instead of CSMA/CD in wireless networks because:

AWireless networks are faster than wired
BCollisions cannot be detected in wireless due to the hidden node problem
CWireless devices do not have MAC addresses
DCSMA/CD is patented
Answer is hidden
Question 5 of 69Computer Networks, Physical and Data Link Layer

IEEE 802.11 defines which wireless standard?

AEthernet
BBluetooth
CWi-Fi
DWiMAX
Answer is hidden
Question 6 of 69Computer Networks, Physical and Data Link Layer

A hub differs from a switch in that a hub:

AForwards frames based on MAC addresses
BBroadcasts all incoming data to every connected port
COperates at Layer 3
DPerforms IP routing
Answer is hidden
Question 7 of 69Computer Networks, Physical and Data Link Layer

A MAC address is:

A32 bits long, assigned by software
B128 bits long, used in IPv6
C48 bits long, hardware-burned into the NIC
D64 bits long, used by routers
Answer is hidden
Question 8 of 69Computer Networks, Physical and Data Link Layer

The TCP/IP model combines OSI layers into how many layers?

A3
B4
C5
D7
Answer is hidden
Question 9 of 69Computer Networks, Physical and Data Link Layer

CRC in an Ethernet frame is used for:

AEncryption of frame data
BError detection
CSource MAC address storage
DFlow control
Answer is hidden
Question 10 of 69Computer Networks, Physical and Data Link Layer

In CSMA/CD, when a collision is detected, the station:

AContinues transmission to completion
BImmediately retransmits without waiting
CStops transmitting, sends a jam signal, and retransmits after random backoff
DSends an RTS frame
Answer is hidden
Question 11 of 69Network Layer and Transport Layer

IPv6 addresses are how many bits long?

A32 bits
B64 bits
C128 bits
D256 bits
Answer is hidden
Question 12 of 69Network Layer and Transport Layer

Which IP address class has a first octet range of 128–191?

AClass A
BClass B
CClass C
DClass D
Answer is hidden
Question 13 of 69Network Layer and Transport Layer

RIP's maximum hop count before a route is considered unreachable is:

A8
B15
C16
D255
Answer is hidden
Question 14 of 69Network Layer and Transport Layer

TCP differs from UDP in that TCP:

AHas lower overhead and is faster
BIs used for real-time video streaming
CProvides reliable, ordered, connection-oriented delivery
DDoes not use port numbers
Answer is hidden
Question 15 of 69Network Layer and Transport Layer

The TCP 3-way handshake sequence is:

ASYN β†’ ACK β†’ SYN
BSYN β†’ SYN-ACK β†’ ACK
CACK β†’ SYN β†’ FIN
DSYN β†’ FIN β†’ ACK
Answer is hidden
Question 16 of 69Network Layer and Transport Layer

OSPF uses which algorithm to compute shortest paths?

ABellman-Ford
BFloyd-Warshall
CDijkstra's algorithm
DKruskal's algorithm
Answer is hidden
Question 17 of 69Network Layer and Transport Layer

The loopback address 127.0.0.1 is used to:

AIdentify the default gateway
BTest the local host's network stack without sending traffic to the network
CBroadcast to all hosts on the subnet
DReserve addresses for ISPs
Answer is hidden
Question 18 of 69Network Layer and Transport Layer

A socket is identified by:

AMAC address only
BIP address only
CIP address combined with a port number
DDomain name and service
Answer is hidden
Question 19 of 69Network Layer and Transport Layer

ICMP is primarily used for:

AReliable data transfer
BNetwork error reporting and diagnostics (ping, traceroute)
CDynamic IP address assignment
DDomain name resolution
Answer is hidden
Question 20 of 69Network Layer and Transport Layer

UDP is preferred over TCP for real-time applications because:

AUDP guarantees packet delivery
BUDP maintains connection state
CUDP has lower overhead and does not add retransmission delays
DUDP handles congestion better
Answer is hidden
Question 21 of 69Application Layer and Network Security

Which port does HTTPS use by default?

A80
B22
C443
D8080
Answer is hidden
Question 22 of 69Application Layer and Network Security

DNS primarily uses which transport protocol and port?

ATCP port 80
BUDP port 53
CTCP port 443
DUDP port 67
Answer is hidden
Question 23 of 69Application Layer and Network Security

AES is an example of which type of encryption?

AAsymmetric encryption
BHash function
CSymmetric encryption
DDigital signature
Answer is hidden
Question 24 of 69Application Layer and Network Security

A digital signature is created by:

AEncrypting the message with the recipient's public key
BHashing the message and encrypting the hash with the sender's private key
CEncrypting the message with a symmetric key
DSending the message through a CA
Answer is hidden
Question 25 of 69Application Layer and Network Security

DHCP automatically assigns to clients:

AMAC addresses
BIP address, subnet mask, default gateway, and DNS server
CSSH keys
DDigital certificates
Answer is hidden
Question 26 of 69Application Layer and Network Security

RSA is an example of:

ASymmetric encryption
BHashing algorithm
CAsymmetric (public-key) encryption
DBlock cipher mode
Answer is hidden
Question 27 of 69Application Layer and Network Security

A VPN provides security primarily through:

ABlocking all incoming connections
BEncrypting traffic through a secure tunnel over a public network
CAssigning private IP addresses
DCertificate validation only
Answer is hidden
Question 28 of 69Application Layer and Network Security

A stateful firewall differs from a packet filter in that:

AIt only examines packet headers
BIt tracks the state of active connections and allows return traffic automatically
CIt operates at the application layer
DIt does not use rules
Answer is hidden
Question 29 of 69Application Layer and Network Security

SSH uses which port?

A23
B21
C25
D22
Answer is hidden
Question 30 of 69Application Layer and Network Security

A DDoS attack aims to:

ASteal user credentials
BIntercept and modify network traffic
COverwhelm a service with traffic making it unavailable
DInject malicious SQL queries
Answer is hidden
Question 31 of 69Synchronization, Network Management and Socket Programming

ATM (Asynchronous Transfer Mode) uses fixed-size cells of:

A64 bytes
B53 bytes
C128 bytes
DVariable size
Answer is hidden
Question 32 of 69Synchronization, Network Management and Socket Programming

Asynchronous transmission uses which mechanism to frame characters?

AA shared clock signal
BStart and stop bits
CBlock headers and trailers
DPreamble bytes
Answer is hidden
Question 33 of 69Synchronization, Network Management and Socket Programming

The correct order of TCP server socket calls is:

Abind() β†’ socket() β†’ listen() β†’ accept()
Bsocket() β†’ connect() β†’ bind() β†’ listen()
Csocket() β†’ bind() β†’ listen() β†’ accept()
Dsocket() β†’ listen() β†’ bind() β†’ accept()
Answer is hidden
Question 34 of 69Synchronization, Network Management and Socket Programming

The select() system call is used for:

ASelecting the fastest network interface
BMonitoring multiple socket file descriptors for I/O readiness
CSelecting the best routing path
DChoosing encryption algorithms
Answer is hidden
Question 35 of 69Synchronization, Network Management and Socket Programming

SNMP uses which port numbers?

A80 and 443
B22 and 23
C161 and 162
D53 and 67
Answer is hidden
Question 36 of 69Synchronization, Network Management and Socket Programming

NAT (Network Address Translation) primarily solves:

ASlow network speeds
BIPv4 address exhaustion by sharing a public IP among many private devices
CSecurity vulnerabilities in TCP
DDNS resolution failures
Answer is hidden
Question 37 of 69Synchronization, Network Management and Socket Programming

A network daemon is best described as:

AA malicious background process
BA background process that listens on a port for incoming connections
CA network monitoring tool
DA type of firewall
Answer is hidden
Question 38 of 69Synchronization, Network Management and Socket Programming

Synchronous transmission is preferred over asynchronous when:

AIndividual characters need to be sent intermittently
BNo shared clock is available
CLarge continuous data blocks are transmitted at high speed
DLow-speed serial connections are used
Answer is hidden
Question 39 of 69Synchronization, Network Management and Socket Programming

X.25 evolved into which network technologies over time?

AEthernet, Wi-Fi, Bluetooth
BFrame Relay, ATM, MPLS
CIPv4, IPv6, IPsec
DTCP, UDP, ICMP
Answer is hidden
Question 40 of 69Synchronization, Network Management and Socket Programming

PAT (Port Address Translation) allows:

AOne private IP to map to one public IP
BMany private IPs to share a single public IP using different port numbers
CPublic IPs to be converted to private IPs
DPort numbers to be assigned dynamically
Answer is hidden
Question 41 of 69Control Unit and Central Processing Unit

The Control Unit (CU) of the CPU is responsible for:

APerforming arithmetic operations
BStoring data permanently
CFetching, decoding, and controlling instruction execution
DManaging virtual memory
Answer is hidden
Question 42 of 69Control Unit and Central Processing Unit

The Program Counter (PC) register holds:

AThe result of the last ALU operation
BThe current instruction being executed
CThe address of the next instruction to be fetched
DThe memory address currently being accessed
Answer is hidden
Question 43 of 69Control Unit and Central Processing Unit

RISC architecture uses which type of control unit?

AMicroprogrammed
BHardwired
CCached
DPipelined
Answer is hidden
Question 44 of 69Control Unit and Central Processing Unit

Which architecture is used in x86 (Intel/AMD) processors?

ARISC
BVLIW
CCISC
DHarvard
Answer is hidden
Question 45 of 69Control Unit and Central Processing Unit

A data hazard in pipelining occurs when:

ATwo instructions need the same hardware resource simultaneously
BA branch instruction changes the instruction flow
CAn instruction depends on a result not yet produced by a previous instruction
DThe pipeline has too many stages
Answer is hidden
Question 46 of 69Control Unit and Central Processing Unit

Flynn's taxonomy category MIMD represents:

AA single core executing one instruction on one data item
BMultiple processors each executing different instructions on different data
CGPU vector processing
DPipelined execution
Answer is hidden
Question 47 of 69Control Unit and Central Processing Unit

The address bus is:

ABidirectional, carrying data between CPU and memory
BUnidirectional, carrying memory addresses from CPU to memory
CUsed for interrupt signals
DBidirectional, carrying control signals
Answer is hidden
Question 48 of 69Control Unit and Central Processing Unit

Pipelining improves CPU performance by:

AExecuting instructions faster individually
BOverlapping execution stages of multiple instructions
CReducing the number of instructions needed
DIncreasing clock speed
Answer is hidden
Question 49 of 69Control Unit and Central Processing Unit

SIMD in Flynn's taxonomy is exemplified by:

AA single-core CPU
BA multiprocessor cluster
CGPU vector processing and multimedia instructions
DFault-tolerant redundant systems
Answer is hidden
Question 50 of 69Control Unit and Central Processing Unit

The MDR (Memory Data Register) holds:

AThe address of the next instruction
BThe current instruction being executed
CData just read from or about to be written to memory
DThe stack pointer value
Answer is hidden
Question 51 of 69Memory System and Input/Output Organization

From fastest to slowest, the correct memory hierarchy order is:

ARAM β†’ Cache β†’ Registers β†’ Hard Disk
BHard Disk β†’ RAM β†’ Cache β†’ Registers
CRegisters β†’ Cache β†’ RAM β†’ Hard Disk
DCache β†’ Registers β†’ RAM β†’ Hard Disk
Answer is hidden
Question 52 of 69Memory System and Input/Output Organization

In direct-mapped cache, each main memory block:

ACan be placed in any cache line
BMaps to exactly one specific cache line
CMaps to a set of cache lines
DIs stored in multiple cache lines
Answer is hidden
Question 53 of 69Memory System and Input/Output Organization

LRU cache replacement policy evicts:

AThe most recently accessed block
BThe first block loaded into cache
CThe block that was least recently accessed
DA randomly chosen block
Answer is hidden
Question 54 of 69Memory System and Input/Output Organization

DMA (Direct Memory Access) improves I/O performance because:

AIt increases CPU clock speed
BIt transfers data between devices and RAM without CPU involvement
CIt caches I/O data in the CPU
DIt uses a faster bus protocol
Answer is hidden
Question 55 of 69Memory System and Input/Output Organization

Interrupt-driven I/O is more efficient than programmed I/O (polling) because:

AInterrupts are faster than polling
BThe CPU doesn't waste cycles repeatedly checking device status
CInterrupts require less hardware
DPolling causes data corruption
Answer is hidden
Question 56 of 69Memory System and Input/Output Organization

Memory-mapped I/O means:

AI/O devices use separate IN/OUT instructions
BI/O device registers are accessed using the same load/store instructions as regular memory
CI/O data is cached in RAM
DVirtual memory is used for I/O
Answer is hidden
Question 57 of 69Memory System and Input/Output Organization

A page fault occurs when:

AA cache miss happens
BThe TLB cannot translate an address
CA requested page is not currently in physical RAM
DThe page table is corrupted
Answer is hidden
Question 58 of 69Memory System and Input/Output Organization

The TLB (Translation Lookaside Buffer) is used to:

AStore frequently used data
BCache recent virtual-to-physical address translations
CStore the page table
DBuffer DMA transfers
Answer is hidden
Question 59 of 69Memory System and Input/Output Organization

Set-associative cache mapping is a compromise between:

AFIFO and LRU replacement
BDirect mapping (simple, conflict-prone) and fully associative (flexible, expensive)
CL1 and L2 cache
DWrite-back and write-through policies
Answer is hidden
Question 60 of 69Memory System and Input/Output Organization

Spatial locality in cache design means:

ARecently accessed data will likely be accessed again soon
BData near recently accessed locations is likely to be accessed soon
CThe most frequently used data should be cached
DCache is physically close to the CPU
Answer is hidden
Question 61 of 69Theory of Computation

What condition indicates a circular queue is FULL (size = N, front and rear start at 0)?

ARear = Front
BRear = N βˆ’ 1
CRear = (Front + 1) MOD N
DFront = 0
Answer is hidden
Question 62 of 69Theory of Computation

Class P problems are solvable in polynomial time by which machine?

ANon-deterministic Turing Machine
BProbabilistic Turing Machine
CDeterministic Turing Machine
DOracle Turing Machine
Answer is hidden
Question 63 of 69Theory of Computation

The thesis that states any algorithm computable by a person can be computed by a Turing Machine is:

AGΓΆdel's Incompleteness Theorem
BChurch-Turing Thesis
CRice's Theorem
DHalting Problem
Answer is hidden
Question 64 of 69Theory of Computation

A Finite Automaton (FA) recognises languages described by which grammar type?

ARegular Grammar (Type 3)
BContext-Free Grammar (Type 2)
CContext-Sensitive Grammar (Type 1)
DUnrestricted Grammar (Type 0)
Answer is hidden
Question 65 of 69Theory of Computation

The key characteristic of a Universal Turing Machine (UTM) is:

AIt runs on quantum hardware
BIt solves the halting problem
CIt can simulate any other Turing Machine
DIt operates in parallel
Answer is hidden
Question 66 of 69Theory of Computation

A language is Turing-recognisable (recursively enumerable) if:

AA TM enumerator lists all strings in the language
BA finite automaton accepts it
CA PDA accepts it
DIt is decidable by a TM
Answer is hidden
Question 67 of 69Theory of Computation

A Pushdown Automaton (PDA) that has at most one possible move for any input symbol and stack symbol is called:

ANon-deterministic PDA
BDeterministic PDA (DPDA)
CTwo-stack PDA
DTuring Machine
Answer is hidden
Question 68 of 69Theory of Computation

The cardinality of the power set of a set with 4 elements, |P(1,2,3,4)|, is:

A4
B8
C16
D24
Answer is hidden
Question 69 of 69Theory of Computation

What grammar notation uses meta-symbols to formally define the syntax of programming languages?

ABNF (Backus-Naur Form)
BRegular Expression
CFinite Automaton
DTruth Table
Answer is hidden
← PREVIOUS CHAPTERCh 4: Information System and Artificial IntelligenceNEXT CHAPTER β†’Ch 6: Computer Graphics and Multimedia System