PGDCA Online Test — 30 Questions with Answers
Practise 30 real PGDCA exam-style MCQs covering C programming, data structures, SQL, operating systems and networking. You get an instant score and a full answer review at the end — free, and no signup.
Score 50% or more? Get a certificate at 40% off
Finish any PGDCA test on this site with a score of 50% or above and you can claim a course certificate from Alien Institute of Computer at a 40% discount. Your score appears on the result screen with a WhatsApp button that carries it across for you.
Ask about the certificateAbout this PGDCA test
PGDCA goes further than ADCA into programming, data structures, databases, networking and software engineering. This 30-question test pulls from all of those areas, in the multiple-choice format used in the actual paper.
Each attempt reshuffles the questions, so you can retake it as many times as you like. Nothing is stored and nothing is sent anywhere — the whole test runs in your browser.
How to use it
- Press Start test — the timer allows about 45 seconds per question.
- Pick an answer, then move on. You can go back and change answers before finishing.
- At the end you get your score plus every question with the correct answer.
- Score 50% or more and a WhatsApp button appears to claim your 40% certificate discount.
All 30 questions with answers
The full question set below, with the correct answer marked — useful for revision without taking the timed test.
1. Who developed the C programming language?
- A. James Gosling
- B. Dennis Ritchie
- C. Bjarne Stroustrup
- D. Guido van Rossum
Answer: Dennis Ritchie
2. At which laboratory was C originally developed?
- A. IBM Research
- B. Bell Laboratories
- C. Xerox PARC
- D. MIT Media Lab
Answer: Bell Laboratories
3. Which of these is the correct extension for a C source file?
- A. .cpp
- B. .c
- C. .cs
- D. .class
Answer: .c
4. What does HTML stand for?
- A. Hyper Text Markup Language
- B. High Level Text Machine Language
- C. Hyperlink Text Management Language
- D. Home Tool Markup Language
Answer: Hyper Text Markup Language
5. Which tag is the root element of an HTML document?
- A. <head>
- B. <html>
- C. <body>
- D. <doc>
Answer: <html>
6. Which tag contains the visible page content?
- A. <head>
- B. <body>
- C. <main>
- D. <content>
Answer: <body>
7. What does SQL stand for?
- A. Structured Query Language
- B. Simple Question Language
- C. Sequential Query Logic
- D. System Query Layer
Answer: Structured Query Language
8. What does RDBMS stand for?
- A. Rapid Database Management System
- B. Relational Database Management System
- C. Remote Data Backup Management System
- D. Recorded Data Batch Management System
Answer: Relational Database Management System
9. In a relational database, what is a table also called?
- A. Tuple
- B. Relation
- C. Attribute
- D. Domain
Answer: Relation
10. What is a data structure?
- A. A way of organising and storing data for efficient access
- B. A type of computer hardware
- C. A programming language
- D. An operating system feature
Answer: A way of organising and storing data for efficient access
11. Which data structure follows the Last In First Out (LIFO) principle?
- A. Queue
- B. Stack
- C. Linked list
- D. Tree
Answer: Stack
12. Which data structure follows the First In First Out (FIFO) principle?
- A. Stack
- B. Queue
- C. Tree
- D. Graph
Answer: Queue
13. What is a computer network?
- A. A single powerful computer
- B. Two or more computers connected to share data and resources
- C. A type of software
- D. An operating system
Answer: Two or more computers connected to share data and resources
14. What does LAN stand for?
- A. Long Area Network
- B. Local Area Network
- C. Linked Access Node
- D. Logical Address Number
Answer: Local Area Network
15. Which network type covers the largest geographical area?
- A. LAN
- B. MAN
- C. WAN
- D. PAN
Answer: WAN
16. C++ was originally known by which name?
- A. C with Classes
- B. Advanced C
- C. Object C
- D. New C
Answer: C with Classes
17. Which of these is NOT a feature of object-oriented programming?
- A. Encapsulation
- B. Inheritance
- C. Polymorphism
- D. Compilation
Answer: Compilation
18. What is a class in C++?
- A. A blueprint for creating objects
- B. A type of loop
- C. A memory address
- D. A built-in function
Answer: A blueprint for creating objects
19. Who created the Python programming language?
- A. Dennis Ritchie
- B. Guido van Rossum
- C. Bjarne Stroustrup
- D. James Gosling
Answer: Guido van Rossum
20. What is the correct file extension for a Python file?
- A. .pt
- B. .py
- C. .pyt
- D. .python
Answer: .py
21. Is Python a compiled or interpreted language?
- A. Compiled
- B. Interpreted
- C. Assembled
- D. Linked
Answer: Interpreted
22. What is an operating system?
- A. An application for browsing the web
- B. System software that manages hardware and provides services to programs
- C. A hardware component
- D. A programming language
Answer: System software that manages hardware and provides services to programs
23. Which of these is NOT an operating system?
- A. Windows
- B. Linux
- C. Oracle
- D. macOS
Answer: Oracle
24. What is the core part of an operating system called?
- A. Shell
- B. Kernel
- C. Driver
- D. BIOS
Answer: Kernel
25. Which number system uses only the digits 0 and 1?
- A. Decimal
- B. Binary
- C. Octal
- D. Hexadecimal
Answer: Binary
26. What is the base of the octal number system?
- A. 2
- B. 8
- C. 10
- D. 16
Answer: 8
27. What is the base of the hexadecimal number system?
- A. 8
- B. 10
- C. 16
- D. 32
Answer: 16
28. What is cyber security?
- A. Protecting systems, networks and data from digital attacks
- B. Building faster computers
- C. Designing websites
- D. Managing databases
Answer: Protecting systems, networks and data from digital attacks
29. What does the CIA triad stand for in information security?
- A. Control, Integrity, Access
- B. Confidentiality, Integrity, Availability
- C. Cipher, Identity, Authorisation
- D. Computer, Internet, Application
Answer: Confidentiality, Integrity, Availability
30. Which CIA principle ensures data is not altered by unauthorised parties?
- A. Confidentiality
- B. Integrity
- C. Availability
- D. Authentication
Answer: Integrity
Frequently asked questions
Is this PGDCA online test free?
Yes. Every test on this site is free, needs no signup, and can be retaken as often as you like.
How many questions does this PGDCA test have?
This test has 30 questions drawn from across the PGDCA syllabus. There are also 100 and 50 question versions.
Do I get the correct answers?
Yes. After finishing you get a full review showing every question, the correct answer, and what you chose. All 30 questions are also listed with answers below the test.
Can I get a certificate for this test?
Students who score 50% or more can claim a certificate from Alien Institute of Computer at 40% off. A WhatsApp button appears on your result screen once you qualify.
Are these the actual exam questions?
No — these are practice questions written to match the PGDCA syllabus and question style. They are for revision, not a leaked paper.