Computer Knowledge Questions and Answers for Banks, SSC CGL, Railway and Other Competitive Exams.
Q16. Which SQL command is used to add new data into a table?
Correct Answer:
INSERT
Explanation:
The INSERT command is used to add new rows to a table.
Q17. In a relational database, what uniquely identifies a row in a table?
Correct Answer:
Primary Key
Explanation:
A primary key uniquely identifies a record in a table.
Q18. Which of the following is an example of a NoSQL database?
Correct Answer:
MongoDB
Explanation:
MongoDB is a NoSQL database used for managing unstructured or semi-structured data.
Q19. What does DBMS stand for?
Correct Answer:
Data Base Management System
Explanation:
DBMS is software used to create, manage, and operate databases.
Q20. Which command in SQL is used to remove rows from a table?
Correct Answer:
DELETE
Explanation:
The DELETE command removes specific rows from a table.
Q21. Which language is used to style web pages?
Correct Answer:
CSS
Explanation:
CSS (Cascading Style Sheets) is used to style web pages by defining layouts, colors, and fonts.
Q22. Which of the following is an Object-Oriented Programming concept?
Correct Answer:
Encapsulation
Explanation:
Encapsulation is a key principle of Object-Oriented Programming, where data and methods are bundled together.
Q23. What does HTML stand for?
Correct Answer:
Hyper Text Markup Language
Explanation:
HTML is used to create the structure of web pages.
Q24. Which of the following is an example of a high-level programming language?
Correct Answer:
Python
Explanation:
High-level programming languages like Python are easier to read and write compared to machine or assembly languages.
Q25. What is phishing?
Correct Answer:
Fraudulent attempts to obtain sensitive information
Explanation:
Phishing involves tricking users into providing personal information via fake emails or websites.
Q26. What does a firewall do?
Correct Answer:
Filters incoming and outgoing network traffic
Explanation:
A firewall ensures that unauthorized access to a network is blocked.
Q27. Which of the following is an example of malware?
Correct Answer:
Ransomware
Explanation:
Malware like ransomware is malicious software that can harm or restrict access to data.
Q28. What does HTTP stand for?
Correct Answer:
Hyper Text Transfer Protocol
Explanation:
HTTP is used for transferring web pages over the internet.
Q29. Which device connects a local network to the internet?
Correct Answer:
Router
Explanation:
A router forwards data packets between networks and provides internet access.
Q30. What does "ping" check in networking?
Correct Answer:
Internet connectivity
Explanation:
Ping checks the connection between a computer and a server.