0% found this document useful (0 votes)
18 views6 pages

Computer Science & General Knowledge Q&A

Uploaded by

kaic15491
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
0% found this document useful (0 votes)
18 views6 pages

Computer Science & General Knowledge Q&A

Uploaded by

kaic15491
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

🖥 Computer General Knowledge

Question Answer

Who is known as the Father of Computers? Charles Babbage

What does CPU stand for? Central Processing Unit

What is the full form of RAM? Random Access Memory

What is the brain of a computer? CPU

Which is the first programmable computer? ENIAC

What does URL stand for? Uniform Resource Locator

Which device is used for internet Modem


connectivity?

What is the binary system based on? 0 and 1

What does HTTP stand for? HyperText Transfer Protocol

What is the full form of AI? Artificial Intelligence

🇮🇳 India General Knowledge


Question Answer

Who is known as the Father of the Nation in Mahatma Gandhi


India?

National Bird of India? Peacock

National Animal of India? Bengal Tiger

National Song of India? Vande Mataram

National Anthem of India? Jana Gana Mana

First Prime Minister of India? Jawaharlal Nehru

First President of India? Dr. Rajendra Prasad

Currency of India? Indian Rupee (INR)


Highest civilian award in India? Bharat Ratna

Capital of India? New Delhi

🌍 World General Knowledge


Question Answer

Largest country in the world by area? Russia

Smallest country in the world? Vatican City

Largest continent? Asia

Largest ocean? Pacific Ocean

Longest river in the world? Nile River

Tallest mountain in the world? Mount Everest

Most spoken language in the world? English

Fastest animal on land? Cheetah

Country known as the Land of Rising Sun? Japan

Inventor of telephone? Alexander Graham Bell

Ah! Now I understand perfectly — you want 50–100 MCQ-style Computer Science
questions with their answers, without multiple-choice options — basically short Q&A for
quick practice. Here’s a set of 50 to start:

Programming & Coding

1.​ Who is known as the father of computer programming?​


Answer: Ada Lovelace​

2.​ What is the full form of IDE?​


Answer: Integrated Development Environment​

3.​ Which language is considered the first high-level programming language?​


Answer: Fortran​

4.​ What does OOP stand for?​


Answer: Object-Oriented Programming​
5.​ Which data structure uses FIFO (First In, First Out) principle?​
Answer: Queue​

6.​ Which data structure uses LIFO (Last In, First Out) principle?​
Answer: Stack​

7.​ What is the main function of a compiler?​


Answer: To convert source code into machine code​

8.​ Which loop is guaranteed to execute at least once?​


Answer: Do-while loop​

9.​ What is recursion in programming?​


Answer: A function calling itself​

10.​What is the purpose of a pointer in C/C++?​


Answer: To store memory addresses​

Data Structures & Algorithms

11.​What is the worst-case time complexity of binary search?​


Answer: O(log n)​

12.​Which data structure is used for implementing recursion?​


Answer: Stack​

13.​What is a hash table used for?​


Answer: Fast data retrieval using keys​

14.​Which traversal methods are used for binary trees?​


Answer: In-order, Pre-order, Post-order​

15.​What is the difference between a stack and a queue?​


Answer: Stack: LIFO, Queue: FIFO​

16.​What is a linked list?​


Answer: A linear collection of nodes where each node points to the next​

17.​What is the main advantage of a doubly linked list?​


Answer: Can be traversed forward and backward​

18.​What is a priority queue?​


Answer: A queue where each element has a priority​
19.​What is a graph in computer science?​
Answer: A collection of nodes (vertices) and edges connecting them​

20.​What is dynamic programming?​


Answer: Solving problems by breaking them into overlapping subproblems and
storing results​

Computer Networks

21.​What does HTTP stand for?​


Answer: HyperText Transfer Protocol​

22.​What is the function of DNS?​


Answer: Converts domain names into IP addresses​

23.​What does IP stand for?​


Answer: Internet Protocol​

24.​What is the difference between TCP and UDP?​


Answer: TCP is connection-oriented; UDP is connectionless​

25.​Which layer of the OSI model is responsible for routing?​


Answer: Network layer​

26.​What is a firewall used for?​


Answer: To block unauthorized access to networks​

27.​What is the main purpose of a router?​


Answer: To forward data packets between networks​

28.​What does LAN stand for?​


Answer: Local Area Network​

29.​What does WAN stand for?​


Answer: Wide Area Network​

30.​What is a MAC address?​


Answer: A unique identifier assigned to a network interface​

Operating Systems
31.​What is the main function of an operating system?​
Answer: Manage hardware and software resources​

32.​What is virtual memory?​


Answer: Using disk space as an extension of RAM​

33.​What is a deadlock?​
Answer: When two or more processes wait indefinitely for each other to release
resources​

34.​What is multitasking?​
Answer: Running multiple processes simultaneously​

35.​What is a thread?​
Answer: A lightweight process within a program​

36.​What is paging in memory management?​


Answer: Dividing memory into fixed-size blocks called pages​

37.​What is a process scheduler?​


Answer: It decides the order of process execution​

38.​What is the difference between a process and a thread?​


Answer: Process has separate memory; threads share memory within a process​

39.​What is an interrupt?​
Answer: A signal to the CPU to stop and execute a routine​

40.​What is context switching?​


Answer: Saving and loading process state to switch CPU from one process to
another​

Databases

41.​What does SQL stand for?​


Answer: Structured Query Language​

42.​What is the difference between DELETE and TRUNCATE?​


Answer: DELETE removes selected rows; TRUNCATE removes all rows​

43.​What is normalization?​
Answer: Organizing data to reduce redundancy​
44.​What is a primary key?​
Answer: A unique identifier for a table record​

45.​What is a foreign key?​


Answer: A field in a table that refers to the primary key of another table​

46.​What is ACID property in databases?​


Answer: Atomicity, Consistency, Isolation, Durability​

47.​What is an index in a database?​


Answer: A data structure to speed up data retrieval​

48.​What is a stored procedure?​


Answer: A precompiled set of SQL statements​

49.​What is a trigger?​
Answer: A database action executed automatically when a specific event occurs​

50.​What is the difference between SQL and NoSQL databases?​


Answer: SQL: relational; NoSQL: non-relational, schema-less​

You might also like