Blog, Study

Most Repeated Topics in UOS Past Papers: Analysis of 51 BS CS Papers (2014–2026)

Chart of the most repeated topics in UOS BS CS past papers

Which topics come up again and again in University of Sargodha (UOS) BS Computer Science exams? We analysed 51 UOS past papers from our archive – Programming Fundamentals, OOP, Digital Logic Design, Operating Systems and Discrete Structures, from 2014 to 2026 – and counted how many papers each topic appeared in. The result is a data-backed list of what to revise first.

Key findings

  • Constructors & destructors appeared in 14 of 14 OOP papers, and inheritance in 13.
  • In Digital Logic Design, number-system conversions, logic gates, codes (BCD/Gray/Excess-3) and complements appeared in all 12 papers.
  • CPU scheduling, deadlock and process synchronisation were in every Operating Systems paper (8 of 8).
  • Arrays and functions were in all 10 Programming Fundamentals papers; loops and structures in 9.
  • Graphs and trees appeared in all 7 Discrete Structures papers analysed.
  • Some topics students often skip are rare: templates (3 of 14 OOP papers), disk scheduling (3 of 8 OS papers) and comparators (2 of 12 DLD papers).

How we did this analysis

We took every UOS past paper in these five subjects that has a typed text version on Shining Study (image-only papers were excluded), isolated the question text, and checked each paper for a defined list of syllabus topics using keyword matching. A topic is counted once per paper if any question mentions it, whether as a short question or a long one. “Share of papers” is the number of papers containing the topic divided by the papers analysed for that subject.

Limits: sample sizes are small (7–14 papers per subject), papers come mainly from 2014–2019 with some recent years, and keyword matching can miss a question worded unusually. Treat this as a revision guide, not a prediction of your next paper.

Programming Fundamentals: most repeated topics

10 papers analysed (2014–2019). Practise writing complete programs with loops and arrays – almost every paper asks you to write code, not just define terms. Arrays, functions and loops together cover nearly every long question.

TopicPapersShare of papers
Arrays (1-D / 2-D)10 / 10100%
Functions & parameters10 / 10100%
Loops (for / while / do-while)9 / 1090%
Structures9 / 1090%
Pointers8 / 1080%
Operators & expressions8 / 1080%
Switch / if-else / conditions7 / 1070%
Recursion5 / 1050%
Data types & variables5 / 1050%
Strings3 / 1030%
Algorithm / flowchart2 / 1020%
Compiler / interpreter / translators1 / 1010%

➜ All Programming Fundamentals past papers

Object Oriented Programming: most repeated topics

14 papers analysed (2015–2026). Constructors/destructors appeared in every single paper, and inheritance in all but one. Learn each concept with a short C++ example – most long questions ask you to “explain with a program”.

TopicPapersShare of papers
Constructors & destructors14 / 14100%
Inheritance (types)13 / 1493%
Polymorphism / virtual functions11 / 1479%
Abstract classes & interfaces11 / 1479%
Encapsulation / data hiding9 / 1464%
Operator overloading7 / 1450%
Exception handling7 / 1450%
Static members6 / 1443%
File handling6 / 1443%
Copy constructor / this pointer5 / 1436%
Function overloading4 / 1429%
Friend functions / classes4 / 1429%
Templates3 / 1421%
Composition / aggregation / association2 / 1414%

➜ All Object Oriented Programming past papers

Digital Logic Design: most repeated topics

12 papers analysed (2014–2018). Number-system conversions, codes (BCD, Gray, Excess-3) and complements were in every paper, so treat them as guaranteed short questions. Multiplexers and flip-flops are the most common design questions.

TopicPapersShare of papers
Number systems & conversion12 / 12100%
Logic gates / universal gates12 / 12100%
Codes (BCD, Gray, Excess-3, parity)12 / 12100%
Complements (1s/2s) & signed numbers12 / 12100%
Boolean algebra & De Morgan11 / 1292%
SOP / POS forms11 / 1292%
Multiplexers / decoders / encoders11 / 1292%
Flip-flops & latches11 / 1292%
Adders & subtractors10 / 1283%
K-map minimisation8 / 1267%
Counters5 / 1242%
Registers / shift registers4 / 1233%
Comparators2 / 1217%

➜ All Digital Logic Design past papers

Operating Systems: most repeated topics

8 papers analysed (2014–2017). CPU scheduling, deadlock and process synchronisation were in all 8 papers. Practise at least two Gantt-chart numericals (FCFS, SJF, Round Robin, priority) and one Banker’s algorithm problem.

TopicPapersShare of papers
CPU scheduling (FCFS, SJF, RR, priority)8 / 8100%
Deadlock (conditions, Banker’s)8 / 8100%
Synchronisation (semaphores, critical section)8 / 8100%
Paging & page replacement7 / 888%
Virtual memory / thrashing7 / 888%
Threads7 / 888%
Process & PCB / states6 / 875%
Segmentation / fragmentation6 / 875%
System calls / OS services6 / 875%
OS types (batch, time-sharing, real-time)5 / 863%
File systems3 / 838%
Disk scheduling3 / 838%

➜ All Operating Systems past papers

Discrete Structures: most repeated topics

7 papers analysed (2014–2018). Graphs/trees appeared in every paper analysed. Logic (truth tables, equivalences), sets, relations and functions together make up most of the paper.

TopicPapersShare of papers
Graphs & trees7 / 7100%
Logic & truth tables6 / 786%
Sets & set operations6 / 786%
Relations (reflexive, symmetric, transitive)6 / 786%
Functions (one-one, onto)6 / 786%
Predicates & quantifiers5 / 771%
Proof techniques & induction5 / 771%
Recurrence relations / sequences5 / 771%
Counting (permutations & combinations)4 / 757%
Matrices3 / 743%
Probability2 / 729%

➜ All Discrete Structures past papers

Questions that were repeated word-for-word

Some questions appeared in almost identical wording in two or more papers:

  • OS: “What is critical section?”, “List and discuss various services provided by the operating system”, “Compare batch operating systems and time-sharing operating systems”.
  • DLD: “Implement the following function using a multiplexer”, and number-conversion questions on binary, BCD and Gray code.
  • Programming Fundamentals: “What is a preprocessor directive?”, “Describe the importance of the default statement in a switch statement”, “What are syntax errors?”
  • Discrete Structures: “Determine whether each of these functions is a bijection”, and proving logical equivalences with De Morgan’s laws.

A 3-week revision plan based on the data

  1. Week 1 – the “every paper” topics. Master the 100% topics in your subject first (see the tables). These are almost guaranteed marks.
  2. Week 2 – the 70–90% topics. Practise numericals and programs: Gantt charts and paging (OS), K-maps and flip-flop circuits (DLD), operator overloading and exception handling (OOP), pointers and recursion (PF), relations and recurrence (Discrete).
  3. Week 3 – full past papers under time. Solve 3–4 complete papers in 2.5 hours each. Many of our papers now include solved answers to check your work.

Tip: short questions (2 marks each, usually 16 of them) make up around 40% of most UOS papers, and they are drawn mostly from the high-frequency topics above.

Frequently asked questions

Do UOS papers repeat questions?

Exact repeats are uncommon, but topics repeat heavily – several topics appeared in every paper we analysed. Revising by topic frequency is more reliable than hoping for an identical question.

Which subjects were analysed?

Programming Fundamentals, Object Oriented Programming, Digital Logic Design, Operating Systems and Discrete Structures – the BS CS/IT/SE subjects with the most typed past papers in our archive. We plan to add Data Structures, Databases and Computer Networks as more text versions are added.

Can I share or use this data?

Yes. You are welcome to share these findings or use the tables in your own notes, class or article – please credit and link to this page.

Related: All UOS past papers · UOS CGPA to Percentage · GPA Calculator · Best time to study, according to science

About Saif R

An educator and technology enthusiast passionate about empowering students through quality education and digital learning. Dedicated to making academic resources and opportunities accessible to everyone.