NTA Computer Science and Technology 2 — Questions and Answers
Question 1: Which layer of the OSI model is responsible for routing packets?
- Network Layer (Correct answer)
- Data Link Layer
- Transport Layer
- Application Layer
Correct answer: Network Layer
The Network Layer (Layer 3) is responsible for logical addressing and routing of packets between networks.
Question 2: What does CPU stand for?
- Central Processing Unit (Correct answer)
- Core Processing Unit
- Central Program Unit
- Computer Processing Unit
Correct answer: Central Processing Unit
CPU stands for Central Processing Unit, the primary component of a computer that executes instructions.
Question 3: Which of the following is an object-oriented programming language?
- Java (Correct answer)
- C
- Assembly
- COBOL
Correct answer: Java
Java is a fully object-oriented programming language built around classes and objects.
Question 4: The primary key in a relational database is used to:
- Uniquely identify each record (Correct answer)
- Sort records alphabetically
- Encrypt data
- Link two databases
Correct answer: Uniquely identify each record
A primary key uniquely identifies each row in a database table and cannot contain NULL values.
Question 5: What does RAM stand for?
- Random Access Memory (Correct answer)
- Read Access Memory
- Rapid Access Module
- Random Address Memory
Correct answer: Random Access Memory
RAM stands for Random Access Memory, the computer's short-term memory used during active processing.
Question 6: Which of the following is a NoSQL database?
- MongoDB (Correct answer)
- MySQL
- PostgreSQL
- Oracle
Correct answer: MongoDB
MongoDB is a NoSQL document-oriented database that stores data in JSON-like documents.
Which layer of the OSI model is responsible for routing packets?