You are on page 1of 15

5/15/2019 PPSC Lecturer of Computer Science Past Paper

Home Contact Us Privacy Policy Site Map About Us

J P Select Language ▼
PPSC Past Papers, ISSB Test Notes
PPSC Test Preparation Notes.

HOME PPSC JOBS ISSB TEST FPSC FIA ARMY

GENERAL KNOWLEDGE WORLD GENERAL KNOWLEDGE WHO IS WHO PPSC TEST NOTES PAK STUDIES

PPSC Lecturer Past PPSC Lecturer of Computer Science Past Past Questions
Papers Paper Questions
About Islam
1. PPSC Lecturer of Islamiat 1. The network layer concerns with
Past Paper 1. Important Questions about Islamic
2. PPSC Lecturer of English a) bits Studies
Past Paper 2. Hazrat Muhammad PBUH
3. PPSC Lecturer of Urdu Past b) frames 3. General Knowledge About Hazrat
Paper Muhammad PBUH Life
c) packets 4. Wives of Hazrat Muhammad PBUH
4. PPSC Lecturer of
Commerce Past Paper 5. Important Islamic History Events
d) none of the mentioned 6. Important points of The Holy Quran
5. PPSC Lecturer of Computer
7. Al-Quran MCQs
Science Past Paper
Answer:c 8. About SAHABA KARAM
6. PPSC Lecturer of
9. Namaz
Journalism Past Paper 2. Which one of the following is not a function of network layer? 10. Zakat
7. PPSC Lecturer of History 11. Fasting (Roza)
Past Paper a) routing 12. Imortant Article of Faith and
8. PPSC Lecturer of Punjabi Fundamental of ISLAM
Past Paper b) inter-networking 13. Important Islamic terms and Places
9. PPSC Lecturer of Persian 14. Islamic Months of Years
Past Paper c) congestion control 15. General Knowledge-Heavenly Books
10. PPSC Lecturer of 16. Important Angles
d) none of the mentioned 17. Ashra-e-Mubrashra
Economics Past Paper
11. PPSC Lecturer of 18. Reign Of 4 Caliphates(Khulafa
Answer:d Rashideen)
Chemistry Past Paper
19. Famous Islamic Generals
12. PPSC Lecturer of Botany
3. The 4 byte IP address consists of 20. Famous Islamic Battles
Past Paper
21. Important Personalities and Their
13. PPSC Lecturer of zoology a) network address Titles in Islam
Past Paper
22. Famous Muslim Scientists
14. PPSC Lecturer of Physics b) host address
Past Paper PPSC GENERAL
15. PPSC Lecturer of c) both (a) and (b) KNOWLEDGE
Philosophy Past Paper 23. PPSC PAST Papers General
16. PPSC Lecturer of Pakistan d) none of the mentioned Knowledge Questions
Studies Past Paper
Answer:c
17. PPSC Lecturer of sociology
Past Paper About World
4. In virtual circuit network each packet contains
18. PPSC Lecturer of
24. World Records
Geography Past Paper
a) full source and destination address 25. World Records (Guniees Book)
Important Gernal 26. 7 Wonders of the World
Knowledge Questions b) a short VC number 27. Inventions and Inventors
28. Important Facts of Worlds
1. ABOUT ISLAM c) both (a) and (b) 29. Important Places Of World
2. ABOUT PROPHETS OF 30. Important Awards Of World
ISLAM d) none of the mentioned 31. Top 10 Languages of World
32. Highest Military Awards of World

jobspapers.com/PPSC-Lecturer-of-Computer-Science-Past-Paper.php 1/15
5/15/2019 PPSC Lecturer of Computer Science Past Paper
3. ABOUT PROPHET Answer:b 33. Important Geographical Lines of
MUHAMMAD World
4. ABOUT QURAN 5. Which one of the following routing algorithm can be used for network 34. World Imortant National Days
5. ABOUT NAMAZ layer design? 35. Importnat Religions of World
36. Important Political terms and
6. ABOUT ZAKAT
a) shortest path algorithm concepts
7. ABOUT FASTING
37. Important News Agency of the
8. ABOUT HAJJ b) distance vector routing World
9. ABOUT ISLAMIC 38. About UNO
BATTLES c) link state routing 39. Organs of UNO
10. ABOUT COMPANIONS 40. Important Specialized agency of the
d) all of the mentioned UNO
PPSC Test Preparation 41. World Country with Capitals &
Notes Answer:d Currency
42. Famous Name of Places(Country)

About Pakistan
6. Two devices are in network if 43. Basic Information About Pakistan
44. Districts of Pakistan
a) a process in one device is able to exchange information with a process 45. RIVERS OF PAKISTAN
in another device 46. The Largest in Pakistan
47. The Longest and Tallest in Pakistan
b) a process is running on both devices 48. Mountain Passes in Pakistan
49. Chairman Senate and seats
c) PIDs of the processes running of different devices are same Distibutions of Pakistan
50. Chief Justices of Pakistan
d) none of the mentioned 51. Pakistan Affairs
52. Who is First in PAKISTAN
Answer:a 53. PAKISTAN GOVERNOR
GENERALS
7. In computer network nodes are 54. PAKISTAN Presidents
55. PAKISTAN Prime Ministers
a) the computer that originates the data 56. Attorney Generals of Pakistan
57. State Bank Governors of pakista
b) the computer that routes the data 58. Army Chiefs of PAKISTAN
59. Federal Cabinet of PAKISTAN
c) the computer that terminates the data 60. Location of important Metalic and
Non Metalic Minerals
d) all of the mentioned 61. Constitutional Amedments Since
1973
Answer:d 62. Army,PAF and Navy Officer Ranks
Who is Who and What is
8. Communication channel is shared by all the machines on the network What
in
63. MOUNTAINS
a) broadcast network 64. IMPORTANT MOUNTAIN PASSES
65. OCEANS
b) unicast network 66. FAMOUS SEA PORTS
67. FAMOUS STRAITS
c) multicast network 68. WORLD RIVERS
69. FAMOUS ISLANDS
d) none of the mentioned 70. FAMOUS DESERTS
71. CITIES ON RIVER BANKS
Answer:a 72. GEOGRAPHICAL DISCOVERIES
73. WORLD COUNTRIES
74. GENERAL KNOWLEDGE ABOUT
WORLD
9. Bluetooth is an example of 75. IMPORTANT PHYSICAL
PROPERTIES
a) personal area network 76. Ten LARGEST COUNTRIES BY
AREA
b) local area network 77. IMPORTANT ABBREVIATIONS

jobspapers.com/PPSC-Lecturer-of-Computer-Science-Past-Paper.php 2/15
5/15/2019 PPSC Lecturer of Computer Science Past Paper
c) virtual private network 78. IMPORTANT UNITS OF
MEASUREMENT
d) none of the mentioned 79. IMPORTANT INFORMATION
ABOUT RAYS AND WAVES
Answer:a 80. IMPORTANT INFORMATION
ABOUT UNIVERSE
81. NOBLE PRIZE
82. NATIONAL EMBLEM
10. A _____ is a device that forwards packets between networks by 83. FAMOUS EPITHETS
processing the routing information included in the packet. 84. IMPORTANT GEOGRAPHICAL
LINES OF WORLD
a) bridge About Science
85. Basic Geometry Math Defination
b) firewall 86. Important Units of Measurments
87. Basic Scientific Questions
c) router

d) all of the mentioned

Answer:c

11. A list of protocols used by a system, one protocol per layer, is called

a) protocol architecture

b) protocol stack

c) protocol suit

d) none of the mentioned

Answer:b

12. Network congestion occurs

a) in case of traffic overloading

b) when a system terminates

c) when connection between two nodes terminates

d) none of the mentioned

Answer:a

13. Which one of the following extends a private network across public
networks?

a) local area network

b) virtual private network

c) enterprise private network

d) storage area network

Answer:b

jobspapers.com/PPSC-Lecturer-of-Computer-Science-Past-Paper.php 3/15
5/15/2019 PPSC Lecturer of Computer Science Past Paper

14. Which module gives control of the CPU to the process selected by the
short-term scheduler?

a) dispatcher

b) interrupt

c) scheduler

d) none of the mentioned

Answer:a

15. The processes that are residing in main memory and are ready and
waiting to execute are kept on a list called

a) job queue

b) ready queue

c) execution queue

d) process queue

Answer:b

16. The interval from the time of submission of a process to the time of
completion is termed as

a) waiting time

b) turnaround time

c) response time

d) throughput

Answer:b

17. Which scheduling algorithm allocates the CPU first to the process
that requests the CPU first?

a) first-come, first-served scheduling

b) shortest job scheduling

c) priority scheduling

d) none of the mentioned

Answer:a

jobspapers.com/PPSC-Lecturer-of-Computer-Science-Past-Paper.php 4/15
5/15/2019 PPSC Lecturer of Computer Science Past Paper
18. In priority scheduling algorithm

a) CPU is allocated to the process with highest priority

b) CPU is allocated to the process with lowest priority

c) equal priority processes can not be scheduled

d) none of the mentioned

Answer:a

19. In priority scheduling algorithm, when a process arrives at the ready


queue, its priority is compared with the priority of

a) all process

b) currently running process

c) parent process

d) init process

Answer:b

20. Time quantum is defined in

a) shortest job scheduling algorithm

b) round robin scheduling algorithm

c) priority scheduling algorithm

d) multilevel queue scheduling algorithm

Answer:b

21. Process are classified into different groups in

a) shortest job scheduling algorithm

b) round robin scheduling algorithm

c) priority scheduling algorithm

d) multilevel queue scheduling algorithm

Answer:d

22. In multilevel feedback scheduling algorithm

a) a process can move to a different classified ready queue

b) classification of ready queue is permanent

jobspapers.com/PPSC-Lecturer-of-Computer-Science-Past-Paper.php 5/15
5/15/2019 PPSC Lecturer of Computer Science Past Paper
c) processes are not classified into groups

d) none of the mentioned

Answer:a

23. Which one of the following can not be scheduled by the kernel?

a) kernel level thread

b) user level thread

c) process

d) none of the mentioned

Answer:b

Explanation:User level threads are managed by thread library and the


kernel in unaware of them.

24) A process refers to 5 pages, A, B, C, D, E in the order : A, B, C, D, A,


B, E, A, B, C, D, E. If the page replacement algorithm is FIFO, the
number of page transfers with an empty internal store of 3 frames is :

a) 8

b) 10

c) 9

d) 7

Answer: c

Explanation: None.

25) A memory page containing a heavily used variable that was


initialized very early and is in constant use is removed, then the page
replacement algorithm used is :

a) LRU

b) LFU

c) FIFO

d) None of these

Answer: c

Explanation: None.

26) Users _______ that their processes are running on a paged system.

a) are aware

jobspapers.com/PPSC-Lecturer-of-Computer-Science-Past-Paper.php 6/15
5/15/2019 PPSC Lecturer of Computer Science Past Paper
b) are unaware

c) None of these

Answer: b

Explanation: None.

27) The aim of creating page replacement algorithms is to :

a) replace pages faster

b) increase the page fault rate

c) decrease the page fault rate

d) to allocate multiple pages to processes

Answer: c

Explanation: None.

28) A FIFO replacement algorithm associates with each page the


_______

a) time it was brought into memory

b) size of the page in memory

c) page after and before it

d) All of these

Answer: a

Explanation: None.

29) Optimal page – replacement algorithm is :

a) Replace the page that has not been used for a long time

b) Replace the page that has been used for a long time

c) Replace the page that will not be used for a long time

d) None of these

Answer: c

Explanation: None.

30) Optimal page – replacement algorithm is difficult to implement,


because :

a) it requires a lot of information

jobspapers.com/PPSC-Lecturer-of-Computer-Science-Past-Paper.php 7/15
5/15/2019 PPSC Lecturer of Computer Science Past Paper

b) it requires future knowledge of the reference string

c) it is too complex

d) it is extremely expensive

Answer: b

Explanation: None.

31) LRU page – replacement algorithm associates with each page the
______

a) time it was brought into memory

b) the time of that page’s last use

c) page after and before it

d) All of these

Answer: b

Explanation: None.

32) For 3 page frames, the following is the reference string :

70120304230321201701

i) How many page faults does the LRU page replacement algorithm
produce ?

a) 10

b) 15

c) 11

d) 12

Answer: d

Explanation: None.

33. Build & Fix Model is suitable for programming exercises of


___________ LOC (Line of Code).

a) 100-200

b) 200-400

c) 400-1000

d) above 1000

Answer:a

jobspapers.com/PPSC-Lecturer-of-Computer-Science-Past-Paper.php 8/15
5/15/2019 PPSC Lecturer of Computer Science Past Paper

Explanation: Build & Fix Model is suitable for small projects &
programming exercises of 100 or 200 lines.

34. RAD stands for

a) Relative Application Development

b) Rapid Application Development

c) Rapid Application Document

Answer:b

Explanation: None.

35. Which one of the following models is not suitable for accommodating
any change?

a) Build & Fix Model

b) Prototyping Model

c) RAD Model

d) Waterfall Model

Answer:d

Explanation: Real projects rarely follow the sequential flow that the
Waterfall Model proposes.

36. Which one of the following is not a phase of Prototyping Model?

a) Quick Design

b) Coding

c) Prototype Refinement

d) Engineer Product

Answer:b

Explanation: A prototyping model generates only a working model of a


system.

37. RAD Model has

a) 2 phases

b) 3 phase

c) 5 phases

jobspapers.com/PPSC-Lecturer-of-Computer-Science-Past-Paper.php 9/15
5/15/2019 PPSC Lecturer of Computer Science Past Paper
d) 6 phases

Answer:c

Explanation: RAD Model consists of five phases namely:Business


modeling,Data modeling,Process modeling,Application generation and
Testing & Turnover.

38. What is the major drawback of using RAD Model?

a) Highly specialized & skilled developers/designers are required.

b) Increases re-usability of components.

c) Encourages customer/client feedback.

d) Both a & c.

Answer:d

Explanation: The client may create an unrealistic product vision leading


a team to over or under-develop functionality.Also, the specialized &
skilled developers are not easily available.

39. SDLC stands for

a) Software Development Life Cycle

b) System Development Life cycle

c) Software Design Life Cycle

d) System Design Life Cycle

Answer:a

Explanation: None.

40. Which model can be selected if user is involved in all the phases of
SDLC?

a) Waterfall Model

b) Prototyping Model

c) RAD Model

d) both b & c

Answer:c

Explanation: None.

This set of Database Questions & Answers focuses on “Relational


Database and Database Schema”

jobspapers.com/PPSC-Lecturer-of-Computer-Science-Past-Paper.php 10/15
5/15/2019 PPSC Lecturer of Computer Science Past Paper

41. A relational database consists of a collection of

a) Tables

b) Fields

c) Records

d) Keys

Answer:a

Explanation:Fields are the column of the relation or tables.Records are


each row in relation.Keys are the constraints in a relation .

42. A ________ in a table represents a relationship among a set of


values.

a) Column

b) Key

c) Row

d) Entry

Answer:c

Explanation:Column has only one set of values.Keys are constraints and


row is one whole set of attributes.Entry is just a piece of data.

43. The term _______ is used to refer to a row.

a) Attribute

b) Tuple

c) Field

d) Instance

Answer:b

Explanation:Tuple is one entry of the relation with several attributes


which are fields.

44. The term attribute refers to a ___________ of a table.

a) Record

b) Column

c) Tuple

d) Key

jobspapers.com/PPSC-Lecturer-of-Computer-Science-Past-Paper.php 11/15
5/15/2019 PPSC Lecturer of Computer Science Past Paper
Answer:b

Explanation:Attribute is a specific domain in the relation which has


entries of all tuples.

45. For each attribute of a relation, there is a set of permitted values,


called the ________ of that attribute.

a) Domain

b) Relation

c) Set

d) Schema

Answer:a

Explanation:The values of the attribute should be present in the


domain.Domain is a set of values permitted .

46. Which forms has a relation that possesses data about an individual
entity:

a) 2NF

b) 3NF

c) 4NF

d) 5NF

Answer:c

Explanation: A Table is in 4NF if and only if, for every one of its non-
trivial multivalued dependencies X \twoheadrightarrow Y, X is a
superkey—that is, X is either a candidate key or a superset thereof.

47. Which forms are based on the concept of functional dependency:

a) 1NF

b) 2NF

c) 3NF

d) 4NF

Answer:c

Explanation: The table is in 3NF if every non-prime attribute of R is non-


transitively dependent (i.e. directly dependent) on every superkey of R.

48. _____________ can help us detect poor E-R design.

jobspapers.com/PPSC-Lecturer-of-Computer-Science-Past-Paper.php 12/15
5/15/2019 PPSC Lecturer of Computer Science Past Paper
a) Database Design Process

b) E-R Design Process

c) Relational scheme

d) Functional dependencies

Answer:d

Explanation:For eg.,Suppose an instructor entity set had attributes dept


name and dept address, and there is a functional dependency dept name
-> dept address.

49. Which of the following has each related entity set has its own schema
and there is an additional schema for the relationship set.

a) A many-to-many relationship set

b) A multivalued attribute of an entity set

c) A one-to-many relationship set

d) Both a and b

Answer:a

Explanation:If a multivalued dependency holds and is not implied by the


corresponding functional dependency, it usually arises from this source.

50. In which of the following , a separate schema is created consisting of


that attribute and the primary key of the entity set.

a) A many-to-many relationship set

b) A multivalued attribute of an entity set

c) A one-to-many relationship set

d) Both a and b

Answer:b

Explanation:If a multivalued dependency holds and is not implied by the


corresponding functional dependency, it usually arises from this source.

51. What is the best way to represent the attributes in a large database?

a) Relational-and

b) Concatenation

c) Dot representation

d) All of the above

Answer:b

jobspapers.com/PPSC-Lecturer-of-Computer-Science-Past-Paper.php 13/15
5/15/2019 PPSC Lecturer of Computer Science Past Paper

Explanation: Example inst sec and student sec.

52. Designers use which of the following to tune performance of systems


to support time-critical operations?

a) Denormalization

b) Redundant optimization

c) Optimization

d) Realization

Answer:a

Explanation:The process of taking a normalized schema and making it


nonnormalized is called denormalization.

53. The lexical analyzer takes_________as input and produces a


stream of_______as output.

a) Source program, tokens

b) Token, source program

c) Either of the two

d) None of the mentioned

Answer: a

Explanation: As per the definition of Lexical Analyser which states that


lexical analysis is the process of converting a sequence of characters into
tokens.

54. Parsing is also known as

a) Lexical Analysis

b) Syntax Analysis

c) Semantic Analysis

d) Code Generation

Answer: b

Explanation: Parsing or syntactic analysis is the process of analysing a


string of symbols and conforming to the rules of grammar.

55. A compiler program written in a high level language is called

a) Source Program

jobspapers.com/PPSC-Lecturer-of-Computer-Science-Past-Paper.php 14/15
5/15/2019 PPSC Lecturer of Computer Science Past Paper
b) Object Program

c) Machine Language Program

d) None of the mentioned

Stay Up to Date With Whats Happening

Designed by: Wasim Balouch

jobspapers.com/PPSC-Lecturer-of-Computer-Science-Past-Paper.php 15/15

You might also like