PPSC Oracle Developer Past Paper 2026 — 90 MCQs with Answers

PPSC Oracle Developer 90 questions

Oracle Developer Job — last date 7 Dec 2026

Practice the PPSC Oracle Developer Past Paper 2026 — 90 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 ScienceDatabases & DBMS PPSCID: LTP-7740

In database design, Second Normal Form (2NF) requires that a table is in 1NF and that every non-key column depends on:

  1. AThe whole primary key ✓ Correct answer
  2. BOnly part of the key
  3. CNo key at all
  4. DThe foreign key only
Computer ScienceDatabases & DBMS PPSCID: LTP-7741

Third Normal Form (3NF) removes which kind of dependency from a table?

  1. APrimary key
  2. BTransitive dependency ✓ Correct answer
  3. CForeign key
  4. DIndex
Computer ScienceDatabases & DBMS PPSCID: LTP-7742

Boyce-Codd Normal Form (BCNF) is a stronger version of which normal form?

  1. AFirst Normal Form
  2. BFourth Normal Form
  3. CThird Normal Form ✓ Correct answer
  4. DFifth Normal Form
Computer ScienceDatabases & DBMS PPSCID: LTP-7743

In SQL, the Data Definition Language (DDL) includes which of the following commands?

  1. ASELECT
  2. BINSERT
  3. CUPDATE
  4. DCREATE ✓ Correct answer
Computer ScienceDatabases & DBMS PPSCID: LTP-7744

In SQL, the Data Manipulation Language (DML) includes which of the following commands?

  1. AINSERT ✓ Correct answer
  2. BCREATE
  3. CDROP
  4. DGRANT
Computer ScienceDatabases & DBMS PPSCID: LTP-7745

In SQL, the GRANT command belongs to which language category?

  1. AData Definition Language
  2. BData Control Language (DCL) ✓ Correct answer
  3. CData Manipulation Language
  4. DQuery Language
Computer ScienceDatabases & DBMS PPSCID: LTP-7746

Which SQL command is used to save all changes made by a transaction permanently?

  1. AROLLBACK
  2. BSAVEPOINT
  3. CCOMMIT ✓ Correct answer
  4. DDELETE
Computer ScienceDatabases & DBMS PPSCID: LTP-7747

Which SQL command undoes all changes made by the current transaction?

  1. ACOMMIT
  2. BGRANT
  3. CCREATE
  4. DROLLBACK ✓ Correct answer
Computer ScienceDatabases & DBMS PPSCID: LTP-7748

An INNER JOIN between two tables returns:

  1. AOnly rows that match in both tables ✓ Correct answer
  2. BAll rows from the left table only
  3. CAll rows from both tables
  4. DNo rows at all
Computer ScienceDatabases & DBMS PPSCID: LTP-7749

A LEFT JOIN returns all rows from the left table and:

  1. AOnly rows that match in both tables
  2. BMatching rows from the right table, with NULL where there is no match ✓ Correct answer
  3. CNo rows from the right table
  4. DAll rows from the right table only
Computer ScienceDatabases & DBMS PPSCID: LTP-7750

A RIGHT JOIN returns all rows from the right table and:

  1. AOnly rows that match in both tables
  2. BNo rows from the left table
  3. CMatching rows from the left table, with NULL where there is no match ✓ Correct answer
  4. DAll rows from the left table only
Computer ScienceDatabases & DBMS PPSCID: LTP-7751

A FULL OUTER JOIN returns:

  1. AOnly matching rows
  2. BOnly the left table rows
  3. COnly the right table rows
  4. DAll rows from both tables, with NULL where there is no match ✓ Correct answer
Computer ScienceDatabases & DBMS PPSCID: LTP-7752

A CROSS JOIN between two tables produces:

  1. AThe Cartesian product of the two tables ✓ Correct answer
  2. BOnly matching rows
  3. CAn empty result
  4. DA single row
Computer ScienceDatabases & DBMS PPSCID: LTP-7753

In SQL, the UNION operator combines the results of two queries and:

  1. AKeeps all duplicate rows
  2. BRemoves duplicate rows ✓ Correct answer
  3. CDeletes the tables
  4. DSorts by the primary key only
Computer ScienceDatabases & DBMS PPSCID: LTP-7754

In SQL, the GROUP BY clause is used to:

  1. ASort rows in reverse order
  2. BDelete duplicate tables
  3. CGroup rows that share the same values for aggregate functions ✓ Correct answer
  4. DCreate a new database
Computer ScienceDatabases & DBMS PPSCID: LTP-7755

In SQL, the HAVING clause differs from WHERE because HAVING filters:

  1. ARows before grouping
  2. BTables before creation
  3. CColumns by data type
  4. DGroups after aggregation ✓ Correct answer
Computer ScienceDatabases & DBMS PPSCID: LTP-7756

In SQL, the ORDER BY clause is used to:

  1. ASort the result rows ✓ Correct answer
  2. BDelete rows
  3. CCreate an index
  4. DGrant permissions
Computer ScienceDatabases & DBMS PPSCID: LTP-7757

In SQL, the DISTINCT keyword is used to:

  1. ADelete a table
  2. BRemove duplicate values from the result ✓ Correct answer
  3. CSort by date
  4. DAdd a new column
Computer ScienceDatabases & DBMS PPSCID: LTP-7758

Which SQL aggregate function returns the number of rows in a group?

  1. ASUM
  2. BAVG
  3. CCOUNT ✓ Correct answer
  4. DMAX
Computer ScienceDatabases & DBMS PPSCID: LTP-7759

A database view is best described as:

  1. AA physical copy of a table
  2. BA backup file
  3. CA user password
  4. DA virtual table based on a query ✓ Correct answer
Computer ScienceDatabases & DBMS PPSCID: LTP-7760

A database index is mainly used to:

  1. ASpeed up data retrieval ✓ Correct answer
  2. BSlow down queries
  3. CDelete records
  4. DEncrypt passwords
Computer ScienceDatabases & DBMS PPSCID: LTP-7761

A trigger in a database is:

  1. AA printed report
  2. BA stored procedure that runs automatically when an event occurs ✓ Correct answer
  3. CA type of virus
  4. DA backup tape
Computer ScienceDatabases & DBMS PPSCID: LTP-7762

A stored procedure is best described as:

  1. AA single row of a table
  2. BA user manual
  3. CA set of SQL statements saved in the database for reuse ✓ Correct answer
  4. DA network cable
Computer ScienceDatabases & DBMS PPSCID: LTP-7763

In an ER diagram, cardinality describes:

  1. AThe size of the database file
  2. BThe speed of the server
  3. CThe colour of the diagram
  4. DHow many instances of one entity relate to another ✓ Correct answer
Computer ScienceDatabases & DBMS PPSCID: LTP-7764

A weak entity in an ER model is an entity that:

  1. ACannot exist without its owner entity ✓ Correct answer
  2. BHas no attributes at all
  3. CIs never stored
  4. DHas many primary keys
Computer ScienceDatabases & DBMS PPSCID: LTP-7765

The schema of a database describes:

  1. AThe data stored in the tables
  2. BThe structure of the database, including tables and columns ✓ Correct answer
  3. CThe password of the DBA
  4. DThe speed of queries
Computer ScienceDatabases & DBMS PPSCID: LTP-7766

The data dictionary of a DBMS contains:

  1. AThe personal data of users
  2. BPrinted manuals
  3. CMetadata about the database structure ✓ Correct answer
  4. DBackup tapes only
Computer ScienceDatabases & DBMS PPSCID: LTP-7767

Which of the following is the main responsibility of a Database Administrator (DBA)?

  1. AWriting web pages
  2. BDesigning logos
  3. CRepairing printers
  4. DManaging and securing the database system ✓ Correct answer
Computer ScienceDatabases & DBMS PPSCID: LTP-7768

In a database, concurrency control is needed mainly to:

  1. APrevent conflicts when several users access data at the same time ✓ Correct answer
  2. BDelete old records
  3. CPrint reports faster
  4. DCompress the database file
Computer ScienceDatabases & DBMS PPSCID: LTP-7769

In database recovery, a log file is used to:

  1. AStore user photographs
  2. BRecord changes so the database can be restored after a failure ✓ Correct answer
  3. CPrint invoices
  4. DSpeed up the network
Computer ScienceSQL PPSCID: LTP-7771

Which SQL statement is used to change the values in existing rows?

  1. ASELECT
  2. BCREATE
  3. CGRANT
  4. DUPDATE ✓ Correct answer
Computer ScienceSQL PPSCID: LTP-7772

Which SQL statement is used to remove rows from a table?

  1. ADELETE FROM ✓ Correct answer
  2. BDROP TABLE
  3. CTRUNCATE TABLE
  4. DREMOVE FROM
Computer ScienceSQL PPSCID: LTP-7773

What is the difference between DROP TABLE and TRUNCATE TABLE?

  1. ATRUNCATE removes the whole table; DROP removes only its rows
  2. BDROP removes the whole table; TRUNCATE removes only its rows ✓ Correct answer
  3. CBoth delete the database
  4. DBoth only delete one row
Computer ScienceSQL PPSCID: LTP-7774

Which SQL statement is used to change the structure of an existing table?

  1. AUPDATE TABLE
  2. BMODIFY DATA
  3. CALTER TABLE ✓ Correct answer
  4. DCHANGE ROW
Computer ScienceSQL PPSCID: LTP-7775

Which SQL clause is used to filter rows before they are returned?

  1. AHAVING
  2. BORDER BY
  3. CGROUP BY
  4. DWHERE ✓ Correct answer
Computer ScienceSQL PPSCID: LTP-7776

In SQL, which operator is used with WHERE to match a pattern in text?

  1. ALIKE ✓ Correct answer
  2. BBETWEEN
  3. CIN
  4. DIS
Computer ScienceSQL PPSCID: LTP-7777

In SQL, the BETWEEN operator is used to select values:

  1. AOutside all ranges
  2. BWithin a given range ✓ Correct answer
  3. COnly equal to zero
  4. DOnly in text columns
Computer ScienceSQL PPSCID: LTP-7778

In SQL, the IN operator is used to:

  1. ADelete a list
  2. BSort a list
  3. CMatch any value in a list ✓ Correct answer
  4. DCreate a list
Computer ScienceSQL PPSCID: LTP-7779

In SQL, which condition correctly tests whether a column has no value?

  1. A= NULL
  2. B== NULL
  3. CIS EMPTY
  4. DIS NULL ✓ Correct answer
Computer ScienceSQL PPSCID: LTP-7780

In SQL, ORDER BY with DESC sorts the results in which order?

  1. ADescending order ✓ Correct answer
  2. BAscending order
  3. CRandom order
  4. DNo order
Computer ScienceSQL PPSCID: LTP-7781

Which SQL function returns the average value of a numeric column?

  1. ASUM
  2. BAVG ✓ Correct answer
  3. CCOUNT
  4. DMAX
Computer ScienceSQL PPSCID: LTP-7782

Which SQL function returns the largest value in a column?

  1. AMIN
  2. BCOUNT
  3. CMAX ✓ Correct answer
  4. DSUM
Computer ScienceSQL PPSCID: LTP-7783

In SQL, a subquery is best described as:

  1. AA deleted query
  2. BA printed report
  3. CA database backup
  4. DA query nested inside another query ✓ Correct answer
Computer ScienceSQL PPSCID: LTP-7784

In SQL, the AS keyword is used to:

  1. AGive a column or table an alias ✓ Correct answer
  2. BDelete a column
  3. CSort the results
  4. DCreate a database
Computer ScienceSQL PPSCID: LTP-7785

In Oracle, the DUAL table is best described as:

  1. AA table with all user data
  2. BA one-row dummy table used for calculations ✓ Correct answer
  3. CA backup table
  4. DA table of passwords
Computer ScienceSQL PPSCID: LTP-7786

In Oracle, which function returns the current date and time of the database server?

  1. ATODAY
  2. BNOW
  3. CSYSDATE ✓ Correct answer
  4. DCURDATE
Computer ScienceSQL PPSCID: LTP-7787

In Oracle, the NVL function is used to:

  1. ADelete NULL rows
  2. BCount NULL values
  3. CSort NULL values first
  4. DReplace a NULL value with a given value ✓ Correct answer
Computer ScienceSQL PPSCID: LTP-7788

In Oracle, a sequence is used mainly to:

  1. AGenerate unique numbers automatically ✓ Correct answer
  2. BStore pictures
  3. CPrint reports
  4. DEncrypt data
Computer ScienceSQL PPSCID: LTP-7789

In Oracle, which data type is used for variable-length character strings?

  1. ANUMBER
  2. BVARCHAR2 ✓ Correct answer
  3. CDATE
  4. DCLOB
Computer ScienceSQL PPSCID: LTP-7790

In Oracle, the NUMBER data type is used to store:

  1. APictures only
  2. BDates only
  3. CNumeric values ✓ Correct answer
  4. DLong text only
Computer ScienceSQL PPSCID: LTP-7791

In SQL, which clause joins tables by matching values in a specified column?

  1. AWHERE ONLY
  2. BBY
  3. CWITH
  4. DON ✓ Correct answer
Computer ScienceSQL PPSCID: LTP-7792

In SQL, UNION ALL differs from UNION because UNION ALL:

  1. AKeeps duplicate rows ✓ Correct answer
  2. BRemoves duplicate rows
  3. CDeletes the tables
  4. DSorts in reverse
Computer ScienceSQL PPSCID: LTP-7793

In Oracle, the TO_CHAR function is used to:

  1. ADelete a table
  2. BConvert a date or number to text ✓ Correct answer
  3. CCount rows
  4. DCreate an index
Computer ScienceSQL PPSCID: LTP-7794

In SQL, which statement creates a table with a primary key on the id column?

  1. ASELECT TABLE students (id)
  2. BDROP TABLE students (id)
  3. CCREATE TABLE students (id NUMBER PRIMARY KEY, name VARCHAR2(50)) ✓ Correct answer
  4. DUPDATE TABLE students (id)
Computer ScienceSoftware PPSCID: LTP-7795

The Rapid Application Development (RAD) model is best known for:

  1. ASlow manual coding
  2. BNo user involvement
  3. COnly hardware design
  4. DFast development using prototypes and user feedback ✓ Correct answer
Computer ScienceSoftware PPSCID: LTP-7796

In the V-model of software development, each development phase is paired with:

  1. AA matching testing phase ✓ Correct answer
  2. BA marketing phase
  3. CA sales phase
  4. DA holiday
Computer ScienceSoftware PPSCID: LTP-7797

The incremental model of software development delivers the system:

  1. AOnly after ten years
  2. BIn small working pieces over time ✓ Correct answer
  3. CAs a single printed book
  4. DWithout any testing
Computer ScienceSoftware PPSCID: LTP-7798

Alpha testing is testing carried out:

  1. ABy customers after release
  2. BOnly on hardware
  3. CBy the developers at the development site ✓ Correct answer
  4. DOnly on paper
Computer ScienceSoftware PPSCID: LTP-7799

Beta testing is testing carried out by:

  1. AOnly the project manager
  2. BOnly the printer
  3. CNo one at all
  4. DSelected real users outside the company ✓ Correct answer
Computer ScienceSoftware PPSCID: LTP-7800

Regression testing is done mainly to check that:

  1. ANew changes have not broken existing features ✓ Correct answer
  2. BThe software is printed correctly
  3. CThe price is right
  4. DThe logo looks good
Computer ScienceSoftware PPSCID: LTP-7801

Integration testing checks:

  1. AA single line of code only
  2. BHow modules work together ✓ Correct answer
  3. CThe colour of the screen
  4. DThe weight of the computer
Computer ScienceSoftware PPSCID: LTP-7802

Acceptance testing is carried out to decide whether the software:

  1. AIs the cheapest product
  2. BHas the best logo
  3. CMeets the users requirements and can be accepted ✓ Correct answer
  4. DRuns on the moon
Computer ScienceSoftware PPSCID: LTP-7803

A feasibility study in a software project is carried out to decide whether the project is:

  1. AThe longest possible
  2. BPrinted in colour
  3. CSold abroad
  4. DPractical and worth doing ✓ Correct answer
Computer ScienceSoftware PPSCID: LTP-7804

In UML, a class diagram mainly shows:

  1. AClasses and their relationships ✓ Correct answer
  2. BThe speed of the network
  3. CThe price of hardware
  4. DThe names of users
Computer ScienceOperating Systems PPSCID: LTP-7805

In an operating system, a process can be in which of the following states?

  1. AOnly sleeping
  2. BRunning, ready or waiting ✓ Correct answer
  3. COnly deleted
  4. DOnly printed
Computer ScienceOperating Systems PPSCID: LTP-7806

The Process Control Block (PCB) stores:

  1. AOnly the name of the user
  2. BOnly the printer settings
  3. CInformation about a process such as its state and registers ✓ Correct answer
  4. DThe weather forecast
Computer ScienceOperating Systems PPSCID: LTP-7807

Context switching is the process of:

  1. AChanging the monitor brightness
  2. BReplacing the keyboard
  3. CPrinting two pages at once
  4. DSaving one process state and loading another so the CPU can switch between them ✓ Correct answer
Computer ScienceOperating Systems PPSCID: LTP-7808

A semaphore in an operating system is used for:

  1. ASynchronising processes and controlling access to shared resources ✓ Correct answer
  2. BDrawing pictures
  3. CStoring files
  4. DPlaying music
Computer ScienceOperating Systems PPSCID: LTP-7809

Thrashing in an operating system occurs when:

  1. AThe computer runs very fast
  2. BThe system spends most of its time swapping pages instead of doing useful work ✓ Correct answer
  3. CAll files are deleted
  4. DThe printer jams
Computer ScienceOperating Systems PPSCID: LTP-7810

Internal fragmentation in memory management means:

  1. AA broken hard disk
  2. BA virus in memory
  3. CWasted space inside an allocated block ✓ Correct answer
  4. DA slow network
Computer ScienceOperating Systems PPSCID: LTP-7811

A page fault occurs when a program tries to access a page that is:

  1. ADeleted forever
  2. BOn the printer
  3. CIn another country
  4. DNot currently in main memory ✓ Correct answer
Computer ScienceOperating Systems PPSCID: LTP-7812

Shortest Job First (SJF) scheduling gives priority to the process with:

  1. AThe shortest burst time ✓ Correct answer
  2. BThe longest burst time
  3. CThe largest memory
  4. DThe oldest age
Computer ScienceInternet PPSCID: LTP-7813

An Internet Service Provider (ISP) is a company that provides:

  1. APrinting services only
  2. BAccess to the Internet ✓ Correct answer
  3. CComputer hardware only
  4. DTelevision channels only
Computer ScienceInternet PPSCID: LTP-7814

IPv6 addresses are how many bits long?

  1. A32 bits
  2. B64 bits
  3. C128 bits ✓ Correct answer
  4. D256 bits
Computer ScienceInternet PPSCID: LTP-7815

POP3 is a protocol mainly used for:

  1. ASending email only
  2. BBrowsing the web
  3. CTransferring files by FTP
  4. DReceiving email from a mail server ✓ Correct answer
Computer ScienceInternet PPSCID: LTP-7816

The domain extension .edu is mainly used for:

  1. AEducational institutions ✓ Correct answer
  2. BGovernment offices
  3. CCommercial companies
  4. DMilitary organisations
Computer ScienceInternet PPSCID: LTP-7817

The domain extension .gov is mainly used for:

  1. ASchools only
  2. BGovernment organisations ✓ Correct answer
  3. COnline shops
  4. DPersonal blogs
Computer ScienceInternet PPSCID: LTP-7818

An intranet is best described as:

  1. AThe public Internet
  2. BA type of virus
  3. CA private network inside an organisation ✓ Correct answer
  4. DA satellite link
Computer ScienceInternet PPSCID: LTP-7819

IPv4 addresses are how many bits long?

  1. A64 bits
  2. B128 bits
  3. C16 bits
  4. D32 bits ✓ Correct answer
EnglishVocabulary — Synonyms PPSCID: LTP-7820

Choose the word nearest in meaning to AMIABLE.

  1. AFriendly ✓ Correct answer
  2. BHostile
  3. CRude
  4. DCold
EnglishVocabulary — Antonyms PPSCID: LTP-7821

Choose the word opposite in meaning to DILIGENT.

  1. AHardworking
  2. BLazy ✓ Correct answer
  3. CCareful
  4. DBusy
EnglishSpelling PPSCID: LTP-7822

Choose the correctly spelt word.

  1. ASeperate
  2. BSeparete
  3. CSeparate ✓ Correct answer
  4. DSeprate
General KnowledgeCapitals, Currencies & Organisations PPSCID: LTP-7825

Brasilia replaced Rio de Janeiro as the capital of Brazil in which year?

  1. A1950
  2. B1960 ✓ Correct answer
  3. C1970
  4. D1945
General KnowledgeBasic General Knowledge PPSCID: LTP-7827

Yuri Gagarin's historic space flight in 1961 lasted about how long?

  1. A60 minutes
  2. B24 hours
  3. C90 minutes
  4. D108 minutes ✓ Correct answer
General KnowledgeCapitals, Currencies & Organisations PPSCID: LTP-7828

The Saudi riyal is divided into how many halalas?

  1. A100 ✓ Correct answer
  2. B10
  3. C50
  4. D1000
Pakistan StudiesPakistan History PPSCID: LTP-7830

Defence Day marks the day in 1965 when Pakistan's armed forces defended which city against attack?

  1. AKarachi
  2. BIslamabad
  3. CLahore ✓ Correct answer
  4. DPeshawar
Pakistan StudiesPakistan General Knowledge PPSCID: LTP-7831

Hafeez Jalandhari wrote the national anthem of Pakistan in which language?

  1. APersian ✓ Correct answer
  2. BArabic
  3. CEnglish
  4. DUrdu
Pakistan StudiesPakistan General Knowledge PPSCID: LTP-7833

Khyber Pakhtunkhwa, the smallest province of Pakistan by area, was formerly known by which name?

  1. ANorthern Areas
  2. BNorth-West Frontier Province ✓ Correct answer
  3. CBalochistan
  4. DBahawalpur
Everyday ScienceEveryday Phenomena PPSCID: LTP-7838

Vitamin D helps the body absorb which mineral for strong bones?

  1. AIron
  2. BZinc
  3. CCalcium ✓ Correct answer
  4. DSodium
IslamiatPillars of Islam PPSCID: LTP-7835

Zakat is the pillar of Islam that requires Muslims to:

  1. AFast every day
  2. BTravel every year
  3. CPray only at night
  4. DGive a share of their wealth to the needy ✓ Correct answer

← Back to Oracle Developer