Practice test

PGDCA Online Test — 50 Questions with Answers

Practise 50 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.

Advertisement
40% off

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 certificate

About this PGDCA test

PGDCA goes further than ADCA into programming, data structures, databases, networking and software engineering. This 50-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

  1. Press Start test — the timer allows about 45 seconds per question.
  2. Pick an answer, then move on. You can go back and change answers before finishing.
  3. At the end you get your score plus every question with the correct answer.
  4. Score 50% or more and a WhatsApp button appears to claim your 40% certificate discount.
Advertisement

All 50 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. Execution of a C program always begins with which function?

  • A. start()
  • B. begin()
  • C. main()
  • D. init()

Answer: main()

5. 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

6. Which tag is the root element of an HTML document?

  • A. <head>
  • B. <html>
  • C. <body>
  • D. <doc>

Answer: <html>

7. Which tag contains the visible page content?

  • A. <head>
  • B. <body>
  • C. <main>
  • D. <content>

Answer: <body>

8. Which tag defines the largest heading in HTML?

  • A. <h6>
  • B. <h1>
  • C. <head>
  • D. <big>

Answer: <h1>

9. 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

10. 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

11. In a relational database, what is a table also called?

  • A. Tuple
  • B. Relation
  • C. Attribute
  • D. Domain

Answer: Relation

12. What is a row in a database table also called?

  • A. Attribute
  • B. Tuple
  • C. Domain
  • D. Schema

Answer: Tuple

13. 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

14. Which data structure follows the Last In First Out (LIFO) principle?

  • A. Queue
  • B. Stack
  • C. Linked list
  • D. Tree

Answer: Stack

15. Which data structure follows the First In First Out (FIFO) principle?

  • A. Stack
  • B. Queue
  • C. Tree
  • D. Graph

Answer: Queue

16. Which operation adds an element to a stack?

  • A. Enqueue
  • B. Push
  • C. Insert
  • D. Append

Answer: Push

17. 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

18. 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

19. Which network type covers the largest geographical area?

  • A. LAN
  • B. MAN
  • C. WAN
  • D. PAN

Answer: WAN

20. What does MAN stand for in networking?

  • A. Main Access Network
  • B. Metropolitan Area Network
  • C. Managed Area Node
  • D. Multiple Access Network

Answer: Metropolitan Area Network

21. C++ was originally known by which name?

  • A. C with Classes
  • B. Advanced C
  • C. Object C
  • D. New C

Answer: C with Classes

22. Which of these is NOT a feature of object-oriented programming?

  • A. Encapsulation
  • B. Inheritance
  • C. Polymorphism
  • D. Compilation

Answer: Compilation

23. 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

24. What is an object in object-oriented programming?

  • A. A copy of a function
  • B. An instance of a class
  • C. A data type
  • D. A header file

Answer: An instance of a class

25. Who created the Python programming language?

  • A. Dennis Ritchie
  • B. Guido van Rossum
  • C. Bjarne Stroustrup
  • D. James Gosling

Answer: Guido van Rossum

Advertisement

26. What is the correct file extension for a Python file?

  • A. .pt
  • B. .py
  • C. .pyt
  • D. .python

Answer: .py

27. Is Python a compiled or interpreted language?

  • A. Compiled
  • B. Interpreted
  • C. Assembled
  • D. Linked

Answer: Interpreted

28. How are code blocks defined in Python?

  • A. Curly braces { }
  • B. Indentation
  • C. begin and end keywords
  • D. Parentheses

Answer: Indentation

29. 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

30. Which of these is NOT an operating system?

  • A. Windows
  • B. Linux
  • C. Oracle
  • D. macOS

Answer: Oracle

31. What is the core part of an operating system called?

  • A. Shell
  • B. Kernel
  • C. Driver
  • D. BIOS

Answer: Kernel

32. What is the shell in an operating system?

  • A. The physical case of the computer
  • B. The interface between the user and the kernel
  • C. A storage device
  • D. A memory chip

Answer: The interface between the user and the kernel

33. Which number system uses only the digits 0 and 1?

  • A. Decimal
  • B. Binary
  • C. Octal
  • D. Hexadecimal

Answer: Binary

34. What is the base of the octal number system?

  • A. 2
  • B. 8
  • C. 10
  • D. 16

Answer: 8

35. What is the base of the hexadecimal number system?

  • A. 8
  • B. 10
  • C. 16
  • D. 32

Answer: 16

36. Which digits and letters are used in hexadecimal?

  • A. 0-9 only
  • B. 0-9 and A-F
  • C. 0-7 only
  • D. A-Z only

Answer: 0-9 and A-F

37. 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

38. 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

39. Which CIA principle ensures data is not altered by unauthorised parties?

  • A. Confidentiality
  • B. Integrity
  • C. Availability
  • D. Authentication

Answer: Integrity

40. Which CIA principle ensures data is accessible when needed?

  • A. Confidentiality
  • B. Integrity
  • C. Availability
  • D. Accountability

Answer: Availability

41. What is software engineering?

  • A. Repairing computer hardware
  • B. A systematic, disciplined approach to developing and maintaining software
  • C. Writing code without a plan
  • D. Installing operating systems

Answer: A systematic, disciplined approach to developing and maintaining software

42. What does SDLC stand for?

  • A. Software Development Life Cycle
  • B. System Design Logic Chart
  • C. Standard Data Level Control
  • D. Software Deployment Load Control

Answer: Software Development Life Cycle

43. Which is normally the first phase of the SDLC?

  • A. Coding
  • B. Requirement analysis
  • C. Testing
  • D. Deployment

Answer: Requirement analysis

44. Which SDLC phase comes immediately after design?

  • A. Testing
  • B. Implementation (coding)
  • C. Analysis
  • D. Maintenance

Answer: Implementation (coding)

45. What is multimedia?

  • A. Only video content
  • B. The combined use of text, audio, images, animation and video
  • C. A type of hardware
  • D. A network protocol

Answer: The combined use of text, audio, images, animation and video

46. Which of these is NOT an element of multimedia?

  • A. Text
  • B. Audio
  • C. Animation
  • D. Compiler

Answer: Compiler

47. What does a pixel represent?

  • A. A sound sample
  • B. The smallest addressable element of a digital image
  • C. A file format
  • D. A colour profile

Answer: The smallest addressable element of a digital image

48. What does resolution describe in an image?

  • A. The file size
  • B. The number of pixels, usually width by height
  • C. The colour depth
  • D. The compression ratio

Answer: The number of pixels, usually width by height

49. What is a system?

  • A. A single program
  • B. A set of interrelated components working together toward a goal
  • C. A computer case
  • D. A network cable

Answer: A set of interrelated components working together toward a goal

50. Who is a system analyst?

  • A. A person who repairs hardware
  • B. A person who studies a business problem and designs an information system solution
  • C. A data entry operator
  • D. A network cable technician

Answer: A person who studies a business problem and designs an information system solution

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 50 questions drawn from across the PGDCA syllabus. There are also 100 and 30 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 50 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.

Advertisement
Advertisement