Introduction to Computing MCQs with Answers
Practice important Introduction to Computing MCQs with answers and explanations.
Chapter: 76
Q1081:
What does the await keyword do in JavaScript?
A. It pauses the script execution until a promise resolves
B. It waits for user input
C. It executes a script immediately
D. It ensures synchronous execution
Correct Answer:
A
Chapter: 76
Q1082:
Which of the following is a client-side storage option?
A. LocalStorage
B. SQL database
C. Server files
D. Database tables
Correct Answer:
A
Chapter: 76
Q1083:
What is the role of a web API in a client-server architecture?
A. To style web pages
B. To provide a way for client and server to communicate
C. To handle client-side events
D. To manage server configurations
Correct Answer:
B
Chapter: 77
Q1084:
What is the purpose of a layered approach in network architecture?
A. To simplify network design
B. To increase network latency
C. To add redundancy in protocols
D. To reduce network security
Correct Answer:
A
Chapter: 77
Q1085:
Which layer of the OSI model is responsible for data encryption?
A. Network Layer
B. Presentation Layer
C. Application Layer
D. Transport Layer
Correct Answer:
B
Chapter: 77
Q1086:
What does the Transport Layer provide in the OSI model?
A. Logical addressing
B. Error detection and correction
C. End-to-end communication
D. Data routing
Correct Answer:
C
Chapter: 77
Q1087:
Which protocol is used at the Application Layer of the OSI model?
A. TCP
B. IP
C. HTTP
D. Ethernet
Correct Answer:
C
Chapter: 77
Q1088:
In the OSI model, which layer is responsible for routing packets?
A. Network Layer
B. Transport Layer
C. Data Link Layer
D. Physical Layer
Correct Answer:
A
Chapter: 77
Q1089:
What is the primary function of the Data Link Layer in the OSI model?
A. Data segmentation
B. Error detection and correction
C. Routing packets
D. Application interface
Correct Answer:
B
Chapter: 77
Q1090:
Which layer of the OSI model deals with end-to-end communication and reliability?
A. Network Layer
B. Transport Layer
C. Data Link Layer
D. Presentation Layer
Correct Answer:
B
Chapter: 77
Q1091:
What is the role of the Physical Layer in the OSI model?
A. Data compression
B. Data representation
C. Data routing
D. Physical transmission
Correct Answer:
D
Chapter: 77
Q1092:
Which protocol operates at the Network Layer of the OSI model?
A. IP
B. TCP
C. HTTP
D. FTP
Correct Answer:
A
Chapter: 77
Q1093:
What does the Presentation Layer of the OSI model handle?
A. Network routing
B. Data encryption and translation
C. End-to-end communication
D. Error detection
Correct Answer:
B
Chapter: 77
Q1094:
What is the main function of the Application Layer in the OSI model?
A. Data encapsulation
B. Network routing
C. User interface and application services
D. Error correction
Correct Answer:
C
Chapter: 77
Q1095:
In the OSI model, which layer is responsible for converting data into signals?
A. Data Link Layer
B. Physical Layer
C. Network Layer
D. Transport Layer
Correct Answer:
B
Chapter: 77
Q1096:
What does TCP ensure at the Transport Layer?
A. Data encryption
B. Reliable data transfer
C. Data routing
D. Network address assignment
Correct Answer:
B
Chapter: 77
Q1097:
Which OSI model layer is closest to the end user?
A. Network Layer
B. Application Layer
C. Transport Layer
D. Data Link Layer
Correct Answer:
B
Chapter: 77
Q1098:
How does the OSI model help in network design?
A. By defining physical hardware standards
B. By breaking down networking functions into layers
C. By specifying communication protocols
D. By dictating data encryption methods
Correct Answer:
B
Chapter: 77
Q1099:
What is the main purpose of the Network Layer in the OSI model?
A. To handle data formatting
B. To route packets across networks
C. To provide end-to-end communication
D. To manage network topology
Correct Answer:
B
Chapter: 77
Q1100:
Which layer in the OSI model is responsible for establishing, managing, and terminating connections?
A. Data Link Layer
B. Transport Layer
C. Session Layer
D. Presentation Layer
Correct Answer:
C