All 97 questions of DSSSB TGT Computer Science PYQ (Technical), 8 Aug 2021, Shift 2 with the correct answer from the official answer key and a solution. Read them free on UTpaper, or attempt the paper as a timed online test.
Q1DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
If the determinant of the matrix
[ 1 3 0 ]
[ 2 6 4 ]
[ -1 0 2 ]
is −p, then what is the value of the determinant of the matrix
[ 2 6 0 ]
[ 4 12 8 ]
[ -2 0 4 ] ?
A8P
B-4P
C4P
D-8P
Show answerHide answer
Correct answer: (D) -8P
Explanation
Every row of the second matrix is 2 times the corresponding row of the first. Multiplying all three rows of a 3×3 matrix by 2 multiplies the determinant by 2³ = 8, so the new determinant is 8 × (−p) = −8p.
Q2DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
If Σx = Σy = 12, Σx² = Σy² = 45, Σxy = 41 and n = 5, then what is the value of byx (regression coefficient)?
A71/81
B61/81
C81/61
D81/71
Show answerHide answer
Correct answer: (B) 61/81
Explanation
byx = (nΣxy − ΣxΣy) / (nΣy² − (Σy)²) = (5×41 − 12×12) / (5×45 − 144) = (205 − 144) / (225 − 144) = 61/81. Since Σx² = Σy², both denominators give the same value.
Q3DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
An anti-air craft gun can take a maximum of 4 shots at an enemy plane moving away from it. The probabilities of hitting the plane at the first, second, third and fourth shot are 0.6, 0.5, 0.4 and 0.2 respectively. What is the probability that the gun hit the plane?
A0.904
B0.924
C0.804
D0.824
Show answerHide answer
Correct answer: (A) 0.904
Explanation
The chance that all four shots miss is 0.4 × 0.5 × 0.6 × 0.8 = 0.096. So P(at least one hit) = 1 − 0.096 = 0.904.
Q4DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
In a public limited company, the minimum number of shareholders is
ANine
BFour
CSeven
DTen
Show answerHide answer
Correct answer: (C) Seven
Explanation
Under the Companies Act, a public limited company needs at least 7 members (shareholders). A private company needs only 2.
Q5DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which is the shortcut key to find and replace action in MS-word?
ACtrl + H
BCtrl + R
CCtrl + D
DCtrl + A
Show answerHide answer
Correct answer: (A) Ctrl + H
Explanation
Ctrl + H opens the Find and Replace dialog in MS Word. Ctrl + R right-aligns text, Ctrl + D opens the Font dialog and Ctrl + A selects all.
Q6DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
What is the full form of FORTRAN computer programming language?
AFormula Translation
BFirst Translation
CFormula Transition
DFirst Transition
Show answerHide answer
Correct answer: (A) Formula Translation
Explanation
FORTRAN stands for FORmula TRANslation. It was developed by IBM in the 1950s for scientific and mathematical computing.
Q7DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
The memory resident components of an operating system are commonly known as the ________ of the operating system.
ABlocks
BKernel
CPartition
DSegments
Show answerHide answer
Correct answer: (B) Kernel
Explanation
The kernel is the core of the OS. It stays resident in main memory and manages the CPU, memory and devices. Other OS parts can be loaded only when needed.
Q8DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following is a typically interpreted language?
I. C
II. Perl
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (B) Only II
Explanation
Perl is a scripting language that is normally interpreted. C is a compiled language: source code is turned into machine code before it runs.
Q9DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
There are three main concepts that any language needs to support to be an object-oriented language. Which of the following is one of them?
I. Encapsulation
II. Inheritance
III. Polymorphism
AI and II
BII and III
CI and III
DI, II and III
Show answerHide answer
Correct answer: (D) I, II and III
Explanation
The three pillars of object-oriented programming are encapsulation, inheritance and polymorphism, so a language must support all three.
Q10DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
What is the total number of elements in a array E[-4: 1, 6: 10]?
A30
B20
C9
D11
Show answerHide answer
Correct answer: (A) 30
Explanation
Rows run from −4 to 1, which is 1 − (−4) + 1 = 6 rows. Columns run from 6 to 10, which is 10 − 6 + 1 = 5 columns. Total elements = 6 × 5 = 30.
Q11DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which data structure is used to indicate that the order of the processing of data must be postponed until other conditions are fulfilled?
AArray
BLinked list
CTrees
DStack
Show answerHide answer
Correct answer: (D) Stack
Explanation
A stack holds pending work in LIFO order. The postponed items wait on the stack and are processed only after the current conditions are met, as in recursion or backtracking.
Q12DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
What is the worst case running time of quick sort algorithm?
Aθ(x)
Bθ(x²)
Cθ(x log₂x)
Dθ(x log₂x²)
Show answerHide answer
Correct answer: (B) θ(x²)
Explanation
Quick sort's worst case happens when the pivot is always the smallest or largest element, for example on already sorted input. Each partition then removes only one element, giving Θ(n²).
Q13DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
What is the polish notation of the given infix expression?
(A * B + C) / (E − F * G)
A+*/ABCE*FG
B/+* ABC-E*FG
C/ABC+*-E*FG
D+/ABC*-E*FG
Show answerHide answer
Correct answer: (B) /+* ABC-E*FG
Explanation
Polish notation is prefix notation. (A*B + C) becomes +*ABC and (E − F*G) becomes −E*FG. Dividing the first by the second gives /+*ABC−E*FG.
Q14DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
What is the output of the code written in C?
void main()
{
int k = 8, v = 8, i;
i = k/++v;
printf("%d/n", i);
}
A0
B1
C0.8
DError
Show answerHide answer
Correct answer: (A) 0
Explanation
++v makes v = 9 before the division. Then i = 8/9 = 0 because integer division drops the fraction. printf prints 0 (followed by the literal text "/n").
Q15DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Consider the following new-order strategy for traversing a given tree.
I. Visit the right subtree of a Node using new-order
II. Visit the Node
III. Visit the left subtree of a Node using new-order
The tree: P is the root. P has left child Q and right child V. Q has left child R and right child S; S has left child T; T has right child U. V has left child W and right child Z; W has right child X; X has right child Y.
What is the new-order traversal of the given tree?
AZ, V, Y,X, W,P, S, U, T,Q, R
BR, Q, T, U, S, P, W,X, Y, V, Z
CP, W, X, Y, V,Z,R, Q, T, U, S
DS, U, T,Q,R, Z, V, Y,X, W, P
Show answerHide answer
Correct answer: (A) Z, V, Y,X, W,P, S, U, T,Q, R
Explanation
This new-order is right, node, left, which is reverse in-order. The right subtree of P gives Z, V, Y, X, W. Then comes P. The left subtree gives S, U, T, Q, R.
Q16DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Consider a binary search tree given below.
Root 14 has left child 10 and right child 16. 10 has left child 7 and right child 13; 13 has left child 11. 16 has right child 20; 20 has left child 18 and right child 25; 25 has left child 22.
What is the pre-order traversal of the binary search tree after 14 is deleted?
14 has two children, so it is replaced by its in-order successor 16, the smallest key in its right subtree. 16's right child 20 moves up. Pre-order is then 16, 10, 7, 13, 11, 20, 18, 25, 22.
Q17DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Consider the following C declaration. Assume that objects of data type short, float and long occupy 2 bytes, 4 bytes and 8 bytes respectively. What is the memory requirement for variable t?
struct {
short a[5];
union {
float v;
long z;
} u;
} t;
A22 bytes
B18 bytes
C24 bytes
D10 bytes
Show answerHide answer
Correct answer: (B) 18 bytes
Explanation
short a[5] takes 5 × 2 = 10 bytes. The union takes the size of its largest member, long, which is 8 bytes. Total = 10 + 8 = 18 bytes, ignoring alignment padding.
Q18DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
________ protocol is used for uploading and downloading files between different computers.
AX.12
BXMODEM
CX.75
DXON
Show answerHide answer
Correct answer: (B) XMODEM
Explanation
XMODEM is a simple file-transfer protocol for uploading and downloading files between computers over modems. It sends data in 128-byte blocks with a checksum.
Q19DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
An operating system that helps in sharing the files across the network is known as
ANetwork operating system
BReal operating system
CTime operating system
DCoupling operating system
Show answerHide answer
Correct answer: (A) Network operating system
Explanation
A network operating system, such as Windows Server or Novell NetWare, lets computers on a network share files, printers and other resources.
Q20DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
________ mode allows transmission in either direction but not simultaneously.
ADuplex
BHalf duplex
CSimplex
DHalf-simplex
Show answerHide answer
Correct answer: (B) Half duplex
Explanation
In half duplex, data can travel in both directions but only one way at a time, like a walkie-talkie. Full duplex allows both directions at once, and simplex allows only one direction.
Q21DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which input device is used for reading answer to question in a test or survey?
AOCR
BOMR
CBarcode reader
DMICR
Show answerHide answer
Correct answer: (B) OMR
Explanation
An OMR (Optical Mark Reader) senses marks shaded in fixed positions, so it is used to read answers on objective tests and survey forms.
Q22DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following is a impact printer?
AInkjet printer
BDot-matrix printer
CLaser printer
DThermal Printer
Show answerHide answer
Correct answer: (B) Dot-matrix printer
Explanation
A dot-matrix printer forms characters by pins striking an inked ribbon against the paper, so it is an impact printer. Inkjet, laser and thermal printers are non-impact printers.
Q23DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following statement(s) is/are not true about magnetic tapes?
I. Direct access device
II. Store large volume of data
III. Use for backup purpose
AII and III
BI and III
COnly I
DOnly II
Show answerHide answer
Correct answer: (C) Only I
Explanation
Magnetic tape is a sequential-access device, not a direct-access one, so statement I is false. It does store large volumes of data cheaply and is widely used for backup.
Q24DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
A 2 way switch works as follows:
Both switches ON = light off
Both switches OFF = light off
One switch ON and other OFF = light on
Which gate can be used to implement this?
AOR
BAND
CNAND
DXOR
Show answerHide answer
Correct answer: (D) XOR
Explanation
The light is on only when the two inputs differ, which is exactly the XOR truth table: 0,0→0; 1,1→0; 0,1 or 1,0→1.
Q25DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which counter is a shift register with its complement output of the last stage connected to the D-input of the first stage?
ASynchronous
BTwisted ring
CUp
DDown
Show answerHide answer
Correct answer: (B) Twisted ring
Explanation
A twisted ring counter, also called a Johnson counter, feeds the complement of the last flip-flop's output back to the D input of the first stage. An n-bit Johnson counter has 2n states.
Q26DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Linearity error is expressed as a percentage of
AMinimum input voltage
BMaximum input voltage
CMaximum output voltage
DMinimum output voltage
Show answerHide answer
Correct answer: (C) Maximum output voltage
Explanation
For a DAC, linearity error is the largest deviation of the output from the ideal straight line. It is expressed as a percentage of the full-scale, or maximum, output voltage.
Q27DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
A code in which only one bit changes between successive numbers is known as ________ code.
AASCII
BHAMMING
CGRAY
DBCD
Show answerHide answer
Correct answer: (C) GRAY
Explanation
In Gray code, consecutive numbers differ in exactly one bit, for example 01 → 11 → 10. This is useful in shaft encoders and K-maps.
Q28DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following pair regarding sign bit is correct?
I. 0 – positive
II. 1 – negative
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
In signed number representation, the most significant bit is the sign bit: 0 means positive and 1 means negative. Both pairs are correct.
Q29DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
If (21121)₃ = (C)₄, then what is the value of C?
A(2023)₄
B(3032)₄
C(2112)₄
D(3031)₄
Show answerHide answer
Correct answer: (D) (3031)₄
Explanation
(21121)₃ = 2×81 + 1×27 + 1×9 + 2×3 + 1 = 205. Converting to base 4: 205 = 3×64 + 0×16 + 3×4 + 1, so the value is (3031)₄.
Q30DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
________ is known as the acquisition, storage, organization, retrieval, display and dissemination of information.
AData management
BInformation processing
CData structure
DProgramming management
Show answerHide answer
Correct answer: (B) Information processing
Explanation
Information processing covers acquiring, storing, organizing, retrieving, displaying and disseminating information.
Q31DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
What is the cardinality of Relation having 500 tuples and 50 attribute?
A500
B50
C450
D2500
Show answerHide answer
Correct answer: (A) 500
Explanation
Cardinality is the number of tuples (rows) in a relation, so it is 500. The number of attributes (50) is the degree.
Q32DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
How many rule does Dr. E.F. codd provides which qualify quality a database as a RDBMS?
A10
B11
C12
D13
Show answerHide answer
Correct answer: (C) 12
Explanation
E.F. Codd gave 12 rules, numbered 1-12 with an extra Rule 0 (the foundation rule), that a DBMS must satisfy to be called fully relational.
Q33DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following is a type of connection trap in Entity relationship model?
I. Fan-traps
II. Chasm-traps
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
Fan traps and chasm traps are the two kinds of connection trap in ER modelling. A fan trap gives ambiguous paths between entities, and a chasm trap gives a missing path.
Q34DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following symbol represent one to one cardinality relationship in Entity relationship diagram?
A─○|─ (a line with a circle and one bar)
B─|─ (a line with a single bar)
C─||─ (a line with a double bar)
D─|<─ (a line with a bar and a crow's foot)
Show answerHide answer
Correct answer: (B) ─|─ (a line with a single bar)
Explanation
In crow's-foot notation, a single bar means "one". A line with a single bar marks a one-to-one link. A crow's foot means "many", and a circle means "zero" (optional).
Q35DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following is NOT an approach of database design in database management system?
ATop-down approach
BBottom-up approach
CInside-out approach
DUP-down approach
Show answerHide answer
Correct answer: (D) UP-down approach
Explanation
The recognised database design approaches are top-down, bottom-up, inside-out and mixed. There is no "up-down" approach.
Q36DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following is an Aggregate operator in structured Query Language?
AMinus
BIntersect
CUnion
DCount
Show answerHide answer
Correct answer: (D) Count
Explanation
COUNT is an aggregate function: it returns one value computed over a set of rows. MINUS, INTERSECT and UNION are set operators.
Q37DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
How many address lines and input-output data are needed for the 64k ×8 memory unit?
A16 address line, 3 data line
B6 address line, 3 data line
C16 address line, 8 data line
D10 address line, 8 data line
Show answerHide answer
Correct answer: (C) 16 address line, 8 data line
Explanation
64K = 2¹⁶ words, so 16 address lines are needed. Each word is 8 bits wide, so 8 data lines are needed.
Q38DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
The 4 bit registers R1 and R2 initially have the following values.
R1 : 1010
R2 : 1100
What is the content of R1 and R2 after execution of this micro-operation?
R1 ← R1 ⊕ R2
(⊕ is the symbol of Ex-OR.)
AR1: 0110, R2: 1100
BR1:.0110, R2: 0110
CR1: 0110, R2: 0110
DR1: 1010, R2: 1100
Show answerHide answer
Correct answer: (A) R1: 0110, R2: 1100
Explanation
1010 ⊕ 1100 = 0110, and this result is stored in R1. R2 is only read, so it stays 1100.
Q39DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
The mask logical micro operation is equivalent to which logical gate?
AOR gate
BNOR gate
CAND gate
DNAND gate
Show answerHide answer
Correct answer: (C) AND gate
Explanation
The mask (selective clear) micro-operation ANDs bits with a mask, clearing the bits where the mask has 0. So it is equivalent to an AND gate.
Q40DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
How many memory references are to fetch an operand in indirect addressing?
A1
B2
C3
D4
Show answerHide answer
Correct answer: (B) 2
Explanation
In indirect addressing, the first memory access reads the operand's effective address and the second fetches the operand itself. That is 2 memory references.
Q41DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
This instruction is of what type?
ADD R1, A, B
AZero address Instruction
BTwo address Instruction
COne address Instruction
DThree address Instruction
Show answerHide answer
Correct answer: (D) Three address Instruction
Explanation
ADD R1, A, B names three operands, a destination R1 and two sources A and B (R1 ← A + B), so it is a three-address instruction.
Q42DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which attribute in HTML table tag defines the number of columns in a column group?
ABorder
BColspan
CRowspan
DSpan
Show answerHide answer
Correct answer: (D) Span
Explanation
The span attribute of <colgroup> or <col> sets how many columns the group covers. Colspan and rowspan are used on table cells (td or th).
Q43DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
When the drawee fails to make the payment on the date of maturity, then a bill is said to have been
ADiscounted
BDishonoured
CDefected
DCleared
Show answerHide answer
Correct answer: (B) Dishonoured
Explanation
A bill is dishonoured when the drawee does not pay it on the date of maturity, and it is then recorded as dishonoured in the books.
Q44DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following is/are the objective(s) of accounting?
I. Maintenance of Records of Business Transactions
II. Calculation of Profit and Loss
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
Accounting aims to keep a systematic record of business transactions and to find the profit or loss of the business, along with showing its financial position. Both statements are objectives.
Q45DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following is/are the reason(s) for difference between cash book and bank passbook?
I. Cheques paid into the bank but not yet collected
II. Interest and dividends collected by the bank
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
Both cause differences. Cheques deposited but not yet collected appear in the cash book but not in the passbook. Interest or dividends collected by the bank appear in the passbook first.
Q46DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which is the value of f'(x) at x = 4 from the following table of values?
x | 1 | 2 | 3 | 4
f(x) | 20 | 22 | 27 | 34
A9.2
B9
C10.8
D9.5
Show answerHide answer
Correct answer: (D) 9.5
Explanation
Note: the answer key gives (D) 9.5, but with this table Newton's backward formula gives f′(4) = ∇f + ∇²f/2 + ∇³f/3 = 7 + 2/2 − 1/3 ≈ 7.67. No option matches, so the table is probably misprinted.
Q47DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following statement(s) is/are correct regarding software metrics in software engineering?
I. Direct measures of the software product include functionality quality, efficiency etc. of the software.
II. Indirect measures of the software product includes lines of code produces, execution speed, memory size etc. of the software product.
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (D) Neither I nor II
Explanation
Both statements have the measures swapped. Lines of code, execution speed and memory size are direct measures. Functionality, quality and efficiency are indirect measures. So neither statement is correct.
Q48DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
The SRS document produced at the end of requirement analysis and specification is known as ________.
AWhite-box specification
BBlack-box specification
CDesign plan
DArchitectural design
Show answerHide answer
Correct answer: (B) Black-box specification
Explanation
The SRS describes what the system must do, not how it is built internally. It treats the system as a black box, so it is called a black-box specification.
Q49DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following statements are not true about CASE tool?
I. It degrades the quality
II. Reduce the drudgery in software engineer's work
III. Increase maintenance cost
AI and III
BI and III
CI and II
DI, II and III
Show answerHide answer
Correct answer: (A) I and III
Explanation
Note: options (a) and (b) are printed identically ("I and III") in the official paper; the official key marks (a).
Q50DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Process of recovering the design and the requirement specification of a product an analysis of its code is called as
ASoftware analysis
BSoftware engineering
CSoftware reverse engineering
Dsoftware return engineering
Show answerHide answer
Correct answer: (C) Software reverse engineering
Explanation
Reverse engineering analyses existing code to recover its design and requirements specification. It is often used when maintaining legacy software.
Q51DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Spiral model of software development is also known as a
ASuccessive model
BMeta modal
CPrototype model
DRisk model
Show answerHide answer
Correct answer: (B) Meta modal
Explanation
The spiral model is called a meta model because it includes the other models: each loop can use waterfall, prototyping or incremental steps, with risk analysis added.
Q52DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
In which debugging approach, the program is loaded with print statements to print the intermediate values with the hope that some of the printed values will help to identify the statement as error?
ABacktracking
BCause Elimination Method
CBrute Force Method
DProgram Slicing
Show answerHide answer
Correct answer: (C) Brute Force Method
Explanation
In the brute force debugging method, the program is filled with print statements and memory dumps in the hope that the printed values will reveal the faulty statement. It is the most common but least efficient method.
Q53DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following is a invalid relational operator in Java?
A<=
B=>
C!=
D==
Show answerHide answer
Correct answer: (B) =>
Explanation
Java's relational operators are <, >, <=, >=, == and !=. "=>" is not a valid operator in Java.
Q54DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following are monolithic kernel Systems?
I. Linux
II. Windows
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
Linux is a classic monolithic kernel. The Windows NT kernel also runs most OS services in kernel mode and is usually described as hybrid, but the exam treats both as monolithic.
Q55DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following statement(s) is/are true regarding processes and threads in operating system?
I. Threads encapsulates concurrency within a process.
II. Process encapsulates protection within the system.
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
Threads give concurrency inside a single process. A process gives protection: each process has its own address space and resources. Both statements are true.
Q56DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following statement(s) is/are true regarding threads in operating system?
I. The threads in a process are visible to other processes.
II. A thread is strictly private resource of a process.
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (B) Only II
Explanation
A thread belongs to its process and shares only that process's resources, so it is private to the process. Threads of one process are not visible to other processes, so statement I is false.
Q57DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following is not a state of a process in operating system?
AWaiting
BExcite
CRunning
DReady
Show answerHide answer
Correct answer: (B) Excite
Explanation
The standard process states are new, ready, running, waiting (blocked) and terminated. "Excite" is not a process state.
Q58DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following is not a CPU scheduling Algorithm?
AFCFS
BC-SCAN
CSJF
DSJN
Show answerHide answer
Correct answer: (B) C-SCAN
Explanation
C-SCAN is a disk scheduling algorithm. FCFS, SJF and SJN (shortest job next) are CPU scheduling algorithms.
Q59DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following statement(s) is/are true about CPU scheduling algorithm?
I. Shortest remaining time first scheduling may cause starvation.
II. Round Robin is better than First Come First Serve in terms of response time.
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
SRTF keeps choosing short jobs, so long jobs can starve. Round Robin gives every process a time slice quickly, so its response time is better than FCFS. Both statements are true.
Q60DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Short run marginal cost curve is
AS-shaped
BU-shaped
CV-shaped
DInverse U-shaped
Show answerHide answer
Correct answer: (B) U-shaped
Explanation
Because of the law of variable proportions, short-run marginal cost first falls and then rises, so the SMC curve is U-shaped.
Q61DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following is/are the tool(s) of monetary policy of the RBI?
I. Reverse Repo Rate
II. Repo Rate
III. Bank Rate
AI and II
BII and III
COnly III
DI, II and III
Show answerHide answer
Correct answer: (D) I, II and III
Explanation
Repo rate, reverse repo rate and bank rate are all quantitative instruments that the RBI uses to control money supply and credit.
Q62DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following statement is NOT correct regarding monopolistic competition?
AThe marginal revenue is slightly less than average revenue
BThe goods produced by them are not homogeneous
CThe demand cure faced by the firm is horizontal
DThe market structure of the firm allows for new firms to enter the market
Show answerHide answer
Correct answer: (C) The demand cure faced by the firm is horizontal
Explanation
In monopolistic competition, products are differentiated, so each firm faces a downward-sloping demand curve. A horizontal demand curve belongs to perfect competition.
Q63DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which statements are true about local area network?
I. Communication takes place by way of satellites, microwave.
II. Faster than wide area network
III. Covers limited area
AI and II
BII and III
CI and III
DI, II and III
Show answerHide answer
Correct answer: (B) II and III
Explanation
A LAN covers a limited area and is faster than a WAN. Communication through satellites and microwave links is a feature of a WAN, so only II and III are true.
Q64DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which statements are true about wide area network?
I. Covers wide geographical area
II. Communication take place way of satellites, microwaves
III. Relatively faster local area network
AI and II
BII and III
CI and III
DI, II and III
Show answerHide answer
Correct answer: (A) I and II
Explanation
A WAN covers a wide geographical area and often uses satellites and microwave links. It is slower than a LAN, not faster, so statement III is false.
Q65DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
What does the acronym of ICMP protocol?
AInternet Contention Message Protocol
BInternet Communication message Protocol
CInternet Control Message Protocol
DInternet Carrier Message Protocol
Show answerHide answer
Correct answer: (C) Internet Control Message Protocol
Explanation
ICMP stands for Internet Control Message Protocol. It carries error and control messages for IP, and ping and traceroute use it.
Q66DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following statement(s) is/are not true about star topology?
I. Failure of the central Computer shutdown the entire network
II. Connection of additional computers increase the communication time
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (B) Only II
Explanation
Statement I is true: if the central hub fails, the whole star network goes down. Statement II is false: each node has its own link to the hub, so adding computers does not noticeably increase communication time.
Q67DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
In Ethernet, when Manchester encoding is used, then the pulse width are ________ of the straight binary encoding.
ASame
BHalf
CTwice
DOne third
Show answerHide answer
Correct answer: (B) Half
Explanation
Manchester encoding has a transition in the middle of every bit, so each bit becomes two half-bit pulses. The pulse width is half that of straight binary, which doubles the baud rate.
Q68DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which data transmission technique in a computer network required dedicated communication channel?
ACircuit switching
BPacket switching
CMessage switching
DFrame switching
Show answerHide answer
Correct answer: (A) Circuit switching
Explanation
Circuit switching sets up a dedicated path between sender and receiver for the whole session, as in a telephone call. Packet and message switching share links.
Q69DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
What is the description of append keyword of visual Basic net keyword?
ABoolean operation
BUsed in the declare statement
CUsed as a symbolic constant in the fileopen function
DAssembly-attribute specifier
Show answerHide answer
Correct answer: (C) Used as a symbolic constant in the fileopen function
Explanation
In VB.NET, Append is used as a symbolic constant (OpenMode.Append) in the FileOpen function, to open a file and add data at its end.
Q70DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following business models falls into the category of 'Transplanted Real-World Business Models'?
AFree trial model
BFreeware model
CAccess provision model
DDigital products model
Show answerHide answer
Correct answer: (A) Free trial model
Explanation
Transplanted real-world models are offline business models moved to the internet, such as mail-order, advertising, subscription and free trial. Freeware, access provision and digital products are native internet models.
Q71DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Procedure for online trading involve(s) which of the following step(s)?
I. Make an application to open a Demat Account and Online Trading Account.
II. Allocate funds from the bank account to the trading account.
III. Once the order is confirmed, it is placed in the stock exchange through the online trading system.
AI and II
BOnly III
CI, II and III
DII and III
Show answerHide answer
Correct answer: (C) I, II and III
Explanation
Online trading involves all three steps: open a demat and online trading account, move funds from the bank account to the trading account, and place the confirmed order on the stock exchange through the online system.
Q72DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following can be the valid balance factor of any node in an AVL tree?
A1
B2
C3
D4
Show answerHide answer
Correct answer: (A) 1
Explanation
An AVL tree allows each node a balance factor (left height minus right height) of only −1, 0 or +1. So 1 is valid, while 2, 3 and 4 would need a rebalancing rotation.
Q73DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
The vertex in graph with degree one is known as
AIsolated vertex
BLoop vertex
CPendant vertex
DExternal vertex
Show answerHide answer
Correct answer: (C) Pendant vertex
Explanation
A pendant vertex has degree exactly one. An isolated vertex has degree zero.
Q74DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
For the given graph, what does the following matrix represent?
Graph: vertices V1, V2, V3, V4 with edges e1 = V1–V3, e2 = V3–V4, e3 = V2–V3, e4 = V2–V4, e5 = V1–V4.
Matrix (rows and columns v1, v2, v3, v4):
[ 0 0 1 1 ]
[ 0 0 1 1 ]
[ 1 1 0 1 ]
[ 1 1 1 0 ]
AAdjacency matrix
BIncidence matrix
CCircuit matrix
DCut-set matrix
Show answerHide answer
Correct answer: (A) Adjacency matrix
Explanation
The matrix is square, vertex by vertex, and entry (i, j) = 1 exactly when vi and vj are joined by an edge. For example, V1 is joined to V3 and V4. So it is the adjacency matrix. An incidence matrix would be vertex by edge.
Q75DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Consider the following weighted digraph. What is the shortest distance between V1 to V5?
Edges (from → to, weight): V1 → V2 (30), V2 → V3 (70), V3 → V5 (30), V1 → V4 (50), V4 → V3 (40), V4 → V5 (80), V1 → V5 (120)
A140
B120
C130
D110
Show answerHide answer
Correct answer: (B) 120
Explanation
Path costs: V1→V2→V3→V5 = 130, V1→V4→V3→V5 = 120, V1→V4→V5 = 130 and V1→V5 = 120. The minimum is 120.
Q76DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following is a component of Decision Support System (DSS)?
I. User interface
II. Knowledge engine
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
A DSS has a user interface for interacting with the user, plus a database and a model base or knowledge engine that does the analysis. Both are components.
Q77DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
CDMA is a example of which generation of cellular network?
A2G
B5G
C3.5G
D4G
Show answerHide answer
Correct answer: (A) 2G
Explanation
CDMA was first used commercially in cdmaOne (IS-95), a 2G digital cellular standard. Later CDMA-based 3G systems were CDMA2000 and WCDMA.
Q78DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Arrange the following mobile data speed in ascending order.
GSM, LTE, GPRS, EDGE
AGSM, GPRS, EDGE,LTE
BGSM, EDGE,GPRS,LTE
CGPRS, GSM,LTE,EDGE
DGSM, GPRS,LTE, EDGE
Show answerHide answer
Correct answer: (A) GSM, GPRS, EDGE,LTE
Explanation
The data speeds rise in this order: GSM (about 9.6-14.4 kbps), GPRS (about 114 kbps), EDGE (about 384 kbps), then LTE (tens to hundreds of Mbps).
Q79DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Circle have ________ way symmetry.
ATwo
BFour
CEight
DOne
Show answerHide answer
Correct answer: (C) Eight
Explanation
A circle is symmetric in all eight octants, so computing one point (x, y) gives eight points (±x, ±y) and (±y, ±x). Bresenham's and the midpoint algorithms use this.
Q80DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which matrix represents rotation of an object by 30° about the origin?
AR30 = [ 1/2 √3/2; √3/2 −1/2 ]
BR30 = [ √3/2 −1/2; 1/2 √3/2 ]
CR30 = [ −1/2 √3/2; √3/2 1/2 ]
DR30 = [ √3/2 −1/2; √3/2 1/2 ]
Show answerHide answer
Correct answer: (B) R30 = [ √3/2 −1/2; 1/2 √3/2 ]
Explanation
The rotation matrix is [cosθ −sinθ; sinθ cosθ]. With cos30° = √3/2 and sin30° = 1/2, this gives [√3/2 −1/2; 1/2 √3/2].
Q81DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which colour specification in CSS use three numbers representing the hue (form 0 to 360 degree), saturation and lightness percentage?
AHexadecimal
BRGB
CHSL
DAlpha
Show answerHide answer
Correct answer: (C) HSL
Explanation
HSL stands for Hue, Saturation and Lightness, for example hsl(120, 100%, 50%). Hue is an angle from 0 to 360°, and saturation and lightness are percentages.
Q82DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
What is the full form of JPEG image form?
AJoint Photographic Experts Group
BJoint Photographic Experts Graphics
CJoint Photo Experts Group
DJoint Photo Experts Graphics
Show answerHide answer
Correct answer: (A) Joint Photographic Experts Group
Explanation
JPEG stands for Joint Photographic Experts Group, the committee that created this lossy image compression standard.
Q83DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which statements are true about sequence structure during program execution?
I. Each statement is executed once
II. No statement is repeated
III. The statements are executed in any order
AII and III
BI and III
CI and II
DI, II and III
Show answerHide answer
Correct answer: (C) I and II
Explanation
In a sequence structure, statements run one after another in the written order. Each runs exactly once and none repeats. They are not executed in any order, so III is false.
Q84DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
What is the mean of the mode and median of the data given below?
8, 7, 5, 4, 9, 1, 3, 7, 6, 5, 2, 1, 6, 3, 9, 8, 4, 6
A6.5
B53.75
C6.25
D5.5
Show answerHide answer
Correct answer: (B) 53.75
Explanation
Note: the answer key gives (B) 53.75, but sorted data 1,1,2,3,3,4,4,5,5,6,6,6,7,7,8,8,9,9 has mode 6 and median (5+6)/2 = 5.5. Their mean is (6 + 5.5)/2 = 5.75, so "53.75" is likely a misprint of 5.75.
Q85DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Let P be the median of the data: 34, 28, 20, 32, 15, 9, 23, 26, 35, 16, 33, 43. If 16 and 23 are replaced by 30 and 32 respectively in the data, then let Q be the median of the resulting data. What is the value of (3P-2Q)?
A18
B19
C21
D15
Show answerHide answer
Correct answer: (B) 19
Explanation
Sorted, the data is 9,15,16,20,23,26,28,32,33,34,35,43, so P = (26+28)/2 = 27. After the replacements it is 9,15,20,26,28,30,32,32,33,34,35,43, so Q = (30+32)/2 = 31. Then 3P − 2Q = 81 − 62 = 19.
Q86DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
A bag L contains 2 white and 3 red balls and a bag M contains 4 white and 5 red balls. One ball is drawn at random from one of the bags and is found to be red. What is the probability that it was drawn from the bag M?
Q87DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which is Lagrange's interpolation polynomial for the following data?
x | 2 | 4
f(x) | 3 | 5
A2x + 6
Bx + 5
Cx + 1
D2x + 5
Show answerHide answer
Correct answer: (C) x + 1
Explanation
With two points, Lagrange's formula gives f(x) = 3(x−4)/(2−4) + 5(x−2)/(4−2) = −1.5x + 6 + 2.5x − 5 = x + 1. Check: f(2) = 3 and f(4) = 5.
Q88DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following is/are the characteristic(s) of an effective method of teaching and learning?
I. Provides a scope for peer learning
II. Encourages students to think independently and construct knowledge of their own
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
Effective teaching lets students learn from peers and encourages them to think independently and build their own knowledge, as constructivism suggests. Both are characteristics.
Q89DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following statement(s) is/are correct?
I. Materials for activity learning need to be relevant, contextual and related to real life experiences
II. Textbook is an essential material for teaching and learning
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
Activity materials should be relevant, contextual and linked to real life. The textbook is still an essential basic resource for teaching and learning. Both statements are accepted as correct.
Q90DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following is not a feature of formative assessment?
AIt is diagnostic and remedial
BIt provides a platform for the active involvement of students in their own learning
CIt is conducted at regular intervals on informal basis
DIt ensure provision for effective feedback
Show answerHide answer
Correct answer: (C) It is conducted at regular intervals on informal basis
Explanation
Formative assessment is continuous and built into everyday teaching. It is diagnostic and remedial, involves students and gives feedback. Holding it at fixed intervals is more typical of periodic or summative assessment.
Q91DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following statement(s) is/are correct?
I. After completion of teaching a topic, we always desire to known the extent of acquisition of knowledge and understanding of the topic and compare the achievement of each individual against the desired level of achievement. This process is called assessment of learning.
II. Mr. Rohan was assessing the performance of students while teaching-learning process was going on. He used the results of assessment for improvement of learning and his own teaching process. This process is called Assessment for learning.
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
Statement I describes assessment of learning (summative), which measures achievement after teaching. Statement II describes assessment for learning (formative), which uses results during teaching to improve learning. Both are correct.
Q92DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
In humans which of the following body part(s) has been adapted for speech?
I. Lungs
II. Nose
III. Tongue
AI, II and III
BII and III
COnly III
DOnly III
Show answerHide answer
Correct answer: (A) I, II and III
Explanation
Note: options (c) and (d) are printed identically ("Only III") in the official paper; the official key marks (a).
Q93DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following statement(s) is/are correct?
I. Language acquisition refers to developing competence in a language by using it in natural, communicative situations (as available while learning languages we hear in our homes and the neighbourhood).
II. Language learning refers to developing competence in a language by learning it rules and vocabulary through explicit teaching in a classroom setting.
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
Acquisition happens naturally through use in real communicative settings, like a home language. Learning happens through explicit classroom teaching of rules and vocabulary. Both definitions are correct.
Q94DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Art education is the area of learning that is based upon
I. Visual, tangible art
II. Performing arts
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
Art education covers both visual or tangible arts, such as drawing, painting and sculpture, and performing arts, such as music, dance and drama.
Q95DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following statement(s) is/are correct about Regional art and craft?
I. Art originating among the people of region reflecting their traditional culture.
II. It does not have its own aesthetics but they are not governed by the principles of proportions and rhythms.
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
Regional art and craft comes from the people of a region and reflects their traditional culture. It has its own folk aesthetics and is not bound by classical rules of proportion and rhythm. Both statements are taken as correct.
Q96DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following things(s) a teacher should do consciously to avoid gender bias and to promote gender equality?
I. They must use gender-neutral language and encourage children also to do so.
II. Teacher may avoid assigning gendered jobs.
AOnly I
BOnly II
CBoth I and II
DNeither I nor II
Show answerHide answer
Correct answer: (C) Both I and II
Explanation
To promote gender equality, teachers should use gender-neutral language and avoid giving tasks based on gender stereotypes. Both practices help.
Q97DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which of the following is/are the sources(s) of gender discrimination?
I. Educational opportunities
II. Government policies
III. Family and parents
AI and III
BI, II and III
COnly III
DI and II
Show answerHide answer
Correct answer: (B) I, II and III
Explanation
Gender discrimination can come from unequal educational opportunities, from government policies and from family and parents' attitudes, so all three are sources.