KEMBAR78
PG TRB CS Objective Question Bank | PDF
100% found this document useful (1 vote)
252 views3 pages

PG TRB CS Objective Question Bank

The document is a question bank for PG TRB Computer Science, covering various topics including C Programming, Data Structures, Operating Systems, Database Management Systems, Computer Networks, Java Programming, Software Engineering, Compiler Design, Digital Electronics, Computer Architecture, Theory of Computation, and Web Technologies. Each section contains multiple-choice questions with answers provided. The content is designed to help students prepare for examinations in computer science.

Uploaded by

Arunprakash
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
252 views3 pages

PG TRB CS Objective Question Bank

The document is a question bank for PG TRB Computer Science, covering various topics including C Programming, Data Structures, Operating Systems, Database Management Systems, Computer Networks, Java Programming, Software Engineering, Compiler Design, Digital Electronics, Computer Architecture, Theory of Computation, and Web Technologies. Each section contains multiple-choice questions with answers provided. The content is designed to help students prepare for examinations in computer science.

Uploaded by

Arunprakash
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

PG TRB – Computer Science Objective Question

Bank

C Programming
1. What is the output of printf("%d", (5 + 3) * 2);?
■ Answer: A) 16
2. Which of the following is not a storage class in C?
■ Answer: D) public

Data Structures
1. Which data structure uses LIFO order?
■ Answer: B) Stack
2. Which traversal method is used in Depth First Search?
■ Answer: C) Pre-order

Operating Systems
1. Which scheduling algorithm may cause starvation?
■ Answer: D) Priority
2. In paging, the page table maps:
■ Answer: A) Virtual to physical address

Database Management Systems


1. SQL is a:
■ Answer: C) Non-procedural Language
2. Which of the following is a DDL command?
■ Answer: D) CREATE

Computer Networks
1. Which layer is responsible for routing?
■ Answer: C) Network
2. IP Address 192.168.1.1 belongs to which class?
■ Answer: C) C

Java Programming
1. Which of the following is not a Java keyword?
■ Answer: C) unsigned
2. Java uses:
■ Answer: C) Compiler and Interpreter

Software Engineering
1. Which model is known as the classic life cycle model?
■ Answer: B) Waterfall Model
2. Which one is not a software process model?
■ Answer: D) Verification

Compiler Design
1. What is the output of lexical analyzer?
■ Answer: A) Tokens
2. Which phase generates intermediate code?
■ Answer: C) Intermediate Code Generation

Digital Electronics
1. What is the binary equivalent of decimal 13?
■ Answer: B) 1101
2. NAND gate is a combination of:
■ Answer: C) AND + NOT

Computer Architecture
1. Which register holds the address of next instruction?
■ Answer: A) Program Counter
2. Cache memory is:
■ Answer: B) Faster than main memory

Theory of Computation
1. A DFA is:
■ Answer: A) Deterministic Finite Automaton
2. Regular languages are closed under:
■ Answer: C) Union

Web Technologies
1. HTML stands for:
■ Answer: A) HyperText Markup Language
2. Which tag is used to create a hyperlink in HTML?
■ Answer: B) [a]

You might also like