PPSC Lecturer Computer Science Past Paper 2017
PPSC Lecturer Computer Science Past Paper 2017
a) bits
b) frames
c) packets
View Answer
Answer:c
Explanation:None.
a) routing
b) inter-networking
c) congestion control
View Answer
Answer:d
Explanation:None.
a) network address
b) host address
View Answer
Answer:c
Explanation:None.
b) a short VC number
View Answer
Answer:b
Explanation:None.
5. Which one of the following routing algorithm can be used for network layer design?
View Answer
Answer:d
Explanation:None.
6. Two devices are in network if
View Answer
Answer:a
Explanation:None.
View Answer
Answer:d
Explanation:None.
a) broadcast network
b) unicast network
c) multicast network
View Answer
Answer:a
Explanation:None.
9. Bluetooth is an example of
View Answer
Answer:a
Explanation:None.
10. A _____ is a device that forwards packets between networks by processing the
routing information
a) bridge
b) firewall
c) router
View Answer
Answer:c
Explanation:None.
11. A list of protocols used by a system, one protocol per layer, is called
a) protocol architecture
b) protocol stack
c) protocol suit
View Answer
Answer:b
Explanation:None.
View Answer
Answer:a
Explanation:None.
13. Which one of the following extends a private network across public networks?
View Answer
Answer:b
Explanation:None.
14. Which module gives control of the CPU to the process selected by the short-term
scheduler?
a) dispatcher
b) interrupt
c) scheduler
View Answer
Answer:a
Explanation:None.
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
View Answer
Answer:b
Explanation:None.
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
View Answer
Answer:b
Explanation:None.
17. Which scheduling algorithm allocates the CPU first to the process that requests the
CPU first?
c) priority scheduling
View Answer
Answer:a
Explanation:None.
View Answer
Answer:a
Explanation:None.
19. In priority scheduling algorithm, when a process arrives at the ready queue, its
priority is compared
a) all process
c) parent process
d) init process
View Answer
Answer:b
Explanation:None.
View Answer
Answer:b
Explanation:None.
View Answer
Answer:d
Explanation:None.
View Answer
Answer:a
Explanation:None.
23. Which one of the following can not be scheduled by the kernel?
c) process
View Answer
Answer:b
Explanation:User level threads are managed by thread library and the kernel in unaware
of them.
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
View Answer
Answer: c
Explanation: None.
25) A memory page containing a heavily used variable that was initialized very early and
is in constant
a) LRU
b) LFU
c) FIFO
d) None of these
View Answer
Answer: c
Explanation: None.
26) Users _______ that their processes are running on a paged system.
a) are aware
b) are unaware
c) None of these
View Answer
Answer: b
Explanation: None.
View Answer
Answer: c
Explanation: None.
28) A FIFO replacement algorithm associates with each page the _______
d) All of these
View Answer
Answer: a
Explanation: None.
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
View Answer
Answer: c
Explanation: None.
c) it is too complex
d) it is extremely expensive
View Answer
Answer: b
Explanation: None.
31) LRU page – replacement algorithm associates with each page the ______
d) All of these
View Answer
Answer: b
Explanation: None.
70120304230321201701
i) How many page faults does the LRU page replacement algorithm produce ?
a) 10
b) 15
c) 11
d) 12
View Answer
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
View Answer
Answer:a
Explanation: Build & Fix Model is suitable for small projects & programming exercises of
100 or 200 lines.
View Answer
Answer:b
Explanation: None.
35. Which one of the following models is not suitable for accommodating any change?
b) Prototyping Model
c) RAD Model
d) Waterfall Model
View Answer
Answer:d
Explanation: Real projects rarely follow the sequential flow that the Waterfall Model
proposes.
a) Quick Design
b) Coding
c) Prototype Refinement
d) Engineer Product
View Answer
Answer:b
a) 2 phases
b) 3 phase
c) 5 phases
d) 6 phases
View Answer
Answer:c
d) Both a & c.
View Answer
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.
View Answer
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
View Answer
Answer:c
Explanation: None.
This set of Database Questions & Answers focuses on “Relational Database and
Database Schema”
a) Tables
b) Fields
c) Records
d) Keys
View Answer
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 .
a) Column
b) Key
c) Row
d) Entry
View Answer
Answer:c
Explanation:Column has only one set of values.Keys are constraints and row is one
whole set of
a) Attribute
b) Tuple
c) Field
d) Instance
View Answer
Answer:b
Explanation:Tuple is one entry of the relation with several attributes which are fields.
a) Record
b) Column
c) Tuple
d) Key
View Answer
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
View Answer
Answer:a
permitted .
46. Which forms has a relation that possesses data about an individual entity:
a) 2NF
b) 3NF
c) 4NF
d) 5NF
View Answer
Answer:c
Explanation: A Table is in 4NF if and only if, for every one of its non-trivial multivalued
dependencies X
a) 1NF
b) 2NF
c) 3NF
d) 4NF
View Answer
Answer:c
Explanation: The table is in 3NF if every non-prime attribute of R is non-transitively
dependent (i.e.
c) Relational scheme
d) Functional dependencies
View Answer
Answer:d
Explanation:For eg.,Suppose an instructor entity set had attributes dept name and dept
address, and
49. Which of the following has each related entity set has its own schema and there is
an additional
View Answer
Answer:a
50. In which of the following , a separate schema is created consisting of that attribute
and the primary
d) Both a and b
View Answer
Answer:b
51. What is the best way to represent the attributes in a large database?
a) Relational-and
b) Concatenation
c) Dot representation
View Answer
Answer:b
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
View Answer
Answer:a
denormalization.
53. The lexical analyzer takes_________as input and produces a stream of_______as
output.
View Answer
Answer: a
Explanation: As per the definition of Lexical Analyser which states that lexical analysis is
the process of
a) Lexical Analysis
b) Syntax Analysis
c) Semantic Analysis
d) Code Generation
View Answer
Answer: b
Explanation: Parsing or syntactic analysis is the process of analysing a string of
symbols and conforming
a) Source Program
b) Object Program
View Answer
Answer: a
Explanation: The input that we give in high level language is also known as the source
language.
a) SQL Server
b) MongoDB
c) Cassandra
View Answer
Answer:a
a) SQL
b) Document databases
c) JSON
View Answer
Answer:b
Explanation:Document databases pair each key with a complex data structure known as
a document.
(General part)