DSSSB TGT / PGT · Topic-wise previous year questions
Computer Science Previous Year Questions (page 8)
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.
Q351From DSSSB TGT Computer Science Practice Set 2
The student behaves aggressively in the classroom, he needs help in :
AHigh order thinking skills
Bcognitive domain of learning
Caffective domain of learning
Dpsychomotor domain of learning
Show answerHide answer
Correct answer: (C) affective domain of learning
Explanation
Aggression relates to emotions, attitudes and behaviour, which belong to the affective domain of learning.
Q352From DSSSB TGT Computer Science Practice Set 2
Which domain is also called as conative domain of learning ?
ACognitive
BAffective
CPsycho-motor
DHigh order thinking skills
Show answerHide answer
Correct answer: (C) Psycho-motor
Explanation
The psychomotor domain (doing, action) is also called the conative domain. Cognitive is knowing and affective is feeling.
Q353From DSSSB TGT Computer Science Practice Set 2
According to piaget, at which stage do children learn about their environment through the senses?
ASensory motor stage (2years of birth)
BFormal operational stage (After 12 years)
CConcrete operational stage (7 to 12 years)
DPre-operational stage (2-7 years)
Show answerHide answer
Correct answer: (A) Sensory motor stage (2years of birth)
Explanation
In Piaget's sensorimotor stage (birth to 2 years), infants learn about the world through their senses and motor actions.
Q354From DSSSB TGT Computer Science Practice Set 2
Which psychologist talked about the period of latency in the theory of sexual development?
AFreud
BPiaget
CErikson
DVygotsky
Show answerHide answer
Correct answer: (A) Freud
Explanation
Sigmund Freud described the latency period (about 6 years to puberty) as one of the stages of psychosexual development.
Q355From DSSSB TGT Computer Science Practice Set 2
Which psychologist spoke of private speech for self-regulation?
AVygotsky
BPiaget
CKohlberg
DRousseau
Show answerHide answer
Correct answer: (A) Vygotsky
Explanation
Vygotsky said that private speech (talking to oneself) helps children guide and regulate their own thinking and behaviour.
Q356From DSSSB TGT Computer Science Practice Set 2
In the revised version of Bloom's Taxonomy in 2001, the noun 'synthesis was changed to which of the following verb ?
Acreating
Bdefining
Cblending
Dcombining
Show answerHide answer
Correct answer: (A) creating
Explanation
In the 2001 revision by Anderson and Krathwohl, the nouns were changed to verbs, and synthesis became "creating", placed at the top level.
Q357From DSSSB TGT Computer Science Practice Set 2
During the pandemic, it has been on easy journey for students of private schools to continue their studies, while it has been a difficult one for students of government schools. Which characteristic of social culture is being highlighted in the above situation?
ACultural spread
BTechnical factor
CPhysical factor
DPolitical factor
Show answerHide answer
Correct answer: (B) Technical factor
Explanation
Private-school students could continue studying because they had better access to digital devices and the internet. The gap is a technological (digital divide) factor.
Q358From DSSSB TGT Computer Science Practice Set 2
At which stage of child development, does the child feel that every body is looking at them and they become conscious ?
AChildhood
BAdolescence
CAdulthood
DInfant
Show answerHide answer
Correct answer: (B) Adolescence
Explanation
Adolescents feel that everyone is watching them (Elkind's "imaginary audience"), so they become very self-conscious.
Q359From DSSSB TGT Computer Science Practice Set 2
At which stage of child development does children most enjoy fictional stories like fairy tales?
ANewborn
BAdulthood
CAdolescence
DChild
Show answerHide answer
Correct answer: (D) Child
Explanation
In childhood (early childhood), imagination is strong, so children enjoy fictional stories such as fairy tales the most.
Q360From DSSSB TGT Computer Science Practice Set 1
Java is a ______ language. This means that you must be explicit about what type of data you are working with.
AWeakly typed
BStrongly typed
CDynamically typed
DLoosely typed
Show answerHide answer
Correct answer: (B) Strongly typed
Explanation
Java is strongly (and statically) typed: every variable must be declared with a type, and the compiler does not allow values of incompatible types to be mixed without an explicit cast.
Q361From DSSSB TGT Computer Science Practice Set 1
With SQL, how can you return the number of records in the "Persons" table?
ASELECT COUNT (*) FROM Persons
BSELECT COUNT () FROM Persons
CSELECT COUNT () FROM Persons
DSELECT COLUMN (*) FROM Persons
Show answerHide answer
Correct answer: (A) SELECT COUNT (*) FROM Persons
Explanation
Options (b) and (c) are printed identically in the source book.
Q362From DSSSB TGT Computer Science Practice Set 1
______ is special effect in motion pictures and animations that changes one image or shape into another through a seamless transition.
ATweening
BInverse Kinematics
CMorphing
DTweaking
Show answerHide answer
Correct answer: (C) Morphing
Explanation
Morphing smoothly transforms one image or shape into another through intermediate frames. Tweening only generates in-between frames of position or motion, and inverse kinematics deals with jointed movement.
Q363From DSSSB TGT Computer Science Practice Set 1
In which addressing mode, the operand is given explicitly in the instruction (example instruction : ADD R4, #3) ?
ABased Indexed mode
BAbsolute mode
CImmediate mode
DRegister indirect mode
Show answerHide answer
Correct answer: (C) Immediate mode
Explanation
In immediate addressing the operand value itself is part of the instruction; in ADD R4, #3 the constant 3 (marked by #) is used directly, with no memory lookup.
Q364From DSSSB TGT Computer Science Practice Set 1
On which of the following storage media, storage of information is organized as a single continuous spiral groove ?
ACD-ROM
BRAM
CHard disk
DFloppy disk
Show answerHide answer
Correct answer: (A) CD-ROM
Explanation
A CD-ROM stores data as pits along one continuous spiral track running from the centre outward, while hard disks and floppy disks use concentric circular tracks.
Q365From DSSSB TGT Computer Science Practice Set 1
The kernal keeps track of the state of each executing program by using a data structure called ______.
AProcess control block
BUser control block
CFile control block
DMemory control block
Show answerHide answer
Correct answer: (A) Process control block
Explanation
The OS stores each process's state, program counter, registers, scheduling and memory information in its Process Control Block (PCB), which it uses to save and restore the process during context switches.
Q366From DSSSB TGT Computer Science Practice Set 1
The technology that stores only the essential instructions on a microprocessors chip and thus enhances its speed is referred to as :
AMIMD
BCISC
CRISC
DSIMD
Show answerHide answer
Correct answer: (C) RISC
Explanation
RISC (Reduced Instruction Set Computer) keeps only a small set of simple, essential instructions that run in about one clock cycle each, which increases speed. CISC uses many complex instructions.
Q367From DSSSB TGT Computer Science Practice Set 1
Ten signals, each requiring 3000Hz, are multiplexed onto a single channel using FDM. How much minimum bandwidth is required for the multiplexed channel? Assume that the guard bands are 300 Hz wide.
A33,700
B30,000
C32,700
D33,000
Show answerHide answer
Correct answer: (C) 32,700
Explanation
Total bandwidth = 10 channels × 3000 Hz + 9 guard bands × 300 Hz = 30,000 + 2,700 = 32,700 Hz. Ten channels need only nine guard bands between them.
Q368From DSSSB TGT Computer Science Practice Set 1
What is the updated aversion of the IT Act, 2000 called?
AIT Act, 2008
BAdvanced IT Act, 2000
CAdvanced IT Act, 2007
DIT Act, 2007
Show answerHide answer
Correct answer: (A) IT Act, 2008
Explanation
The IT Act, 2000 was amended by the Information Technology (Amendment) Act, 2008, which added offences such as cyber terrorism and identity theft. This amended version is called the IT Act, 2008.
Q369From DSSSB TGT Computer Science Practice Set 1
What minimum and maximum values will be generated for the following Python statement?
print (random.randrange (100)+1)
A1 and 100
B0 and 100
C1 and 99
D0 and 99
Show answerHide answer
Correct answer: (A) 1 and 100
Explanation
random.randrange(100) returns an integer from 0 to 99 (the stop value is excluded). Adding 1 gives a range of 1 to 100.
Q370From DSSSB TGT Computer Science Practice Set 1
What will the following code result in?
import pandas as pd
pd.Series ([10,20], index = ['A', 'B', 'C'])
AValueError
BNameError
CIndexError
DSyntaxError
Show answerHide answer
Correct answer: (A) ValueError
Explanation
The data list has 2 values but the index has 3 labels. pandas cannot match the lengths, so it raises a ValueError ("Length of values does not match length of index").
Q371From DSSSB TGT Computer Science Practice Set 1
Given the following assignment of a variable LS
= [1, 9, 2, 8, 3, 7, 5, 4]
What will be the output of the following?
print (LS [::2]+ LS [::-2])
A[5, 3, 2, 1, 9, 8, 7, 4]
B[1, 2, 3, 5, 4, 7, 8, 9]
C[4, 7, 8, 9, 1, 2, 3, 5]
D[9, 8, 7, 4, 5, 3, 2, 1]
Show answerHide answer
Correct answer: (B) [1, 2, 3, 5, 4, 7, 8, 9]
Explanation
LS[::2] takes indexes 0, 2, 4, 6, giving [1, 2, 3, 5]. LS[::-2] starts from the last element and goes backwards in steps of 2, giving [4, 7, 8, 9]. Joined, they give [1, 2, 3, 5, 4, 7, 8, 9].
Q372From DSSSB TGT Computer Science Practice Set 1
What will the following code result in?
import numpy as np
A = np.array ([12, 23])
B = np.array ([10, 20])
print (A-B)
A[-2 -3]
B[[12 23]
[10 20]]
C[[10 20]
[12 23]]
D[2 3]
Show answerHide answer
Correct answer: (D) [2 3]
Explanation
NumPy subtracts arrays element by element: [12−10, 23−20] = [2 3]. It does not stack or combine the arrays.
Q373From DSSSB TGT Computer Science Practice Set 1
Which of the following is false about global variables in Python?
AGlobal immutable variables require global keyword inside function.
BGlobal mutable variables do not require global keyword inside function.
CGlobal keyword is a must for the first time of assignment of a global variable.
DGlobal variables can be accessed any where in the program.
Show answerHide answer
Correct answer: (C) Global keyword is a must for the first time of assignment of a global variable.
Explanation
A variable assigned at the top level of a module is already global, so no global keyword is needed for that first assignment. The keyword is needed only when a function wants to rebind a global name.
Q374From DSSSB TGT Computer Science Practice Set 1
Which computer hardware device used to convert data from a digital format into a format suitable for an analog transmission medium? Select the best answer out of the given options.
AModem
BSwitch
CRepeater
DHub
Show answerHide answer
Correct answer: (A) Modem
Explanation
A modem (modulator-demodulator) converts digital data into analog signals for transmission over telephone lines and converts them back at the receiver. Switches, hubs and repeaters handle signals that stay digital.
Q375From DSSSB TGT Computer Science Practice Set 1
GPRS is basically the standard-bearer of:
A2.5G technology
B3G technology
C4G technology
D2G technology
Show answerHide answer
Correct answer: (A) 2.5G technology
Explanation
GPRS adds packet-switched data to 2G GSM networks. It sits between 2G and 3G, so it is called 2.5G technology.
Q376From DSSSB TGT Computer Science Practice Set 1
Which of the following attribute of the <TABLE> tag specifies the amount of space between the border and the contents of the cell?
APADDING
BSPACING
CCELL PADDING
DCELL SPACING
Show answerHide answer
Correct answer: (C) CELL PADDING
Explanation
CELLPADDING sets the space between a cell's border and its content. CELLSPACING sets the space between neighbouring cells.
Q377From DSSSB TGT Computer Science Practice Set 1
What is the correct usage of the FRAMEBORDER attribute of the <FRAME> tag in HTML ?
ASpecifies the color of the border of the frame
BSpecifies the status of scroll bars of a frame
CSpecifies the distance between top and bottom edge of the frame and frame contents
DSpecifies whether the border should be visible or not
Show answerHide answer
Correct answer: (D) Specifies whether the border should be visible or not
Explanation
FRAMEBORDER takes 1 or 0 (yes or no) and controls whether a border is shown around the frame. It does not set the border colour or the scrollbars.
Q378From DSSSB TGT Computer Science Practice Set 1
Consider the following two C++ statements and the accompanying contexts.
(A) return P→next = = NULL; // P is a pointer to an element in the link list L.
(B) return S → next == NULL; // S is a stack implemented as a link list.
If the return value is TRUE in both cases, which of the following is correct ?
AP points to the last element in L and S is empty.
BP points to the last element in L and S is full.
CL is empty and S is full.
DBoth L and S are empty.
Show answerHide answer
Correct answer: (B) P points to the last element in L and S is full.
Explanation
Answer as per the book's key (b). Note that S→next == NULL would normally mean the stack is empty, so this question is doubtful.
Q379From DSSSB TGT Computer Science Practice Set 1
Consider the following statements about searching algorithms and choose the correct option.
ASequential search requires the list to be ordered, while there is no such constraint for Binary search.
BBinary search has time complexity of O(log₂ n), while sequential search has time complexity of O(n). Here, n is the number of elements in the list.
CLink list is a suitable data structure for storing a list, and performing Binary search.
DThe best case in Binary search is, when the key element exists in the begining of the list.
Show answerHide answer
Correct answer: (B) Binary search has time complexity of O(log₂ n), while sequential search has time complexity of O(n). Here, n is the number of elements in the list.
Explanation
Corrected: the book's key says (c), but (b) is the true statement. Binary search needs random access, so a linked list is unsuitable for it.
Q380From DSSSB TGT Computer Science Practice Set 1
The Boolean expression :
a' · b + a · b'
Where a, b are Boolean operands, can equivalently represented by :
ANAND
BNOR
CXOR
DOR
Show answerHide answer
Correct answer: (C) XOR
Explanation
a'b + ab' is 1 only when a and b differ, which is exactly the definition of XOR (a ⊕ b).
Q381From DSSSB TGT Computer Science Practice Set 1
Identify the simplified and equivalent Boolean expression for the K-Map:
cd \ ab | 00 | 01 | 11 | 10
00 | 0 | 0 | 0 | 0
01 | 1 | 1 | 1 | 1
11 | 1 | 1 | 1 | 1
10 | 0 | 0 | 0 | 0
Aa
Bb
Cc
Dd
Show answerHide answer
Correct answer: (D) d
Explanation
The 1s fill the rows cd = 01 and cd = 11 for every value of ab. In both rows d = 1, while c and a, b change, so the expression is F = d.
Q382From DSSSB TGT Computer Science Practice Set 1
To make a layer completely transparent you will:
AIncrease the opacity of the layer.
BDecrease the opacity of the layer
CMake the canvas transparent
DAll layers are by default transparent
Show answerHide answer
Correct answer: (B) Decrease the opacity of the layer
Explanation
Opacity measures how solid a layer is. Lowering it to 0% makes the layer fully transparent, and raising it makes the layer more solid.
Q383From DSSSB TGT Computer Science Practice Set 1
Which of the following crime does not fall under CYBER CRIME ?
APosting abusive text messages on Social media
BStealing a Pen drive having important files
CGetting unauthorised access to someone's online account
DStealing Computer Speaker from friend's house
Show answerHide answer
Correct answer: (D) Stealing Computer Speaker from friend's house
Explanation
Stealing a computer speaker is ordinary physical theft. No computer, network or data is used to commit the offence, so it is not a cyber crime.
Q384From DSSSB TGT Computer Science Practice Set 1
The term used to animate each letter of a word Separately is ______.
AFrame - by - frame animation
BConvert to symbol
CBreak apart
DMorphing
Show answerHide answer
Correct answer: (C) Break apart
Explanation
In Flash, Break Apart (Ctrl+B) splits a text block into separate letters, so each letter can be placed on its own layer and animated separately.
Q385From DSSSB TGT Computer Science Practice Set 1
The ______ is a holding place for all symbols and imported images and sounds within a single flash file.
ALibrary
BTimeline
CTools Panel
DProperties Panel
Show answerHide answer
Correct answer: (A) Library
Explanation
The Library panel of a Flash file stores all its symbols, plus any imported bitmaps, sounds and videos, so they can be reused across the document.
Q386From DSSSB TGT Computer Science Practice Set 1
Which of the following is not an example of an application of a Database ?
AVIDEO Editing
BProfile Management System
CResult Management System
DInventory Control System
Show answerHide answer
Correct answer: (A) VIDEO Editing
Explanation
Video editing works on audio and video media streams and is not organised around stored records. Profile, result and inventory systems are classic database applications.
Q387From DSSSB TGT Computer Science Practice Set 1
Which of the following options appropriately represent the relationship shown in the diagram ?
Diagram: entity box E1 is joined to entity box E2 by a line labelled R; the line ends in a crow's-foot (many) symbol at the E1 side and has a plain end at the E2 side.
AONE - TO - ONE
BONE - TO - MANY
CMANY - TO - ONE
DMANY - TO - MANY
Show answerHide answer
Correct answer: (C) MANY - TO - ONE
Explanation
The crow's foot (many) is on the E1 side and the plain (one) end is on the E2 side. Many E1 entities relate to one E2 entity, so the relationship is many-to-one.
Q388From DSSSB TGT Computer Science Practice Set 1
Given the following program fragment to add two integer arrays A and B, each of size N. The sum is stored in integer array C of the same size.
for (i=1; i<=N; i++)
C[i] = A[i]+B[i];
The running time of this for loop is ______.
AO(1)
BO(N)
CO(2N)
DO(N²)
Show answerHide answer
Correct answer: (B) O(N)
Explanation
The loop body does constant work and runs N times, so the running time is linear, O(N). O(2N) also simplifies to O(N).
Q389From DSSSB TGT Computer Science Practice Set 1
Which of the following cannot be represented as a tree ?
AUnix directory without links
BTable of Content of a book
CCustomer calls in a call centre
DArithmetic expression
Show answerHide answer
Correct answer: (C) Customer calls in a call centre
Explanation
Customer calls in a call centre are served in arrival order (first in, first out), so they form a queue, not a hierarchy. Directories, a table of contents and arithmetic expressions are naturally hierarchical trees.
Q390From DSSSB TGT Computer Science Practice Set 1
What will the following expression evaluate to?
3+2*5−32/8
A9
B24
C5.75
D21
Show answerHide answer
Correct answer: (A) 9
Explanation
Multiplication and division are done before addition and subtraction: 2*5 = 10 and 32/8 = 4, so 3 + 10 − 4 = 9.
Q391From DSSSB TGT Computer Science Practice Set 1
What is the correct order of execution of logical operators present in an expression ?
ANOT BRACKETS AND OR
BNOT AND OR BRACKETS
CNOT OR AND BRACKETS
DBRACKETS NOT AND OR
Show answerHide answer
Correct answer: (D) BRACKETS NOT AND OR
Explanation
Brackets are evaluated first. Among the logical operators, NOT has the highest precedence, then AND, then OR.
Q392From DSSSB TGT Computer Science Practice Set 1
______ is a sequence of memory read-write operations that are atomic.
ACritical section object
BAdaptive mutex
CTurnstile
DMemory transaction
Show answerHide answer
Correct answer: (D) Memory transaction
Explanation
In transactional memory, a memory transaction is a sequence of memory read-write operations that is atomic: either all of them take effect (commit) or none do.
Q393From DSSSB TGT Computer Science Practice Set 1
The reduced expression for the following expression using a Karnaugh Map F (W,X,Y,Z) =∑(0,4,8,12) is :
AYZ
BY'Z'
CY+Z
DY'+Z'
Show answerHide answer
Correct answer: (B) Y'Z'
Explanation
Minterms 0, 4, 8 and 12 are exactly the cells where Y = 0 and Z = 0, whatever W and X are. These four cells form one group, so F = Y'Z'.
Q394From DSSSB TGT Computer Science Practice Set 1
______ is a technique where the same objects shown further away are shown proportionately smaller.
ADimension
BPerspective
CCompression
DLocalization
Show answerHide answer
Correct answer: (B) Perspective
Explanation
Perspective makes objects that are farther away appear proportionally smaller, which gives a sense of depth in a two-dimensional image.
Q395From DSSSB TGT Computer Science Practice Set 1
Which of the following is interactive ?
AA radio broadcast
BA talk show on TV
CA newspaper
DA computer game
Show answerHide answer
Correct answer: (D) A computer game
Explanation
A computer game responds to the player's input, so it is interactive. Radio, TV talk shows and newspapers are one-way media for the audience.
Q396From DSSSB TGT Computer Science Practice Set 1
What is coalescing ?
AIt is second strategy for allocating kernel memory.
BThe buddy system allocates memory from a fixed size segment consisting of physically contiguous pages .
CKernel memory is often allocated from a free-memory pool different from the list used to satisfy ordinary user made processes
DAn advantage of the buddy system is how quickly adjacent buddies can be combined to form larger segments using this technique.
Show answerHide answer
Correct answer: (D) An advantage of the buddy system is how quickly adjacent buddies can be combined to form larger segments using this technique.
Explanation
In the buddy system, when a block is freed, it can be quickly merged with its free buddy to form a larger segment. This merging is called coalescing.
Q397From DSSSB TGT Computer Science Practice Set 1
The positioning time or random access time, consists of two parts: the time necessary to move the disk arm to the desired cylinder, called
ASeek time
BRotational latency
CFlash drives
DTransfer rate
Show answerHide answer
Correct answer: (A) Seek time
Explanation
Positioning time is seek time plus rotational latency. Seek time is the time to move the disk arm to the desired cylinder, and rotational latency is the wait for the sector to rotate under the head.
Q398From DSSSB TGT Computer Science Practice Set 1
Sorting is
AA process of re-arranging a given set of objects in a specific order.
BTo facilitate the later search for members of the sorted set.
CIs a relevant and essential activity, particularly in data processing.
DAll of these
Show answerHide answer
Correct answer: (A) A process of re-arranging a given set of objects in a specific order.
Explanation
Sorting is defined as re-arranging a given set of objects in a specific order (Wirth's definition). The other options describe why sorting is useful, not what sorting is.
Q399From DSSSB TGT Computer Science Practice Set 1
The figure compares pairs, moves the smaller key up each level and puts the minimum (06) at the root. This tournament-style structure is tree (tournament) sort.
Q400From DSSSB TGT Computer Science Practice Set 1
Which constructor will be called by the following lines of code.?
(i) Student S1;
(ii) Student S2 = S1
AFirst copy constructor, then default constructor.
BFirst default constructor, then copy constructor.
CDefault constructors for both lines of code.
DCopy constructors for both lines of code.
Show answerHide answer
Correct answer: (B) First default constructor, then copy constructor.
Explanation
Student S1; creates an object with no arguments, so the default constructor is called. Student S2 = S1; initialises a new object from an existing one, so the copy constructor is called.
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.