PPSC Software Developer Past Paper 2026 — 87 MCQs with Answers

PPSC Software Developer 87 questions

Software Developer Job — last date 7 Dec 2026

Practice the PPSC Software Developer Past Paper 2026 — 87 past paper MCQs with answers and full explanations from the real PPSC paper. Prepare with PPSC MCQs, then take a timed practice exam to check you are ready.

Questions show 20 per page. Choose a mode below — Read Answers to see the answer and explanation as you go, or Take the Test to test yourself against the clock with answers hidden.

Read Answers: tap an option to see the answer and explanation. Take the Test: answers stay hidden, a timer runs, and you get a score — tap "Show answers" when you're done.

Subjects in this paper

Computer ScienceSoftware PPSCID: LTP-7640

In software development, which phase of the SDLC is mainly concerned with gathering what the users need the system to do?

  1. ARequirement analysis ✓ Correct answer
  2. BSystem testing
  3. CCode maintenance
  4. DDeployment
Computer ScienceSoftware PPSCID: LTP-7641

In the waterfall model of software development, how do the phases proceed?

  1. AAll phases run at the same time
  2. BEach phase must be completed before the next begins ✓ Correct answer
  3. CPhases are repeated until the user is satisfied
  4. DTesting comes before requirement analysis
Computer ScienceSoftware PPSCID: LTP-7642

According to the Agile Manifesto, which of the following is valued more than comprehensive documentation?

  1. ADetailed contracts
  2. BStrict plans
  3. CWorking software ✓ Correct answer
  4. DHeavy paperwork
Computer ScienceSoftware PPSCID: LTP-7643

In black-box testing, what does the tester know about the internal code of the program?

  1. AEvery line of the source code
  2. BOnly the database design
  3. COnly the user manual
  4. DNothing about the internal code ✓ Correct answer
Computer ScienceSoftware PPSCID: LTP-7644

White-box testing is mainly based on examining which of the following?

  1. AThe internal structure and code ✓ Correct answer
  2. BOnly the user interface
  3. COnly the user manual
  4. DThe marketing plan
Computer ScienceSoftware PPSCID: LTP-7645

Unit testing is used to test which of the following?

  1. AThe whole system at once
  2. BAn individual module or function ✓ Correct answer
  3. CThe network connection
  4. DThe hardware only
Computer ScienceSoftware PPSCID: LTP-7646

What is the main purpose of a Software Requirements Specification (SRS) document?

  1. ATo list the salaries of developers
  2. BTo advertise the software
  3. CTo describe what the software must do ✓ Correct answer
  4. DTo install the operating system
Computer ScienceSoftware PPSCID: LTP-7647

In software design, low coupling between modules is desirable because it means the modules are:

  1. ACompletely identical
  2. BWritten in the same file
  3. CTested only once
  4. DLargely independent of each other ✓ Correct answer
Computer ScienceSoftware PPSCID: LTP-7648

High cohesion in a module means that the parts of the module are:

  1. AClosely related and focused on one task ✓ Correct answer
  2. BSpread across many programs
  3. CWritten by different teams
  4. DStored in separate databases
Computer ScienceSoftware PPSCID: LTP-7649

The spiral model of software development is best known for being driven by which factor?

  1. AFixed prices only
  2. BRisk analysis ✓ Correct answer
  3. CPaper documentation
  4. DHardware speed
Computer ScienceSoftware PPSCID: LTP-7650

A prototype model is used in software development mainly to:

  1. ASell the finished product
  2. BReplace the testing phase
  3. CClarify the requirements with a working model ✓ Correct answer
  4. DReduce the number of users
Computer ScienceSoftware PPSCID: LTP-7651

Which phase of the software life cycle is usually the most expensive over the life of a system?

  1. ARequirement analysis
  2. BCoding
  3. CInstallation
  4. DMaintenance ✓ Correct answer
Computer ScienceSoftware PPSCID: LTP-7652

In a data flow diagram (DFD), a circle (or bubble) represents which of the following?

  1. AA process ✓ Correct answer
  2. BA data store
  3. CAn external entity
  4. DA data flow arrow
Computer ScienceSoftware PPSCID: LTP-7653

A UML use case diagram mainly shows which of the following?

  1. AThe hardware of the system
  2. BActors and the use cases they perform ✓ Correct answer
  3. CThe speed of the processor
  4. DThe cost of the project
Computer ScienceSoftware PPSCID: LTP-7654

Which of the following is a widely used version control system for tracking changes in source code?

  1. AMS Paint
  2. BNotepad
  3. CGit ✓ Correct answer
  4. DMedia Player
Computer ScienceDatabases & DBMS PPSCID: LTP-7655

What is a Database Management System (DBMS)?

  1. AA computer printer
  2. BA web browser
  3. CA type of keyboard
  4. DSoftware that manages databases ✓ Correct answer
Computer ScienceDatabases & DBMS PPSCID: LTP-7656

Which property must a primary key always have?

  1. AUnique and not null ✓ Correct answer
  2. BIt may repeat in every row
  3. CIt must contain text only
  4. DIt must be a foreign key
Computer ScienceDatabases & DBMS PPSCID: LTP-7657

A foreign key in a table is used to refer to which of the following?

  1. AThe password of the user
  2. BThe primary key of another table ✓ Correct answer
  3. CThe name of the database server
  4. DA deleted record
Computer ScienceDatabases & DBMS PPSCID: LTP-7658

The main purpose of normalisation in database design is to:

  1. AIncrease data duplication
  2. BSlow down queries
  3. CReduce data redundancy ✓ Correct answer
  4. DDelete all indexes
Computer ScienceDatabases & DBMS PPSCID: LTP-7659

A table is in First Normal Form (1NF) when all of its values are:

  1. ARepeated in every row
  2. BStored as images
  3. CEncrypted
  4. DAtomic ✓ Correct answer
Computer ScienceDatabases & DBMS PPSCID: LTP-7660

In SQL, which constraint is used to specify that a column cannot contain a NULL value?

  1. ANOT NULL ✓ Correct answer
  2. BUNIQUE
  3. CPRIMARY KEY
  4. DCHECK
Computer ScienceDatabases & DBMS PPSCID: LTP-7662

In the ACID properties of a database transaction, the letter A stands for:

  1. AAccuracy
  2. BAvailability
  3. CAtomicity ✓ Correct answer
  4. DAuthority
Computer ScienceDatabases & DBMS PPSCID: LTP-7663

Which of the following is an advantage of a DBMS over a simple file system?

  1. AData can only be stored once
  2. BOnly one user can access data
  3. CNo backup is possible
  4. DData independence and less redundancy ✓ Correct answer
Computer ScienceDatabases & DBMS PPSCID: LTP-7664

In an Entity-Relationship (ER) model, an entity represents:

  1. AA real-world object or thing ✓ Correct answer
  2. BA computer virus
  3. CA network cable
  4. DA user password
Computer ScienceDatabases & DBMS PPSCID: LTP-7665

A candidate key is best described as a key that is:

  1. AAlways a foreign key
  2. BA minimal superkey ✓ Correct answer
  3. CNever unique
  4. DOnly used for sorting
Computer ScienceDatabases & DBMS PPSCID: LTP-7666

In a database, a transaction is best defined as:

  1. AA printed report
  2. BA backup file
  3. CA single unit of work ✓ Correct answer
  4. DA user login
Computer ScienceOperating Systems PPSCID: LTP-7668

The kernel is best described as the:

  1. ACore part of the operating system ✓ Correct answer
  2. BOuter cover of the monitor
  3. CName of a web browser
  4. DMain folder of a disk
Computer ScienceOperating Systems PPSCID: LTP-7669

Multiprogramming means that the operating system keeps:

  1. AOnly one program in memory
  2. BSeveral programs in memory at the same time ✓ Correct answer
  3. CNo program in memory
  4. DPrograms only on paper
Computer ScienceOperating Systems PPSCID: LTP-7670

A deadlock in an operating system occurs when:

  1. AThe computer runs very fast
  2. BAll files are deleted
  3. CProcesses wait forever for resources held by each other ✓ Correct answer
  4. DThe printer runs out of paper
Computer ScienceOperating Systems PPSCID: LTP-7671

In paging, the memory of a computer is divided into fixed-size blocks called:

  1. AFiles
  2. BFolders
  3. CPackets
  4. DPages ✓ Correct answer
Computer ScienceOperating Systems PPSCID: LTP-7672

First-Come, First-Served (FCFS) scheduling serves processes in which order?

  1. AIn the order they arrive ✓ Correct answer
  2. BIn reverse order of size
  3. CBy shortest job first
  4. DBy highest priority only
Computer ScienceOperating Systems PPSCID: LTP-7673

Virtual memory allows a computer to run large programs by using:

  1. AExtra monitors
  2. BDisk space as an extension of RAM ✓ Correct answer
  3. CA faster keyboard
  4. DMore printers
Computer ScienceOperating Systems PPSCID: LTP-7674

A system call provides a way for a program to:

  1. ADelete the operating system
  2. BPrint without a printer
  3. CRequest a service from the operating system ✓ Correct answer
  4. DConnect to the moon
Computer ScienceOperating Systems PPSCID: LTP-7675

Spooling in an operating system is used to:

  1. ASpeed up the CPU clock
  2. BCompress video files
  3. CEncrypt passwords
  4. DHold jobs for a slow device such as a printer ✓ Correct answer
Computer ScienceOperating Systems PPSCID: LTP-7676

In round-robin scheduling, each process is given a fixed amount of CPU time called a:

  1. ATime quantum ✓ Correct answer
  2. BMemory page
  3. CDisk sector
  4. DNetwork packet
Computer ScienceInternet PPSCID: LTP-7677

Which port number is used by default for HTTP web traffic?

  1. A21
  2. B80 ✓ Correct answer
  3. C25
  4. D110
Computer ScienceInternet PPSCID: LTP-7678

HTTPS differs from HTTP mainly because HTTPS provides:

  1. AFaster printing
  2. BLarger monitors
  3. CEncrypted and secure communication ✓ Correct answer
  4. DFree software
Computer ScienceInternet PPSCID: LTP-7679

What is the main function of the Domain Name System (DNS)?

  1. ATo print web pages
  2. BTo design websites
  3. CTo store passwords
  4. DTo translate domain names into IP addresses ✓ Correct answer
Computer ScienceInternet PPSCID: LTP-7680

Which protocol is used to transfer hypertext documents on the World Wide Web?

  1. AHTTP ✓ Correct answer
  2. BFTP
  3. CSMTP
  4. DTCP
Computer ScienceInternet PPSCID: LTP-7681

An IP address is best described as:

  1. AA postal address of a person
  2. BA unique identifier for a device on a network ✓ Correct answer
  3. CA type of computer virus
  4. DA web page design
Computer ScienceInternet PPSCID: LTP-7682

Which organisation coordinates the assignment of IP addresses and domain names worldwide?

  1. AIEEE
  2. BW3C
  3. CICANN ✓ Correct answer
  4. DISO
Computer ScienceInternet PPSCID: LTP-7683

FTP is a protocol mainly used for:

  1. ASending printed letters
  2. BPlaying music
  3. CDrawing pictures
  4. DTransferring files between computers ✓ Correct answer
Computer ScienceInternet PPSCID: LTP-7684

SMTP is the protocol mainly used for:

  1. ASending email ✓ Correct answer
  2. BBrowsing web pages
  3. CTransferring files by FTP
  4. DChatting by video
Computer ScienceComputer Networking PPSCID: LTP-7685

A Local Area Network (LAN) is a network that covers:

  1. AThe whole world
  2. BA small area such as an office or a building ✓ Correct answer
  3. COnly two continents
  4. DA single computer with no cables
Computer ScienceComputer Networking PPSCID: LTP-7687

TCP is best described as a protocol that is:

  1. AUnreliable and connectionless
  2. BUsed only for printing
  3. CA type of hardware
  4. DReliable and connection-oriented ✓ Correct answer
Computer ScienceComputer Networking PPSCID: LTP-7689

A MAC address is best described as:

  1. AA postal address
  2. BA unique hardware address of a network device ✓ Correct answer
  3. CAn email address
  4. DA web address
ProgrammingPython Programming PPSCID: LTP-7690

In Python, which keyword starts a loop that repeats while a condition remains true?

  1. Afor
  2. Bif
  3. Cwhile ✓ Correct answer
  4. Ddef
ProgrammingPython Programming PPSCID: LTP-7691

In Python, which function is used to display output on the screen?

  1. Ascan()
  2. Bshow()
  3. Cdisplay()
  4. Dprint() ✓ Correct answer
ProgrammingPython Programming PPSCID: LTP-7692

Which Python data type is mutable, meaning its contents can be changed after creation?

  1. AList ✓ Correct answer
  2. BTuple
  3. CString
  4. DInteger
ProgrammingPython Programming PPSCID: LTP-7693

Which Python data type is immutable, meaning it cannot be changed after creation?

  1. AList
  2. BTuple ✓ Correct answer
  3. CDictionary
  4. DSet
ProgrammingPython Programming PPSCID: LTP-7694

In Python, what does the expression 2 ** 3 evaluate to?

  1. A6
  2. B9
  3. C8 ✓ Correct answer
  4. D5
ProgrammingPython Programming PPSCID: LTP-7695

In Python, blocks of code such as the body of a loop are defined by:

  1. ACurly braces
  2. BSemicolons
  3. CRound brackets
  4. DIndentation ✓ Correct answer
ProgrammingPython Programming PPSCID: LTP-7696

In Python, which function returns the number of items in a list?

  1. Alen() ✓ Correct answer
  2. Bcount()
  3. Csize()
  4. Dlength()
ProgrammingPython Programming PPSCID: LTP-7697

A Python dictionary stores data as:

  1. AOnly numbers
  2. BKey-value pairs ✓ Correct answer
  3. COnly images
  4. DSorted pages
ProgrammingPython Programming PPSCID: LTP-7698

In Python, which symbol starts a single-line comment?

  1. A//
  2. B/*
  3. C# ✓ Correct answer
  4. D--
ProgrammingPython Programming PPSCID: LTP-7699

Python is best described as which type of language?

  1. AMachine code only
  2. BAssembly only
  3. CA markup language
  4. DInterpreted ✓ Correct answer
ProgrammingJava Programming PPSCID: LTP-7700

The Java programming language was created by:

  1. AJames Gosling ✓ Correct answer
  2. BGuido van Rossum
  3. CDennis Ritchie
  4. DBjarne Stroustrup
ProgrammingJava Programming PPSCID: LTP-7701

In Java, the JVM is responsible for:

  1. APrinting documents
  2. BExecuting Java bytecode ✓ Correct answer
  3. CDesigning web pages
  4. DStoring passwords
ProgrammingJava Programming PPSCID: LTP-7702

Java is famous for the principle known as:

  1. AWrite once, print anywhere
  2. BRun once, forget it
  3. CWrite once, run anywhere ✓ Correct answer
  4. DCompile once, delete it
ProgrammingJava Programming PPSCID: LTP-7703

In Java, which access modifier makes a member visible only inside its own class?

  1. Apublic
  2. Bprotected
  3. Cstatic
  4. Dprivate ✓ Correct answer
ProgrammingJava Programming PPSCID: LTP-7704

In Java, inheritance between classes is created with which keyword?

  1. Aextends ✓ Correct answer
  2. Binherits
  3. Cimplements
  4. Dderives
ProgrammingJava Programming PPSCID: LTP-7705

In a Java program, execution begins in which method?

  1. Astart
  2. Bmain ✓ Correct answer
  3. Cinit
  4. Drun
ProgrammingJava Programming PPSCID: LTP-7706

Which of the following is the correct signature of the main method in Java?

  1. Apublic void main()
  2. Bstatic int main()
  3. Cpublic static void main(String[] args) ✓ Correct answer
  4. Dvoid start(String args)
ProgrammingJava Programming PPSCID: LTP-7707

Encapsulation in Java means:

  1. ADeleting all private data
  2. BWriting code without classes
  3. CPrinting data to the screen
  4. DBundling data and methods together inside a class ✓ Correct answer
ProgrammingC++ Programming PPSCID: LTP-7708

The C++ programming language was created by:

  1. ABjarne Stroustrup ✓ Correct answer
  2. BJames Gosling
  3. CGuido van Rossum
  4. DDennis Ritchie
ProgrammingC++ Programming PPSCID: LTP-7709

In C++, which object is used to display output on the screen?

  1. Acin
  2. Bcout ✓ Correct answer
  3. Cprint
  4. Decho
ProgrammingC++ Programming PPSCID: LTP-7710

In C++, which object is used to take input from the user?

  1. Acout
  2. Bscanf
  3. Ccin ✓ Correct answer
  4. Dget
ProgrammingC++ Programming PPSCID: LTP-7711

C++ is best known as a language that supports which programming style?

  1. AOnly machine code
  2. BOnly web design
  3. COnly database queries
  4. DObject-oriented programming ✓ Correct answer
ProgrammingC++ Programming PPSCID: LTP-7712

In C++, which operator is used to allocate memory dynamically?

  1. Anew ✓ Correct answer
  2. Bmalloc
  3. Calloc
  4. Dcreate
ProgrammingC++ Programming PPSCID: LTP-7713

In C++, the symbol * when used with a pointer variable means:

  1. AMultiply two numbers only
  2. BDereference the pointer to get the value it points to ✓ Correct answer
  3. CStart a comment
  4. DEnd the program
ProgrammingData Structures & Algorithms PPSCID: LTP-7714

A stack data structure follows which order of access?

  1. AFirst In, First Out (FIFO)
  2. BRandom access only
  3. CLast In, First Out (LIFO) ✓ Correct answer
  4. DSmallest first
ProgrammingData Structures & Algorithms PPSCID: LTP-7715

A queue data structure follows which order of access?

  1. ALast In, First Out (LIFO)
  2. BLargest first
  3. CRandom access only
  4. DFirst In, First Out (FIFO) ✓ Correct answer
ProgrammingData Structures & Algorithms PPSCID: LTP-7716

An array stores its elements in:

  1. AContiguous memory locations ✓ Correct answer
  2. BRandom files on disk
  3. CSeparate databases
  4. DPrinted pages
ProgrammingData Structures & Algorithms PPSCID: LTP-7717

Binary search can only be applied to data that is:

  1. AUnsorted
  2. BSorted ✓ Correct answer
  3. CEncrypted
  4. DPrinted
ProgrammingData Structures & Algorithms PPSCID: LTP-7718

In a linked list, each element is stored in a node that contains:

  1. AOnly a picture
  2. BOnly a password
  3. CData and a pointer to the next node ✓ Correct answer
  4. DA whole database
ProgrammingData Structures & Algorithms PPSCID: LTP-7719

In a binary search tree, values smaller than a node are stored in its:

  1. ARight subtree
  2. BRoot only
  3. CParent only
  4. DLeft subtree ✓ Correct answer
EnglishVocabulary — Synonyms PPSCID: LTP-7720

Choose the word nearest in meaning to FRUGAL.

  1. AThrifty ✓ Correct answer
  2. BWasteful
  3. CGenerous
  4. DCareless
EnglishVocabulary — Antonyms PPSCID: LTP-7721

Choose the word opposite in meaning to TEDIOUS.

  1. ABoring
  2. BInteresting ✓ Correct answer
  3. CDull
  4. DTiring
EnglishSpelling PPSCID: LTP-7722

Choose the correctly spelt word.

  1. ABeautifull
  2. BBeatiful
  3. CBeautiful ✓ Correct answer
  4. DBeutiful
General KnowledgeCapitals, Currencies & Organisations PPSCID: LTP-7725

Wellington, the capital of New Zealand, lies at the southern tip of which island?

  1. ASouth Island
  2. BNorth Island ✓ Correct answer
  3. CStewart Island
  4. DTasmania
General KnowledgeBasic General Knowledge PPSCID: LTP-7727

Karachi remained the capital of Pakistan until the capital moved to Islamabad in which decade?

  1. A1950s
  2. B1970s
  3. C1980s
  4. D1960s ✓ Correct answer
General KnowledgeCapitals, Currencies & Organisations PPSCID: LTP-7728

The Turkish lira is the currency of which country?

  1. ATurkey ✓ Correct answer
  2. BTurkmenistan
  3. CTunisia
  4. DThailand
Pakistan StudiesNational Symbols & Emblems PPSCID: LTP-7732

The deodar, the national tree of Pakistan, grows mainly in which part of the country?

  1. ANorthern mountains ✓ Correct answer
  2. BSouthern deserts
  3. CCoastal plains
  4. DCentral plains
Pakistan StudiesNational Symbols & Emblems PPSCID: LTP-7733

The shalwar kameez, the national dress of Pakistan, consists of which two main garments?

  1. AA coat and a tie
  2. BA long shirt and loose trousers ✓ Correct answer
  3. CA sari and a blouse
  4. DA jacket and jeans
Everyday ScienceEveryday Phenomena PPSCID: LTP-7738

The chemical symbol Na comes from the Latin name of which element?

  1. ANitrogen
  2. BNickel
  3. CSodium ✓ Correct answer
  4. DNeon
IslamiatSeerat-un-Nabi PPSCID: LTP-7736

The Hijrah, the migration of the Holy Prophet (PBUH) to Madinah, marks the start of which calendar?

  1. AIslamic calendar ✓ Correct answer
  2. BGregorian calendar
  3. CJulian calendar
  4. DPersian calendar
MathematicsPercentages PPSCID: LTP-7739

A shop offers a 15% discount on a Rs. 200 item. How much is the discount?

  1. ARs. 25
  2. BRs. 35
  3. CRs. 20
  4. DRs. 30 ✓ Correct answer

← Back to Software Developer