DSSSB TGT / PGT · Topic-wise previous year questions
Computer Science Previous Year Questions (page 10)
1995 Computer Science questions asked in DSSSB TGT / PGT previous year papers, each with the correct answer and explanation. Read them free on UTpaper, or attempt the full papers as timed online tests.
Q451From DSSSB TGT Computer Science Practice Set 1
Ram and sita's father brought toys for them. Individually (by default) he gifted the boy an airplane. Which feature of social culture is highlighted in the statement?
AMarginalization
BEquality
CFeminism
DStereotype
Show answerHide answer
Correct answer: (D) Stereotype
Explanation
Automatically giving the boy an airplane, a toy assumed to be "for boys", reflects a gender stereotype.
Q452From DSSSB TGT Computer Science Practice Set 1
Which of the following is not a field of learning?
APsychomotor
BSpiritual
CCognitive
DAffective
Show answerHide answer
Correct answer: (B) Spiritual
Explanation
Bloom's taxonomy describes three learning domains: cognitive, affective and psychomotor. Spiritual is not one of them.
Q453From DSSSB TGT Computer Science Practice Set 1
Which of the following is not a factor in the influence of social culture on the development of the child ?
ANuclear
BExaminations
CUrbanization
DReligious center
Show answerHide answer
Correct answer: (B) Examinations
Explanation
Family type (nuclear), urbanization and religious institutions are socio-cultural influences on a child. Examinations are part of the school system, not a socio-cultural factor.
Q454From DSSSB TGT Computer Science Practice Set 1
A child from the Gond tribe came to the, city with his family. He was admitted to a nearby public school. Months later, he still couldn't make friends, wasn't able to be a part of a group. The teacher used to ignore his interests which destroyed his self-confidence. Which feature of social culture is being highlighted in the above situation?
AMarginalization
BFeminism
CStereotypes
DUrbanization
Show answerHide answer
Correct answer: (A) Marginalization
Explanation
The tribal child is excluded from peer groups and his interests are ignored by the teacher, which pushes him to the edge of the group. This is marginalization.
Q455From DSSSB TGT Computer Science Practice Set 1
Which verb is used for evaluation in the cognitive clomain?
ADefine
BIdentify
CDiscover
DCriticism
Show answerHide answer
Correct answer: (D) Criticism
Explanation
Evaluation means judging or critiquing, so verbs such as criticise, judge and appraise belong to it. Define and identify are knowledge-level verbs.
Q456From DSSSB TGT Computer Science Practice Set 1
Various Policies have been framed in NEP 1986, 1992, 2005 and 2020. All these policies made by the Ministry of Education and other authorities have been placed in the best category, under which dimension of the socio-cultural environmenta?
APolitical
BEconomic
CSocial
DTechnological
Show answerHide answer
Correct answer: (A) Political
Explanation
Education policies framed by the government and authorities belong to the political dimension of the socio-cultural environment.
Q457From DSSSB TGT Computer Science Practice Set 1
Which stage of child development refers to the period of gang age ?
AAdulthood
BInfancy
CChildhood
DAdolescence
Show answerHide answer
Correct answer: (C) Childhood
Explanation
Later childhood (about 6-12 years) is called the "gang age", because children like to form peer groups.
Q458From DSSSB TGT Computer Science Practice Set 1
At which stage of child development does the child develop the ideas of honesty, empathy etc.
AAdolescence
BInfancy
CAdulthood
DChildhood
Show answerHide answer
Correct answer: (A) Adolescence
Explanation
Moral ideas such as honesty, empathy and idealism develop strongly in adolescence, along with abstract thinking.
Q459From DSSSB TGT Computer Science Practice Set 1
At which stage of child development, the child becomes unreal?
AAdulthood
BChildhood
CInfancy
DAdolescence
Show answerHide answer
Correct answer: (D) Adolescence
Explanation
Adolescents tend to daydream and fantasise and to live in an imaginary, idealised world, so this stage is described as the child becoming "unreal".
What is the function ofs the program counter register?
AIt holds the operand address
BIt holds the address of current instruction
CIt holds the address of previous instruction
DIt holds the address of next instruction
Show answerHide answer
Correct answer: (D) It holds the address of next instruction
Explanation
The program counter always holds the address of the next instruction to be fetched; it is incremented (or loaded with a branch target) after each fetch.
What is the function of data input command in I/O command?
AActivate the peripheral and to inform it what to do
BTo check status conditions in the interface and the peripheral
CIt cause the interface to respond by transferring data from bus into one of its registers
DIt cause the interface to respond by transferring data from one of its register to bus
Show answerHide answer
Correct answer: (D) It cause the interface to respond by transferring data from one of its register to bus
Explanation
On a data input command the interface takes the data received from the peripheral into its buffer register and places it from that register onto the data bus, so the CPU can read it.
When Bus Grant (BG) = 1 in direct memory access (DMA) transfer, then what function read line and write lines perform?
ARead line and write line act as input line allowing CPU to communicate with internal DMA register
BRead line act as input line and write line act as output line from DMA
CRead line act as output line and write line act as input line from DMA controller
DRead line and write line act as output lines from DMA controller
Show answerHide answer
Correct answer: (D) Read line and write line act as output lines from DMA controller
Explanation
When BG = 1 the CPU has given up the buses and the DMA controller is the bus master, so its RD and WR lines become outputs that control memory reads and writes.
What is minuend value in the following?
subtract (011100)₂ from (1011100)₂?
A(111000)₂
B(1011100)₂
C(100100)₂
D(100101)₂
Show answerHide answer
Correct answer: (B) (1011100)₂
Explanation
The minuend is the number from which another is subtracted. Here (011100)₂ is subtracted from (1011100)₂, so (1011100)₂ is the minuend and (011100)₂ is the subtrahend.
Which translator is used to convert assembly language to machine language?
AAssembler
BCompiler
CInterpreter
DLinker
Show answerHide answer
Correct answer: (A) Assembler
Explanation
An assembler translates assembly-language mnemonics into machine code. Compilers and interpreters translate high-level languages, and a linker joins object files.
Match the following.
I. Batch Processing system — A. Meeting time constraint
II. Multi Programming — B. Good response time
III. Time sharing — C. Resource utilization
IV. Real time — D. CPU idle time
Ai-D, ii-C, iii-B, iv-A
Bi-A, ii-B, iii-C, iv-D
Ci-D, ii-A, iii-B, iv-C
Di-B, ii-C, iii-D, iv-A
Show answerHide answer
Correct answer: (C) i-D, ii-A, iii-B, iv-C
Explanation
Note: the answer key gives (C), but the logical match is (A): batch processing leaves the CPU idle during I/O, multiprogramming improves resource utilization, time sharing gives good response time, and real-time systems must meet time constraints.
Correct answer: (B) Number of processes completed per unit time
Explanation
Throughput is the number of processes completed per unit time. Turnaround time is the time to complete one process, and response time is the time to first response.
Which one of these is not a condition for Resource Deadlock?
ANon-sharable resources
BHold-and-wait
CPreemption
DCircular waits
Show answerHide answer
Correct answer: (C) Preemption
Explanation
The four Coffman conditions are mutual exclusion (non-sharable resources), hold and wait, NO preemption and circular wait. Preemption itself prevents deadlock, so it is not a condition.
Match the following.
A. Disk scheduling — i. Shortest Job First
B. CPU scheduling — ii. Banker's Algorithm
C. Page replacement — iii. Shortest Seek Time
D. Deadlock — iv. Least Recently Used
AA-iii, B-i, C-iv, D-ii
BA-i, B-iv, C-ii, D-iii
CA-iii, B-iv, C-i, D-ii
DA-iv, B-i, C-ii, D-iii
Show answerHide answer
Correct answer: (A) A-iii, B-i, C-iv, D-ii
Explanation
Shortest Seek Time First is disk scheduling, Shortest Job First is CPU scheduling, Least Recently Used is page replacement, and the Banker's algorithm is deadlock avoidance.
Which of the following statement is true about semaphore?
I. It can be implemented using software
II. It can be implemented using hardware
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
Semaphores can be implemented in software (e.g., with OS/kernel code or algorithms like Peterson's) and with hardware support such as test-and-set or atomic instructions.
A free list contains three memory areas of sizes 6 KB, 15 KB and 12 KB. The next three memory requests are for 10 KB, 2 KB and 14 KB. Which of the memory allocation strategy that would be able to accommodate all the three requests?
AWorst Fit
BBest Fit
CNext Fit
DFirst Fit
Show answerHide answer
Correct answer: (B) Best Fit
Explanation
Best fit: 10 KB→12 KB (2 KB left), 2 KB→the 2 KB hole, 14 KB→15 KB, so all three fit. First, next and worst fit put 10 KB into the 15 KB block, leaving no block for 14 KB.
Consider a main memory with 3 page frames in the following sequence of page reference 3, 4, 2, 3, 9, 1, 6, 3, 4, 9. What is the number of page fault using FIFO page replacement algorithm?
A9
B10
C8
D7
Show answerHide answer
Correct answer: (A) 9
Explanation
FIFO with 3 frames: faults on 3, 4, 2; 3 hits; then faults on 9 (out 3), 1 (out 4), 6 (out 2), 3 (out 9), 4 (out 1), 9 (out 6). Total = 9 faults.
Which one of the following is not a condition for process state transition from running state to wait state?
AIf a process request an Input/Output operation
BIf a higher priority process arrived
CIf a lower priority process arrived
DIf a process waits for some action performed by another process
Show answerHide answer
Correct answer: (C) If a lower priority process arrived
Explanation
A process goes from running to waiting only when it waits for I/O or for an event. A lower-priority arrival never affects the running process (a higher-priority arrival may preempt it to ready).
In a disk system with 100 cylinders, the request to access the cylinder occur in following sequence: 34, 4, 7, 19, 10, 83, 2, 6, 20, 15. Assuming that the head is currently at cylinder 50, then what is the time taken to satisfy all requests if it takes 1 second to move from one cylinder to another? (Shortest seek time first policy is used)
A119 seconds
B129 seconds
C109 seconds
D139 seconds
Show answerHide answer
Correct answer: (B) 129 seconds
Explanation
SSTF from 50: 34 (16), 20 (14), 19 (1), 15 (4), 10 (5), 7 (3), 6 (1), 4 (2), 2 (2), 83 (81). The total movement is 129 cylinders, so it takes 129 seconds.
Which of the logic equation is the represented canonical sum of product form for the given K-Map?
(K-map columns AB = 00, 01, 11, 10; rows CD = 00, 01, 11, 10)
Row CD=00: 1 _ 1 _
Row CD=01: _ 1 _ 1
Row CD=11: _ _ 1 _
Row CD=10: _ _ _ _
What is the correct answer of the given statements in the given order?
I. Gate in which output of logical gate is high when all inputs are high is ________
II. Half of byte is known as ________
III. A flip-flop whose output follows the input when triggered is ________
ANAND gate, bit, T-flip-flop
BOR gate, nibble, T-flip-flop
CAND gate, nibble, D-flip-flop
DNOR gate, byte, S-R flip-flop
Show answerHide answer
Correct answer: (C) AND gate, nibble, D-flip-flop
Explanation
An AND gate gives a high output only when all inputs are high, half a byte (4 bits) is a nibble, and a D flip-flop's output follows its D input on the clock edge.
What is output of Y in the given circuit?
I. BC + AC'
II. (A + C)(B + C')
Circuit: inputs A, B, C. An AND gate takes B and C; its output is ORed with A (first OR). A second AND gate takes A and NOT C; its output is ORed with B (second OR). The outputs of the two OR gates feed a final AND gate whose output is Y.
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
Y = (A + BC)(B + AC') = AB + AC' + BC. AB is the consensus term of BC and AC', so Y = BC + AC'. Also (A + C)(B + C') = AB + AC' + BC, the same function, so both are correct.
In the given sequential circuit if the initial value of Q1Q0 = 00, then what are the next three values of Q1Q0?
Circuit: two T flip-flops in series. The first has T = 1 and is driven by the clock; its output Q0 is the clock input of the second flip-flop, whose T input is also 1 and whose output is Q1.
A11, 10, 00
B11, 10, 01
C10, 11, 01
D10, 00, 01
Show answerHide answer
Correct answer: (B) 11, 10, 01
Explanation
Q0 toggles on every clock and Q1 toggles whenever Q0 goes 0→1 (it is clocked by Q0). From 00: Q0→1 so Q1 toggles (11); then Q0→0 (10); then Q0→1 so Q1 toggles (01). This is a down counter.
Which of the following is NOT an attribute of good programming languages?
AClarity, simplicity and unity
BSupport for abstraction
CEase of program verification
DNon portability
Show answerHide answer
Correct answer: (D) Non portability
Explanation
Portability (running on different machines) is a desirable attribute of a good language, so non-portability is not one. Clarity, abstraction and ease of verification are all good attributes.
How to use these DSSSB TGT / PGT Computer Science questions
Every question here was asked in a real DSSSB TGT / PGT paper; the paper and shift are shown on the card, and the number opens the question on its own page. Try each one before tapping Show answer, then attempt the full DSSSB TGT / PGT papers as timed tests to check your speed under exam conditions.