Previous Year Paper · Questions with answers

DSSSB PGT Computer Science PYQ (Technical), 11 Jul 2021

All 197 questions of DSSSB PGT Computer Science PYQ (Technical), 11 Jul 2021 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.

  • 197 questions
  • 197 explained
  • Official answer key
  • Free
Q1DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is the function ofs the program counter register?
  1. AIt holds the operand address
  2. BIt holds the address of current instruction
  3. CIt holds the address of previous instruction
  4. 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.

Q2DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which component of the computer is used to resolve the difference between CPU and the peripheral device?
  1. AMemory unit
  2. BArithmetic Logic Unit
  3. CInterface unit
  4. DControl unit
Show answerHide answer

Correct answer: (C) Interface unit

Explanation

An interface unit sits between the CPU and a peripheral and resolves differences in speed, data format, signal values and timing between them.

Q3DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is the function of data input command in I/O command?
  1. AActivate the peripheral and to inform it what to do
  2. BTo check status conditions in the interface and the peripheral
  3. CIt cause the interface to respond by transferring data from bus into one of its registers
  4. 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.

Q4DSSSB PGT Computer Science (Technical), 11 Jul 2021
When Bus Grant (BG) = 1 in direct memory access (DMA) transfer, then what function read line and write lines perform?
  1. ARead line and write line act as input line allowing CPU to communicate with internal DMA register
  2. BRead line act as input line and write line act as output line from DMA
  3. CRead line act as output line and write line act as input line from DMA controller
  4. 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.

Q5DSSSB PGT Computer Science (Technical), 11 Jul 2021
Following memory units in descending order. Gigabyte, Megabyte, Exabyte, Zettabyte, Petabyte, Yottabyte
  1. AYottabyte, Zettabyte, Exabyte, Petabyte, Gigabyte, Megabyte
  2. BZettabyte, Yottabyte, Petabyte, Exabyte, Megabyte, Gigabyte
  3. CYottabyte, Exabyte, Petabyte, Zettabyte, Gigabyte, Megabyte
  4. DZettabyte, Petabyte, Yottabyte, Exabyte, Gigabyte, Megabyte
Show answerHide answer

Correct answer: (A) Yottabyte, Zettabyte, Exabyte, Petabyte, Gigabyte, Megabyte

Explanation

In powers of 1024: yottabyte (2⁸⁰) > zettabyte (2⁷⁰) > exabyte (2⁶⁰) > petabyte (2⁵⁰) > gigabyte (2³⁰) > megabyte (2²⁰).

Q6DSSSB PGT Computer Science (Technical), 11 Jul 2021
How many 16 K x 1 bit RAM chips are needed to provide a memory capacity of 128 K x 1 byte?
  1. A8
  2. B12
  3. C64
  4. D128
Show answerHide answer

Correct answer: (C) 64

Explanation

Required capacity is 128K × 8 bits. Each chip is 16K × 1 bit, so (128K/16K) × (8/1) = 8 × 8 = 64 chips.

Q7DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is minuend value in the following? subtract (011100)₂ from (1011100)₂?
  1. A(111000)₂
  2. B(1011100)₂
  3. C(100100)₂
  4. 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.

Q8DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which component of computer act as nervous system?
  1. AArithmetic Logic Unit
  2. BInput unit
  3. CControl unit
  4. DStorage unit
Show answerHide answer

Correct answer: (C) Control unit

Explanation

The control unit directs and coordinates every other part of the computer by sending control signals, just as the nervous system coordinates the body.

Q9DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which translator is used to convert assembly language to machine language?
  1. AAssembler
  2. BCompiler
  3. CInterpreter
  4. 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.

Q10DSSSB PGT Computer Science (Technical), 11 Jul 2021
When n bits are used to represent an operation (op) code, then how many different operations a computer can perform?
  1. An operation
  2. B2 × n operation
  3. C2ⁿ operation
  4. D2/n operation
Show answerHide answer

Correct answer: (C) 2ⁿ operation

Explanation

n bits can form 2ⁿ distinct bit patterns, so an n-bit opcode can encode 2ⁿ different operations.

Q11DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is the value of product of (10110)₂ and (10011)₂?
  1. A(110110101)₂
  2. B(110100010)₂
  3. C(110100001)₂
  4. D(110100100)₂
Show answerHide answer

Correct answer: (B) (110100010)₂

Explanation

(10110)₂ = 22 and (10011)₂ = 19, so the product is 22 × 19 = 418. 418 = 256 + 128 + 32 + 2 = (110100010)₂.

Q12DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is the value of (3564)₈ + (323232)₄?
  1. A(1E62)₁₆
  2. B(1662)₁₆
  3. C(1762)₁₆
  4. D(1562)₁₆
Show answerHide answer

Correct answer: (B) (1662)₁₆

Explanation

(3564)₈ = 1908 and (323232)₄ = 3822. The sum is 5730, and 5730 = 1×4096 + 6×256 + 6×16 + 2, which is (1662)₁₆.

Q13DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is the 2's complement of (−28)₁₀ in 16 bit representation?
  1. A1000000000011100
  2. B1111111111100011
  3. C1111111111100100
  4. D1111111111100101
Show answerHide answer

Correct answer: (C) 1111111111100100

Explanation

+28 in 16 bits is 0000000000011100. Inverting the bits gives 1111111111100011, and adding 1 gives 1111111111100100.

Q14DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is 6's complement of (1543)₇ of the computer?
  1. A(6132)₇
  2. B(5132)₇
  3. C(5123)₇
  4. D(5432)₇
Show answerHide answer

Correct answer: (C) (5123)₇

Explanation

For base 7, the 6's complement (diminished radix complement) is found by subtracting each digit from 6: 6666 − 1543 = (5123)₇.

Q15DSSSB PGT Computer Science (Technical), 11 Jul 2021
Information about each process in operating system is maintained by ________.
  1. AScheduler
  2. BProcess control block
  3. CCentral Processing Unit
  4. DProgram Counter
Show answerHide answer

Correct answer: (B) Process control block

Explanation

The OS keeps each process's state, program counter, registers, scheduling and memory information in its Process Control Block (PCB).

Q16DSSSB PGT Computer Science (Technical), 11 Jul 2021
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
  1. Ai-D, ii-C, iii-B, iv-A
  2. Bi-A, ii-B, iii-C, iv-D
  3. Ci-D, ii-A, iii-B, iv-C
  4. 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.

Q17DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is Throughput in process scheduling?
  1. ATime required to complete a process
  2. BNumber of processes completed per unit time
  3. CTime required by a process to respond
  4. DTime required to abort a process
Show answerHide answer

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.

Q18DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is a function of an operating system? I. Memory allocation II. Resource utilization
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (C) Both I and II

Explanation

Memory allocation and managing resources for efficient utilization are both core functions of an operating system.

Q19DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which one of these is not a condition for Resource Deadlock?
  1. ANon-sharable resources
  2. BHold-and-wait
  3. CPreemption
  4. 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.

Q20DSSSB PGT Computer Science (Technical), 11 Jul 2021
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
  1. AA-iii, B-i, C-iv, D-ii
  2. BA-i, B-iv, C-ii, D-iii
  3. CA-iii, B-iv, C-i, D-ii
  4. 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.

Q21DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following statement is true about semaphore? I. It can be implemented using software II. It can be implemented using hardware
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. 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.

Q22DSSSB PGT Computer Science (Technical), 11 Jul 2021
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?
  1. AWorst Fit
  2. BBest Fit
  3. CNext Fit
  4. 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.

Q23DSSSB PGT Computer Science (Technical), 11 Jul 2021
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?
  1. A9
  2. B10
  3. C8
  4. 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.

Q24DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which one of the following is not a condition for process state transition from running state to wait state?
  1. AIf a process request an Input/Output operation
  2. BIf a higher priority process arrived
  3. CIf a lower priority process arrived
  4. 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).

Q25DSSSB PGT Computer Science (Technical), 11 Jul 2021
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)
  1. A119 seconds
  2. B129 seconds
  3. C109 seconds
  4. 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.

Q26DSSSB PGT Computer Science (Technical), 11 Jul 2021
The Boolean expression AB + A'C + BC = ________
  1. AAB
  2. BAB + A'B
  3. CAB + A'C
  4. DA'B + A'C
Show answerHide answer

Correct answer: (C) AB + A'C

Explanation

By the consensus theorem, BC is redundant: BC = BC(A + A') = ABC + A'BC, which is absorbed by AB and A'C. So AB + A'C + BC = AB + A'C.

Q27DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which logical gate is known as Universal gate?
  1. AAND
  2. BEx-OR
  3. CNOT
  4. DNAND
Show answerHide answer

Correct answer: (D) NAND

Explanation

NAND (and NOR) are universal gates because any Boolean function, including NOT, AND and OR, can be built using only NAND gates.

Q28DSSSB PGT Computer Science (Technical), 11 Jul 2021
How many rows are there in a truth table having 'n' variables?
  1. A2n
  2. Bn²
  3. Clog₂n
  4. D2ⁿ
Show answerHide answer

Correct answer: (D) 2ⁿ

Explanation

Each of the n variables can be 0 or 1, giving 2ⁿ input combinations, so the truth table has 2ⁿ rows.

Q29DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is the representation of (4589)₁₀ in Binary Coded Decimal (BCD) form?
  1. A0100011010001001
  2. B0100010110001001
  3. C1001011000100100
  4. D1011001000100100
Show answerHide answer

Correct answer: (B) 0100010110001001

Explanation

In BCD each decimal digit is coded separately in 4 bits: 4 = 0100, 5 = 0101, 8 = 1000, 9 = 1001, giving 0100 0101 1000 1001.

Q30DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is the full form of DCTL in logic family?
  1. ADirect-coupled transistor logic
  2. BDiode-coupled transistor logic
  3. CDirect-circuit transistor logic
  4. DDirect -circuit threshold logic
Show answerHide answer

Correct answer: (A) Direct-coupled transistor logic

Explanation

DCTL stands for Direct-Coupled Transistor Logic, an early logic family in which transistors are connected directly without coupling resistors.

Q31DSSSB PGT Computer Science (Technical), 11 Jul 2021
A product of sum (POS) form of logic function consist of only ________ while a sum of product (SOP) form of logic function consist of only ________.
  1. AMaxterms; maxterms
  2. BMinterms; minterms
  3. CMinterms; maxterms
  4. DMaxterms; minterms
Show answerHide answer

Correct answer: (D) Maxterms; minterms

Explanation

A POS expression is a product of maxterms (OR terms), and an SOP expression is a sum of minterms (AND terms).

Q32DSSSB PGT Computer Science (Technical), 11 Jul 2021
A decimal to Binary Coded Encoder have ________ inputs and ________ outputs.
  1. A4: 4
  2. B10: 4
  3. C4: 10
  4. D2: 10
Show answerHide answer

Correct answer: (B) 10: 4

Explanation

A decimal-to-BCD encoder has 10 inputs (one for each digit 0-9) and 4 outputs (the 4-bit BCD code).

Q33DSSSB PGT Computer Science (Technical), 11 Jul 2021
A logic circuit that accepts one input and distributes it over several output is known as ________.
  1. AMultiplexer
  2. BEncoder
  3. CFlip flop
  4. DDemultiplexer
Show answerHide answer

Correct answer: (D) Demultiplexer

Explanation

A demultiplexer takes one input and routes it to one of several outputs according to select lines. A multiplexer does the opposite.

Q34DSSSB PGT Computer Science (Technical), 11 Jul 2021
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: _ _ _ _
  1. AA'B'C'D' + A'BC'D + A'BCD' + ABC'D' + ABC'D
  2. BA'B'C'D' + A'BC'D + AB'C'D + ABC'D' + ABCD
  3. CA'B'C'D + A'BC'D + ABC'D + ABCD' + A'B'CD
  4. DA'B'C'D' + ABC'D + ABC'D' + ABC'D' + A'BCD
Show answerHide answer

Correct answer: (B) A'B'C'D' + A'BC'D + AB'C'D + ABC'D' + ABCD

Explanation

The 1-cells are A'B'C'D' and ABC'D' (CD=00), A'BC'D and AB'C'D (CD=01), and ABCD (CD=11). Adding these five minterms gives option (B).

Q35DSSSB PGT Computer Science (Technical), 11 Jul 2021
The binary equivalent of (25.625)₁₀ is ________.
  1. A(10001.11)₂
  2. B(11101.001)₂
  3. C(11011.100)₂
  4. D(11001.101)₂
Show answerHide answer

Correct answer: (D) (11001.101)₂

Explanation

25 = (11001)₂. For 0.625: ×2 = 1.25 (1), 0.25×2 = 0.5 (0), 0.5×2 = 1.0 (1), giving .101. So 25.625 = (11001.101)₂.

Q36DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is the relation between N select inputs and M inputs lines in a multiplexer?
  1. A2^M = N
  2. B2^N = M
  3. C2M = N
  4. D2N = M
Show answerHide answer

Correct answer: (B) 2^N = M

Explanation

N select lines can address 2ᴺ inputs, so a multiplexer with M data inputs needs N select lines where 2ᴺ = M.

Q37DSSSB PGT Computer Science (Technical), 11 Jul 2021
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 ________
  1. ANAND gate, bit, T-flip-flop
  2. BOR gate, nibble, T-flip-flop
  3. CAND gate, nibble, D-flip-flop
  4. 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.

Q38DSSSB PGT Computer Science (Technical), 11 Jul 2021
Gray code representation of (27)₁₀ is ________.
  1. A11011
  2. B11100
  3. C10110
  4. D11010
Show answerHide answer

Correct answer: (C) 10110

Explanation

27 = (11011)₂. The Gray code keeps the MSB and XORs adjacent bits: 1, 1⊕1=0, 0⊕1=1, 1⊕0=1, 1⊕1=0, giving 10110.

Q39DSSSB PGT Computer Science (Technical), 11 Jul 2021
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.
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. 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.

Q40DSSSB PGT Computer Science (Technical), 11 Jul 2021
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.
  1. A11, 10, 00
  2. B11, 10, 01
  3. C10, 11, 01
  4. 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.

Q41DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is NOT an attribute of good programming languages?
  1. AClarity, simplicity and unity
  2. BSupport for abstraction
  3. CEase of program verification
  4. 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.

Q42DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which symbol is used to represent an input/output operation in the flow chart?
  1. AOval
  2. BCircle
  3. CRectangle
  4. DParallelogram
Show answerHide answer

Correct answer: (D) Parallelogram

Explanation

In flowcharts a parallelogram shows input/output, a rectangle shows processing, an oval marks start/end and a diamond marks decisions.

Q43DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is false regarding the machine language?
  1. AIt is machine dependent
  2. BIt easier to modify
  3. CIt is made up of 1's and 0's
  4. DIt is difficult to program
Show answerHide answer

Correct answer: (B) It easier to modify

Explanation

Machine language is hard to read and modify because it is pure binary and machine-dependent. So "easier to modify" is false.

Q44DSSSB PGT Computer Science (Technical), 11 Jul 2021
When the rules of the programming language are not followed it gives ________ errors.
  1. ASyntax
  2. BLogical
  3. Crun time
  4. DPrinting
Show answerHide answer

Correct answer: (A) Syntax

Explanation

Breaking the grammar rules of a language (e.g., a missing semicolon or misspelt keyword) causes syntax errors, which the compiler or interpreter reports.

Q45DSSSB PGT Computer Science (Technical), 11 Jul 2021
The speed of supercomputer is measured in ________.
  1. AFloating -point operations per hour
  2. BFloating -point operations per day
  3. CFloating -point operations per second
  4. DFloating-point operations per minute
Show answerHide answer

Correct answer: (C) Floating -point operations per second

Explanation

Supercomputer speed is measured in FLOPS (floating-point operations per second), e.g., petaFLOPS.

Q46DSSSB PGT Computer Science (Technical), 11 Jul 2021
What does the Form.StartPosition property represent in Visual Basic?
  1. AIt determine the end position of the form
  2. BIt determines the initial position of the form
  3. CIt determines the current position of the form
  4. DIt determines the next position of the form
Show answerHide answer

Correct answer: (B) It determines the initial position of the form

Explanation

Form.StartPosition sets where the form first appears when it opens (e.g., CenterScreen or Manual), that is, its initial position.

Q47DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following statement(s) is/are true about Break All Visual Basic toolbar buttons? I. Delete the selected item II. Pauses execution of your program
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (B) Only II

Explanation

The Break All button pauses (breaks) execution of the running program so it can be debugged. It does not delete items.

Q48DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which is not an acceptable control name in visual basic?
  1. AtxtAge
  2. BbtnCalc
  3. ClblDistance
  4. DtxtFirst+Last Name
Show answerHide answer

Correct answer: (D) txtFirst+Last Name

Explanation

Control names must be one word made of letters, digits and underscores. "txtFirst+Last Name" contains a + sign and a space, so it is invalid.

Q49DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is the full form of IDE in visual basic?
  1. AIntegration development environment
  2. BIntegrated development environment
  3. CIntegrated drive electronics
  4. DIntegrated development electronics
Show answerHide answer

Correct answer: (B) Integrated development environment

Explanation

IDE means Integrated Development Environment: the editor, designer, compiler and debugger combined in one tool.

Q50DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is the shortcut key of Step Over in Visual Basic?
  1. AF9
  2. BF10
  3. CF6
  4. DF11
Show answerHide answer

Correct answer: (B) F10

Explanation

In the Visual Studio/VB.NET debugger, F10 is Step Over (it runs a procedure call as one step), F11 is Step Into and F9 toggles a breakpoint.

Q51DSSSB PGT Computer Science (Technical), 11 Jul 2021
Match the following window of visual basic with their function. A. Immediate window — i. It Display the properties for the current object B. Properties window — ii. It design the form C. Project explorer windows — iii. It list the forms and modules for the current projects D. Design window — iv. It give current values of variables
  1. AA-iv, B-i, C-iii, D-ii
  2. BA-ii, B-i, C-iii, D-iv
  3. CA-i, B-iii, C-ii, D-iv
  4. DA-iv, B-iii, C-ii, D-i
Show answerHide answer

Correct answer: (A) A-iv, B-i, C-iii, D-ii

Explanation

The Immediate window shows/evaluates current variable values, the Properties window shows the selected object's properties, Project Explorer lists forms and modules, and the Design window is where the form is designed.

Q52DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which one of the following is correct regarding Programming Languages?
  1. AProcedural programming – Functions
  2. BObject-oriented programming – Objects
  3. CFunctional programming – Logical unit
  4. DLogical Programming – Function
Show answerHide answer

Correct answer: (B) Object-oriented programming – Objects

Explanation

Object-oriented programming is organised around objects. Procedural programming is built on procedures, functional programming on functions, and logic programming on facts and rules.

Q53DSSSB PGT Computer Science (Technical), 11 Jul 2021
In a modular programming approach problem is further divided into ________.
  1. AQuestion
  2. BSolution
  3. CModules
  4. DObject
Show answerHide answer

Correct answer: (C) Modules

Explanation

Modular programming breaks a problem into smaller, independent modules that are developed and tested separately.

Q54DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following statement(s) is/are correct about modular programming approach? I. Ease of use II. Reusability
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (C) Both I and II

Explanation

Breaking a program into modules makes it easier to use and maintain, and lets the modules be reused in other programs.

Q55DSSSB PGT Computer Science (Technical), 11 Jul 2021
How the object interact with each other in object oriented programming?
  1. ABy ringing
  2. BBy text
  3. CBy sending message
  4. DBy transmitting signal
Show answerHide answer

Correct answer: (C) By sending message

Explanation

Objects communicate by message passing, that is, one object calls another object's methods.

Q56DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is the relation between object and class in an object oriented programming?
  1. AObject is keyword of class
  2. BObject is scope of class
  3. CObject is instance of class
  4. DObject is type of class
Show answerHide answer

Correct answer: (C) Object is instance of class

Explanation

A class is a blueprint, and an object is an instance of that class created in memory.

Q57DSSSB PGT Computer Science (Technical), 11 Jul 2021
In Object Oriented Programming, when a new class created from an existing class using principle of inheritance, then the new class is known as ________.
  1. ANew class
  2. BChild class
  3. CMember class
  4. DDerived class
Show answerHide answer

Correct answer: (D) Derived class

Explanation

A class created from an existing class by inheritance is called a derived class (subclass). The existing class is the base class.

Q58DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is NOT an object oriented feature?
  1. AInheritance
  2. BAbduction
  3. CAbstraction
  4. DPolymorphism
Show answerHide answer

Correct answer: (B) Abduction

Explanation

Inheritance, abstraction, polymorphism and encapsulation are OOP features. Abduction is a form of logical reasoning, not an OOP feature.

Q59DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which one is NOT a feature of Python language?
  1. AHigh level language
  2. BInterpreted language
  3. CCase insensitive
  4. DPortable
Show answerHide answer

Correct answer: (C) Case insensitive

Explanation

Python is case sensitive (Name and name are different variables), so "case insensitive" is not one of its features. It is high-level, interpreted and portable.

Q60DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is the meaning of >>> in Python Language?
  1. A3 left shift
  2. B3 right shift
  3. CInterpreter is ready to take instruction
  4. DCompiler is ready to take instruction
Show answerHide answer

Correct answer: (C) Interpreter is ready to take instruction

Explanation

>>> is the prompt of Python's interactive interpreter (shell), meaning it is ready to accept a statement.

Q61DSSSB PGT Computer Science (Technical), 11 Jul 2021
The given declaration statement in Python Language belongs to which data type? >>> Student = {'SUBJECT' : 'Compiler', 'Marks' : '50', 'Grade' : 'C'}
  1. ANumbers
  2. BSequence
  3. CSets
  4. DDictionary
Show answerHide answer

Correct answer: (D) Dictionary

Explanation

Curly braces holding key : value pairs create a dictionary (dict) in Python.

Q62DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which statement(s) is/are NOT true about the variables in Python Language: I. Values of every variable can be changed once a variable has been created and assigned value. II. Assignment statement is used to create a new variable and assign value.
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (A) Only I

Explanation

Statement II is true: assignment creates a variable and binds a value. Statement I is treated as not true because a variable can only be rebound; values of immutable objects such as strings and tuples cannot be changed in place.

Q63DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is the output of this code in Python Language: >>> x = 125 >>> y = 13 >>> x //= y >>> x
  1. A9
  2. B125/13
  3. C10
  4. D9.62
Show answerHide answer

Correct answer: (A) 9

Explanation

x //= y is floor division: 125 // 13 = 9 (13 × 9 = 117, remainder 8), so x becomes 9.

Q64DSSSB PGT Computer Science (Technical), 11 Jul 2021
Match the following with respect to Event Driven Programming. I. Event — A. Perform said event II. Event listener — B. User interaction III. Event handler — C. Event monitored by code
  1. AI-A, II-B, III-C
  2. BI-C, II-A, III-B
  3. CI-B, II-A, III-C
  4. DI-B, II-C, III-A
Show answerHide answer

Correct answer: (C) I-B, II-A, III-C

Explanation

Note: the answer key gives (C), but the logical match is (D): an event is a user interaction, an event listener monitors for the event, and an event handler performs the action for it.

Q65DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is responsibility of event queue in event driven programming?
  1. ACreate new event
  2. BDelete the event
  3. CMake a sequence in which event is executed
  4. DChange the event
Show answerHide answer

Correct answer: (C) Make a sequence in which event is executed

Explanation

The event queue holds incoming events and decides the order (sequence) in which they are dispatched and handled.

Q66DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is output of the code in Python Language: >>> str1 = 'All the Best' >>> str1[-3]
  1. A'l'
  2. B'e'
  3. C'h'
  4. D'B'
Show answerHide answer

Correct answer: (B) 'e'

Explanation

'All the Best' has 12 characters, so index −3 is index 9. Indexes 8-11 are B, e, s, t, so str1[-3] is 'e'.

Q67DSSSB PGT Computer Science (Technical), 11 Jul 2021
A complete binary tree T have n leaf nodes. What is the number of nodes with degree of 2 in tree T?
  1. An
  2. Bn/2
  3. Cn − 1
  4. D2n
Show answerHide answer

Correct answer: (C) n − 1

Explanation

In any binary tree, the number of leaf nodes is one more than the number of nodes with two children, so n leaves means n − 1 nodes of degree 2.

Q68DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is the value of the (Start → Next) → Next) → Info in the given list? Start → [125] → [140] → [128] → [130 | ×]
  1. A125
  2. B140
  3. C128
  4. D130
Show answerHide answer

Correct answer: (C) 128

Explanation

Start→Next is the node holding 140, and its Next is the node holding 128, so the Info is 128.

Q69DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which statement is true about condition of overflow in the circular Queue? I. Front = 1 and Rear = N II. Front = Rear + 1
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (C) Both I and II

Explanation

In a 1-based circular queue of size N, it is full (overflow) when Front = 1 and Rear = N, or when Front = Rear + 1 (rear has wrapped round to just behind front).

Q70DSSSB PGT Computer Science (Technical), 11 Jul 2021
The numbers 70, 50, 10, 80, 30, 60, 100, 90, 40, 20 are inserted in the given order in to a binary search tree. What is the in-order traversal sequence of the resultant binary search tree?
  1. A70, 50, 10, 80, 30, 60, 100, 90, 40, 20
  2. B100, 90, 80, 70, 60, 50, 40, 30, 20, 10
  3. C10, 30, 50, 70, 90, 20, 40, 60, 80, 100
  4. D10, 20, 30, 40, 50, 60, 70, 80, 90, 100
Show answerHide answer

Correct answer: (D) 10, 20, 30, 40, 50, 60, 70, 80, 90, 100

Explanation

In-order traversal of any binary search tree visits the keys in ascending sorted order: 10, 20, ..., 100.

Q71DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is balance factor of an AVL tree?
  1. A|h(TL)| ≤ 1
  2. B|h(TR)| ≤ 1
  3. C|h(TL) − h(TR)| ≤ 1
  4. D|h(TL) + h(TR)| ≤ 1
Show answerHide answer

Correct answer: (C) |h(TL) − h(TR)| ≤ 1

Explanation

In an AVL tree, the heights of the left and right subtrees of every node differ by at most 1: |h(TL) − h(TR)| ≤ 1.

Q72DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is the average number of comparisons required in sequential search to find an element?
  1. An²
  2. Bn(n + 1)/2
  3. Cn
  4. D(n + 1)/2
Show answerHide answer

Correct answer: (D) (n + 1)/2

Explanation

If the item is equally likely to be at any position, the average number of comparisons is (1 + 2 + ... + n)/n = (n + 1)/2.

Q73DSSSB PGT Computer Science (Technical), 11 Jul 2021
Arrange the following complexity of the algorithm in ascending order. O(2ⁿ), O(n), O(log₂n), O(n log₂n), O(n²)
  1. AO(log₂n), O(n), O(n log₂n), O(n²), O(2ⁿ)
  2. BO(n), O(log₂n), O(n log₂n), O(n²), O(2ⁿ)
  3. CO(n), O(n²), O(log₂n), O(n log₂n), O(2ⁿ)
  4. DO(log₂n), O(n log₂n), O(n), O(n²), O(2ⁿ)
Show answerHide answer

Correct answer: (A) O(log₂n), O(n), O(n log₂n), O(n²), O(2ⁿ)

Explanation

For large n the growth order is log n < n < n log n < n² < 2ⁿ.

Q74DSSSB PGT Computer Science (Technical), 11 Jul 2021
Consider a n × n tri-diagonal sparse matrix A. Suppose we want to store sparse A in a one-dimensional array. What is the index of the (i,j)th element of A in the one-dimensional array?
  1. A2i + 2j
  2. B2i + j − 2
  3. Ci + j
  4. Di + j − 1
Show answerHide answer

Correct answer: (B) 2i + j − 2

Explanation

Row-major with 1-based indexes, rows before row i hold 3(i−1) − 1 elements, and (i, j) is the (j − i + 2)th element of row i. Total = 3i − 4 + j − i + 2 = 2i + j − 2.

Q75DSSSB PGT Computer Science (Technical), 11 Jul 2021
How many different binary search trees can be constructed with 6 different nodes?
  1. A64
  2. B128
  3. C32
  4. D132
Show answerHide answer

Correct answer: (D) 132

Explanation

The number of distinct BSTs on n keys is the Catalan number C(n) = (2n)!/((n+1)! n!). For n = 6 this is 132.

Q76DSSSB PGT Computer Science (Technical), 11 Jul 2021
Consider a sorted array of 10,00,000 elements. What is the maximum number of comparison required to find the location an item using binary search?
  1. A20
  2. B6
  3. C31
  4. D7
Show answerHide answer

Correct answer: (A) 20

Explanation

Binary search needs at most ⌈log₂(n+1)⌉ comparisons. 2²⁰ = 1,048,576 ≥ 10,00,000, so the maximum is 20.

Q77DSSSB PGT Computer Science (Technical), 11 Jul 2021
Using division method [n(k) = k mod m], at which position 177 and 197 key values are stored in hash table when the size of hash table is 57?
  1. A6, 26
  2. B7, 27
  3. C26, 6
  4. D27, 7
Show answerHide answer

Correct answer: (A) 6, 26

Explanation

177 mod 57 = 177 − 171 = 6 and 197 mod 57 = 197 − 171 = 26.

Q78DSSSB PGT Computer Science (Technical), 11 Jul 2021
Consider an array A[2 : 8, −4 : 1, 6 : 10]. Base address of array A is = 400 and size of each element = 2 word per memory cell. What is the address of A[5, −1, 8] in row major form?
  1. A628
  2. B614
  3. C630
  4. D626
Show answerHide answer

Correct answer: (A) 628

Explanation

Note: DSSSB allowed option (a) as correct (the computed value 614 does not match the official key).

Q79DSSSB PGT Computer Science (Technical), 11 Jul 2021
Inorder and postorder traversal of a binary tree are given. In: E, I, C, F, B, G, D, J, H, K Post: I, E, F, C, G, J, K, H, D, B What is the preorder traversal of the binary tree?
  1. AB, C, E, I, F, D, G, H, J, K
  2. BB, F, I, E, C, D, G, H, J, K
  3. CB, C, E, I, F, D, G, H, K, J
  4. DB, C, E, F, G, H, K, D, J, I
Show answerHide answer

Correct answer: (A) B, C, E, I, F, D, G, H, J, K

Explanation

The root is B (last in postorder). Left subtree {E,I,C,F} has root C, with E (right child I) and F. Right subtree {G,D,J,H,K} has root D, with left G and right H (J, K). Preorder: B, C, E, I, F, D, G, H, J, K.

Q80DSSSB PGT Computer Science (Technical), 11 Jul 2021
Two way merge sort algorithm is used to sort the following elements in ascending order. 200, 470, 150, 80, 90, 40, 400, 300, 120, 70. What is the order of these elements after second pass of the merge sort algorithm?
  1. A40, 70, 80, 90, 120, 150, 200, 300, 400, 470
  2. B200, 470, 80, 150, 40, 90, 300, 400, 70, 120
  3. C80, 150, 200, 470, 40, 90, 300, 400, 70, 120
  4. D40, 80, 90, 150, 200, 300, 400, 470, 70, 120
Show answerHide answer

Correct answer: (C) 80, 150, 200, 470, 40, 90, 300, 400, 70, 120

Explanation

Pass 1 merges pairs: (200,470)(80,150)(40,90)(300,400)(70,120). Pass 2 merges runs of two into fours: 80,150,200,470 | 40,90,300,400 | 70,120.

Q81DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is the complexity of selection sort algorithms?
  1. AO(n)
  2. BO(n log₂n)
  3. CO(n²)
  4. DO(2n)
Show answerHide answer

Correct answer: (C) O(n²)

Explanation

Selection sort always makes about n²/2 comparisons, scanning the unsorted part for the minimum on each of n passes, so it is O(n²) in every case.

Q82DSSSB PGT Computer Science (Technical), 11 Jul 2021
In C++, namespace defines a ________ for the identifiers that are used in a program.
  1. Asize
  2. Bscope
  3. Csyntax
  4. Dstandard
Show answerHide answer

Correct answer: (B) scope

Explanation

A namespace defines a named scope for identifiers, so names such as std::cout do not clash with the same names elsewhere.

Q83DSSSB PGT Computer Science (Technical), 11 Jul 2021
In C++, operator '>>' is used along with object cin for reading input is known as ________.
  1. Aextraction
  2. Boutput
  3. Cget in
  4. Dput to
Show answerHide answer

Correct answer: (A) extraction

Explanation

>> with cin is the extraction (get from) operator, and << with cout is the insertion (put to) operator.

Q84DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following statement(s) is/are correct regarding void keyword in C++? I. To specify the return type of a function when it is not returning any value. II. To indicate an empty argument list to a function.
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (C) Both I and II

Explanation

void is used as the return type of a function that returns nothing, and as in f(void) it shows an empty argument list.

Q85DSSSB PGT Computer Science (Technical), 11 Jul 2021
In C++, bool data type is used to hold how many values?
  1. An²
  2. B2
  3. C2n
  4. D2ⁿ
Show answerHide answer

Correct answer: (B) 2

Explanation

bool holds only two values: true and false.

Q86DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is specified by function prototype in C++? I. Return Type II. Function name III. Number and types of argument
  1. AI and II
  2. BI and III
  3. CII and III
  4. DI, II and III
Show answerHide answer

Correct answer: (D) I, II and III

Explanation

A function prototype states the return type, the function name, and the number and types of its arguments.

Q87DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is the symbol and associativity of the assignment operator in C++?
  1. A=, left to right
  2. B==, left to right
  3. C(R), right to left
  4. D=, right to left
Show answerHide answer

Correct answer: (D) =, right to left

Explanation

The assignment operator is = and it associates right to left, so a = b = c assigns c to b first, then b to a.

Q88DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which statement is correct about static member function in C++? I. It can access to only other static members declared in the same class. II. It cannot be called using the class name (instead of its objects)
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (A) Only I

Explanation

A static member function can access only static members of its class, and it can be called with the class name (Class::f()). So only I is correct.

Q89DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which statement is NOT correct regarding ternary operator in C++?
  1. AIts symbol is?:
  2. BIt is also known as conditional operator
  3. COperator overloading is possible in it
  4. DIt is similar to if else
Show answerHide answer

Correct answer: (C) Operator overloading is possible in it

Explanation

The ternary operator ?: is one of the C++ operators that cannot be overloaded, along with ::, . and .*. The other statements about it are true.

Q90DSSSB PGT Computer Science (Technical), 11 Jul 2021
By default in C++, the member of a class are ________, while, by default the member of structure are ________.
  1. APrivate; private
  2. BPublic; public
  3. CPrivate; public
  4. DPublic; private
Show answerHide answer

Correct answer: (C) Private; public

Explanation

In C++, class members are private by default, while struct members are public by default.

Q91DSSSB PGT Computer Science (Technical), 11 Jul 2021
Match the following. i. Overriding — A. Allows a function of operator to be given more then one definition ii. Over loading — B. A function that is called to deallocate memory iii. Destructor — C. The ability to change the definition of an inherited method
  1. Ai-A, ii-C, iii-B
  2. Bi-C, ii-B, iii-A
  3. Ci-C, ii-A, iii-B
  4. Di-B, ii-C, iii-A
Show answerHide answer

Correct answer: (C) i-C, ii-A, iii-B

Explanation

Overriding redefines an inherited method in a derived class, overloading gives one function or operator several definitions, and a destructor releases memory/resources when an object is destroyed.

Q92DSSSB PGT Computer Science (Technical), 11 Jul 2021
Match the following file stream classes in C++ with its functions. A. Fstream base — i. Provides support for simultaneous input and output operation B. If stream — ii. Provides output operation C. Of stream — iii. Provides operations common to file streams D. F stream — iv. Provides input operation
  1. AA-i, B-ii, C-iv, D-iii
  2. BA-iv, B-iii, C-i, D-ii
  3. CA-i, B-iii, C-iv, D-ii
  4. DA-iii, B-iv, C-ii, D-i
Show answerHide answer

Correct answer: (D) A-iii, B-iv, C-ii, D-i

Explanation

fstreambase provides operations common to file streams, ifstream gives input, ofstream gives output, and fstream supports simultaneous input and output.

Q93DSSSB PGT Computer Science (Technical), 11 Jul 2021
In C++, "Out-of-range-index" belong to ________ type exception while keyboard interrupts are called ________ exceptions.
  1. ASynchronous; synchronous
  2. BSynchronous; asynchronous
  3. CAsynchronous; synchronous
  4. DAsynchronous; asynchronous
Show answerHide answer

Correct answer: (B) Synchronous; asynchronous

Explanation

Errors such as out-of-range index come from the program's own execution, so they are synchronous. Events beyond the program's control, such as keyboard interrupts, are asynchronous.

Q94DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is output of the given code? void main () { int a = 3, b, *p, **q; p = & a; q = & p; b = 2 * (**q + *p); cout << b; }
  1. A3
  2. B12
  3. C18
  4. D24
Show answerHide answer

Correct answer: (B) 12

Explanation

p points to a and q points to p, so **q = 3 and *p = 3. b = 2 × (3 + 3) = 12.

Q95DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is the output of code? void main () { int x = 33, y, z; z = x++ + 17; y = ++z − ++x; cout << "x" << x << "y" << y << "z" << z; }
  1. Ax = 34 y = 17 z = 51
  2. Bx = 35 y = 16 z = 51
  3. Cx = 34 y = 16 z = 50
  4. Dx = 35 y = 17 z = 51
Show answerHide answer

Correct answer: (B) x = 35 y = 16 z = 51

Explanation

z = x++ + 17 = 33 + 17 = 50 and x becomes 34. y = ++z − ++x = 51 − 35 = 16. So x = 35, y = 16, z = 51.

Q96DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following statement is NOT correct regarding Virtual function in C++? I. It must be a member of some class. II. It is accessed by using object points.
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (D) Neither I nor II

Explanation

Both statements are true: a virtual function must be a member of a class, and it is accessed through object pointers (base-class pointers) for run-time polymorphism. So neither is incorrect.

Q97DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is join operation in Structure Query Language (SQL)?
  1. AJoin is an operation used to select group rows of a table that contains the same values in a specific column.
  2. BJoin is an operation which is used to combine two different data keys.
  3. CJoin is an operation used to combine rows from two or more tables based on one or more common fields between them.
  4. DJoin is an operation which work on a single row of a table and return a single value.
Show answerHide answer

Correct answer: (C) Join is an operation used to combine rows from two or more tables based on one or more common fields between them.

Explanation

A JOIN combines rows from two or more tables based on a related (common) column between them.

Q98DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is NOT a part of Data Definitions Language in Relational Database Management System?
  1. ACreate table
  2. BInsert table
  3. CAlter table
  4. DDrop table
Show answerHide answer

Correct answer: (B) Insert table

Explanation

INSERT is a DML command (and is used as INSERT INTO, not "insert table"). CREATE, ALTER and DROP TABLE are DDL commands.

Q99DSSSB PGT Computer Science (Technical), 11 Jul 2021
Match the following formal relational term with informal equivalents. i. Relation — A. Row ii. Tuple — B. Value iii. Attribute — C. Table iv. Domain — D. Column
  1. Ai-3, ii-4, iii-1, iv-2
  2. Bi-3, ii-1, iii-4, iv-2
  3. Ci-1, ii-3, iii-2, iv-4
  4. Di-4, ii-3, iii-2, iv-1
Show answerHide answer

Correct answer: (B) i-3, ii-1, iii-4, iv-2

Explanation

Note: in the official paper the options refer to A, B, C, D as 1, 2, 3, 4 respectively.

Q100DSSSB PGT Computer Science (Technical), 11 Jul 2021
Write the name of the relational algebra operation as per the given order of their notation. Π, X, σ
  1. AProjection, Cartesian product, division
  2. BProjection, Cartesian product, select
  3. CIntersection join, outer join, select
  4. DProjection, outer join, select
Show answerHide answer

Correct answer: (B) Projection, Cartesian product, select

Explanation

Π is projection (choose columns), × is Cartesian product, and σ is selection (choose rows).

Q101DSSSB PGT Computer Science (Technical), 11 Jul 2021
Consider the following relation schema of students. STUDENT (Rollno, Name, DOB, Marks, Gender) Which of the given query is equivalent to this query in English? "Find the tuples of student having marks above 80".
  1. Aσ Marks>80 (STUDENT)
  2. BΠ Marks>80 (STUDENT)
  3. Cσ Marks<80 (STUDENT)
  4. DΠ Marks<80 (STUDENT)
Show answerHide answer

Correct answer: (A) σ Marks>80 (STUDENT)

Explanation

Selecting tuples (rows) that satisfy a condition uses σ: σ Marks>80 (STUDENT). Π selects columns, not rows.

Q102DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is Denormalization in Relational Database Management System?
  1. ADenormalization is the process of increasing redundancy to improve performance
  2. BDenormalization is used to decrease redundancy in database
  3. CDenormalization is used to decrease the dependence on normal forms
  4. DDenormalization is used to develop a new schema in database
Show answerHide answer

Correct answer: (A) Denormalization is the process of increasing redundancy to improve performance

Explanation

Denormalization deliberately adds redundancy (merging tables or duplicating data) to cut joins and improve read performance.

Q103DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following statement(s) is/are correct regarding Structured Query Language (SQL)? I. The datatype FLOAT can hold numbers with decimal points. II. The datatype BIGINT occupies 16 bytes.
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (A) Only I

Explanation

FLOAT stores numbers with decimal points, but BIGINT occupies 8 bytes, not 16. So only I is correct.

Q104DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following statement is a part of Data Manipulative Language in Structured Query Language?
  1. ADelete
  2. BAlter table
  3. CCopy
  4. DPaste
Show answerHide answer

Correct answer: (A) Delete

Explanation

DELETE is a DML command because it manipulates data. ALTER TABLE is DDL, and copy/paste are not SQL statements.

Q105DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is the cardinality and degree of relation having 50 Tuples and 20 Attributes?
  1. ACardinality – 70 Degree – 30
  2. BCardinality – 20 Degree – 50
  3. CCardinality – 50 Degree – 20
  4. DCardinality – 50 Degree – 50
Show answerHide answer

Correct answer: (C) Cardinality – 50 Degree – 20

Explanation

Cardinality is the number of tuples (50), and degree is the number of attributes (20).

Q106DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following statement(s) is/are correct regarding COUNT functions in Structured Query Language of Relational Database Management System? I. COUNT(*) is used to count the number of values in a column. II. COUNT() is used to count the number of rows of the query result.
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (D) Neither I nor II

Explanation

Both statements are reversed: COUNT(*) counts all rows of the result, while COUNT(column) counts the non-NULL values in a column. So neither is correct.

Q107DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is the shortcut key for right alignment of the paragraph in a Microsoft Word document?
  1. ACtrl + R
  2. BCtrl + L
  3. CCtrl + J
  4. DCtrl + E
Show answerHide answer

Correct answer: (A) Ctrl + R

Explanation

Ctrl+R right-aligns, Ctrl+L left-aligns, Ctrl+E centres and Ctrl+J justifies a paragraph.

Q108DSSSB PGT Computer Science (Technical), 11 Jul 2021
Each Microsoft Excel file is also known as ________.
  1. ADocument
  2. BWorkbook
  3. CSlide
  4. DSheet
Show answerHide answer

Correct answer: (B) Workbook

Explanation

An Excel file is a workbook, which contains one or more worksheets.

Q109DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is the way to break a page in Microsoft Word?
  1. APressing "Ctrl + Page Down"
  2. BDouble Clicking at the end of the page
  3. CPressing "Ctrl + Enter"
  4. DDouble Clicking at the beginning of the page
Show answerHide answer

Correct answer: (C) Pressing "Ctrl + Enter"

Explanation

Ctrl + Enter inserts a manual page break in Word.

Q110DSSSB PGT Computer Science (Technical), 11 Jul 2021
Microsoft PowerPoint helps to enhance our presentation with ________. I. Pictures and charts II. Sound effect III. Tables
  1. AI and II
  2. BII and III
  3. CI and III
  4. DI, II and III
Show answerHide answer

Correct answer: (D) I, II and III

Explanation

PowerPoint lets you add pictures, charts, sound effects and tables to slides, so all three are correct.

Q111DSSSB PGT Computer Science (Technical), 11 Jul 2021
The selected text's font in Microsoft Word document will ________ on pressing "Ctrl + ]" keys.
  1. AIncrease by 1 points
  2. BIncrease by 2 points
  3. CDecrease by 1 points
  4. DDecrease by 2 points
Show answerHide answer

Correct answer: (A) Increase by 1 points

Explanation

Ctrl + ] increases the selected text's font size by 1 point, and Ctrl + [ decreases it by 1 point.

Q112DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which key open a Goto window in Microsoft Excel?
  1. AAlt +G
  2. BShift + G
  3. CTab + G
  4. DCtrl + G
Show answerHide answer

Correct answer: (D) Ctrl + G

Explanation

Ctrl + G (or F5) opens the Go To dialog in Excel, used to jump to a cell or range.

Q113DSSSB PGT Computer Science (Technical), 11 Jul 2021
In Microsoft PowerPoint, background image can be added for all the slides by editing which slide?
  1. AFirst Slide
  2. BLast Slide
  3. CAny slide
  4. DSlide Master
Show answerHide answer

Correct answer: (D) Slide Master

Explanation

Changes made to the Slide Master (such as a background image) apply to every slide that uses it.

Q114DSSSB PGT Computer Science (Technical), 11 Jul 2021
A collection of web pages is known as ________.
  1. Awebsite
  2. Bweb server
  3. CWeb world
  4. DWeb tool
Show answerHide answer

Correct answer: (A) website

Explanation

A website is a collection of related web pages under one domain.

Q115DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is incorrect regarding user-friendly website?
  1. AIt should have faster loading time
  2. BIt should be easily accessible
  3. CIt should have browser consistency
  4. DIt should be Cluttered
Show answerHide answer

Correct answer: (D) It should be Cluttered

Explanation

A user-friendly website should load fast, be accessible and look consistent across browsers. A cluttered design hurts usability.

Q116DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is false with reference to static website?
  1. ASame content is loaded everytime the page is loaded
  2. BIt is loaded at a faster speed
  3. CContent change at runtime
  4. DNo interaction
Show answerHide answer

Correct answer: (C) Content change at runtime

Explanation

A static website serves fixed content that is the same on every load. Content changing at runtime is a feature of dynamic websites.

Q117DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following statement(s) is/are correct regarding <title> tag in HTML? I. This tag always goes outside to the <head> tag. II. This tag is used to indicate the title of the webpage. III. It is also used by search engines.
  1. AI and II
  2. BII and III
  3. COnly II
  4. DI, II and III
Show answerHide answer

Correct answer: (B) II and III

Explanation

<title> must be placed inside <head>, not outside it. It sets the page title shown in the browser tab, and search engines use it.

Q118DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is tag in HTML?
  1. AIt contains the address of the webpage.
  2. BIt contains the number of nested tags in the page.
  3. CIt contains information about the webpage.
  4. DIt contains the number of tags in the web page.
Show answerHide answer

Correct answer: (C) It contains information about the webpage.

Explanation

The tag described here seems to be <meta> (the tag name is missing in the source). It holds information about the page, such as description, keywords and author.

Q119DSSSB PGT Computer Science (Technical), 11 Jul 2021
How many forms can we have on a webpage at the maximum?
  1. A1
  2. B5
  3. C10
  4. DNo limit
Show answerHide answer

Correct answer: (D) No limit

Explanation

HTML puts no limit on the number of <form> elements a page can have (they just cannot be nested).

Q120DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is image map in HTML?
  1. AIt is the backup copy of the image
  2. BIt is a special image in which different area point to different locators on the web
  3. CIt contains the properties of the image
  4. DIt contains the number of pixels in the image
Show answerHide answer

Correct answer: (B) It is a special image in which different area point to different locators on the web

Explanation

An image map is one image with clickable regions (<map>/<area>), where each region links to a different URL.

Q121DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is not the file formats of graphics?
  1. AGIF
  2. BJPG
  3. CPNG
  4. DWAV
Show answerHide answer

Correct answer: (D) WAV

Explanation

WAV is an audio file format. GIF, JPG and PNG are image formats.

Q122DSSSB PGT Computer Science (Technical), 11 Jul 2021
If Multiple bits per pixel are used to store an image, then the frame buffer is known as ________.
  1. ABit map
  2. BBinary map
  3. CPix map
  4. DImage map
Show answerHide answer

Correct answer: (C) Pix map

Explanation

A frame buffer with one bit per pixel is a bitmap, and one with multiple bits per pixel (for colour or grey levels) is a pixmap.

Q123DSSSB PGT Computer Science (Technical), 11 Jul 2021
If an image has a height of 4 inches and an aspect ratio of 3 : 2, then what will be the width of the image?
  1. A3 inches
  2. B6 inches
  3. C4 inches
  4. D5.5 inches
Show answerHide answer

Correct answer: (B) 6 inches

Explanation

Aspect ratio is width : height = 3 : 2. With a height of 4 inches, width = 4 × 3/2 = 6 inches.

Q124DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is the resolution of 2 inch × 2 inch image which has 512 × 512 pixels?
  1. A512 pixels per inch
  2. B256 pixels per inch
  3. C2048 pixels per inch
  4. D128 pixels per inch
Show answerHide answer

Correct answer: (B) 256 pixels per inch

Explanation

Resolution = pixels ÷ inches = 512 / 2 = 256 pixels per inch.

Q125DSSSB PGT Computer Science (Technical), 11 Jul 2021
Memory buffer which stores the image definition is known as ________.
  1. APixel Buffer
  2. BFrame Buffer
  3. CGraphic Buffer
  4. DPicture Buffer
Show answerHide answer

Correct answer: (B) Frame Buffer

Explanation

The frame buffer (refresh buffer) is the memory that stores the intensity/colour value of every pixel of the screen image.

Q126DSSSB PGT Computer Science (Technical), 11 Jul 2021
Aspect ratio is the ratio of ________ to ________.
  1. Awidth; height
  2. Bheight; width
  3. Cdiagonal; height
  4. Dheight; diagonal
Show answerHide answer

Correct answer: (A) width; height

Explanation

Aspect ratio is width to height, e.g., 16 : 9.

Q127DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is not a type of Network topology?
  1. AStar Network
  2. BRing Network
  3. CHybrid Network
  4. DSingleton Network
Show answerHide answer

Correct answer: (D) Singleton Network

Explanation

Common topologies are bus, star, ring, mesh, tree and hybrid. "Singleton network" is not a topology.

Q128DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following statement(s) is/are true regarding OSI layers in computer networks? I. The session layer provides means of establishing, maintaining and terminating a session between two end users. II. Data Link layer sets up a logical path between the source and destination computer of the network.
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (A) Only I

Explanation

The session layer establishes, maintains and terminates sessions. Setting up the logical path (routing) between source and destination is the network layer's job, not the data link layer's.

Q129DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following statement(s) is/are true regarding Data Communication? I. Half duplex communication is multidirectional communication. II. Full duplex communication is bidirectional communication.
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (B) Only II

Explanation

Half duplex is two-way but only one direction at a time, not "multidirectional". Full duplex is bidirectional at the same time. So only II is true.

Q130DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following statement(s) is/are true regarding switching techniques in Data communication? I. In circuit switching a dedicated path is identified between the sender and the receiver. II. In packet switching each information to be transmitted between sender and receiver is broken down into smaller packets.
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (C) Both I and II

Explanation

Circuit switching sets up a dedicated path before transfer, and packet switching breaks the data into packets that are routed independently. Both are true.

Q131DSSSB PGT Computer Science (Technical), 11 Jul 2021
If complete graph have 'n' nodes, then it will have how many edges?
  1. An(n − 1)/2
  2. B(n − 1)/2
  3. Cn/2
  4. Dn(n − 1)/4
Show answerHide answer

Correct answer: (A) n(n − 1)/2

Explanation

Each of the n nodes connects to the other n − 1. Each edge is then counted twice, so there are n(n − 1)/2 edges.

Q132DSSSB PGT Computer Science (Technical), 11 Jul 2021
Quicksort algorithm is based on which algorithm design technique?
  1. AGreedy Algorithm
  2. BBrute -Force
  3. CDivide and Conquer
  4. DDynamic programing
Show answerHide answer

Correct answer: (C) Divide and Conquer

Explanation

Quicksort partitions the array around a pivot and recursively sorts the two parts, which is divide and conquer.

Q133DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following statement is false about a B-tree of order M?
  1. AThe root has at least two child nodes and at most M child nodes.
  2. BThe internal nodes except the root have at least ceil(M/2) child nodes.
  3. CLeaf nodes are not at the same level.
  4. DA node is full if it has (M − 1) keys.
Show answerHide answer

Correct answer: (C) Leaf nodes are not at the same level.

Explanation

In a B-tree all leaves are at the same level, so statement (C) is false. The others are standard B-tree properties.

Q134DSSSB PGT Computer Science (Technical), 11 Jul 2021
The number of vertices in undirected graph with odd degree is always ________.
  1. AOdd number
  2. BEven number
  3. CZero
  4. DPrime number
Show answerHide answer

Correct answer: (B) Even number

Explanation

By the handshaking lemma the sum of degrees is 2|E|, which is even, so the number of odd-degree vertices must be even.

Q135DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following isNot a NP Complete problem?
  1. AThe Clique problem
  2. BHamiltonian-Cycle problem
  3. CThe Travelling Salesman Problem
  4. DShortest Path Problem
Show answerHide answer

Correct answer: (D) Shortest Path Problem

Explanation

Shortest path is solvable in polynomial time (e.g., Dijkstra), so it is in P. Clique, Hamiltonian cycle and TSP (decision version) are NP-complete.

Q136DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following statement(s) is/are correct about red-black binary tree? I. Every node is either red or black. II. Every leaf node is red. III. When a node is red and both its children are black.
  1. AI and II
  2. BI, II and III
  3. CI and III
  4. DIII and II
Show answerHide answer

Correct answer: (C) I and III

Explanation

In a red-black tree every node is red or black, and a red node's children must be black. Leaves (NIL nodes) are black, not red, so II is false.

Q137DSSSB PGT Computer Science (Technical), 11 Jul 2021
Consider a max heap, represented by the array: 23, 17, 14, 6, 13, 10, 1, 5 If a value 20 is inserted into this heap, then what will be the new max heap
  1. A23, 17, 4, 6, 13, 10, 1, 5, 20
  2. B23, 20, 14, 17, 13, 10, 1, 5, 6
  3. C23, 20, 17, 14, 13, 10, 6, 5, 1
  4. D23, 17, 20, 14, 13, 10, 6, 51
Show answerHide answer

Correct answer: (B) 23, 20, 14, 17, 13, 10, 1, 5, 6

Explanation

Add 20 at position 9 as the child of 6, then swap it with 6. Its parent is now 17, so swap again. The parent 23 is larger, so it stops: 23, 20, 14, 17, 13, 10, 1, 5, 6.

Q138DSSSB PGT Computer Science (Technical), 11 Jul 2021
Consider the following graph. Vertices P, Q, R, S, T with edges (weight): P–Q (30), Q–R (5), Q–S (20), Q–T (15), P–S (40), S–T (10), R–T (25). What is the weight of minimum spanning tree?
  1. A50
  2. B60
  3. C70
  4. D80
Show answerHide answer

Correct answer: (B) 60

Explanation

Kruskal: take Q–R (5), S–T (10), Q–T (15); skip Q–S (20) and R–T (25), which would form cycles; take P–Q (30). Weight = 5 + 10 + 15 + 30 = 60.

Q139DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is the full form of LISP Programming Language?
  1. ALanguage Processing
  2. BList Processing
  3. CLeast Processing
  4. DLimited Processing
Show answerHide answer

Correct answer: (B) List Processing

Explanation

LISP stands for LISt Processing. Lists are its basic data structure.

Q140DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is the fullform of FOPL in artificial intelligence?
  1. AFirst order predicate logic
  2. BFile open predicate logic
  3. CFirst operator performance logic
  4. DFile operator perforate logic
Show answerHide answer

Correct answer: (A) First order predicate logic

Explanation

FOPL is First Order Predicate Logic, which uses predicates, variables and quantifiers (∀, ∃) to represent knowledge.

Q141DSSSB PGT Computer Science (Technical), 11 Jul 2021
________ act as a interface between a domain expert and an expert system.
  1. ALanguage Editor
  2. BK editor
  3. CIntelligent editor
  4. DKnowledge Editor
Show answerHide answer

Correct answer: (C) Intelligent editor

Explanation

In expert systems, the intelligent (knowledge-acquisition) editor is the interface the domain expert or knowledge engineer uses to enter and refine the knowledge base.

Q142DSSSB PGT Computer Science (Technical), 11 Jul 2021
Express the given statement in FOPL? Statement: Any two numbers can be added together.
  1. A(∃x)(∃y)(∀z)(x + y = z)
  2. B(∀x)(∃y)(∀z)(x + y = z)
  3. C(∀x)(∀y)(∃z)(x + y = z)
  4. D(∃x)(∀y)(∃z)(x + y = z)
Show answerHide answer

Correct answer: (C) (∀x)(∀y)(∃z)(x + y = z)

Explanation

"Any two numbers" means for all x and for all y, and "can be added" means there exists a sum z: (∀x)(∀y)(∃z)(x + y = z).

Q143DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is the correct sequence in Pattern Recognition process?
  1. AData Acquisition, Feature Extraction, Matching, Classification
  2. BFeature Extraction, Data Acquisition, Matching, Classification
  3. CData Acquisition, Feature Extraction, Classification, Matching
  4. DMatching, Data Acquisition, Feature Extraction, Classification
Show answerHide answer

Correct answer: (A) Data Acquisition, Feature Extraction, Matching, Classification

Explanation

Pattern recognition first acquires data, then extracts features, then matches them against stored patterns, and finally classifies.

Q144DSSSB PGT Computer Science (Technical), 11 Jul 2021
________ is an act of disguising a communication from an unknown source as being a trusted source.
  1. ASpoofing
  2. BBullying
  3. CStealing
  4. DSandboxing
Show answerHide answer

Correct answer: (A) Spoofing

Explanation

Spoofing is disguising a communication from an unknown source (e.g., a forged email address or IP) to look as if it comes from a trusted source.

Q145DSSSB PGT Computer Science (Technical), 11 Jul 2021
________ is a way of providing control execution environment for extracted programs.
  1. ASandboxing
  2. BSpoofing
  3. CHoneypot
  4. DPaycods
Show answerHide answer

Correct answer: (A) Sandboxing

Explanation

Sandboxing runs untrusted programs in a restricted, controlled environment so they cannot harm the rest of the system.

Q146DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is the other name of software updates?
  1. APatching
  2. BDropping
  3. CGaining
  4. DSandboxing
Show answerHide answer

Correct answer: (A) Patching

Explanation

A patch is a software update that fixes bugs or security holes, so software updates are also called patching.

Q147DSSSB PGT Computer Science (Technical), 11 Jul 2021
What are Honey pot systems?
  1. AThey are decoy system to attract attackers in order to learn their tactics
  2. BThey are antivirus programs and act as a firewall
  3. CThey are computer hardware having pre installed antivirus programs
  4. DIt is the other name of distributed systems
Show answerHide answer

Correct answer: (A) They are decoy system to attract attackers in order to learn their tactics

Explanation

A honeypot is a decoy system set up to lure attackers so their methods can be observed and studied.

Q148DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is NOT an element of Database?
  1. ASchema
  2. BRelationships
  3. CConstraints
  4. DFrontend
Show answerHide answer

Correct answer: (D) Frontend

Explanation

A database includes its schema, data, relationships and constraints. A frontend is the user interface application, not part of the database.

Q149DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following statement(s) is/are correct regarding single row functions in structured query language? I. INSERT() is a numeric function. II. ROUND() is a numeric function. III. LENGTH() is a character function.
  1. ABoth I and II
  2. BBoth II and III
  3. COnly III
  4. DBoth I and III
Show answerHide answer

Correct answer: (B) Both II and III

Explanation

ROUND() is a numeric function and LENGTH() is a character function. INSERT() (e.g., in MySQL) is a string function, not a numeric one.

Q150DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is self join in Database Management System?
  1. AIn a self join, a table is joined to a number
  2. BIn a self-join, a table is joined to itself
  3. CIn a selfjoin, a table is joined with a query
  4. DIn a self-join, two databases are joined
Show answerHide answer

Correct answer: (B) In a self-join, a table is joined to itself

Explanation

A self join joins a table to itself, usually using aliases, e.g., to pair employees with their managers in the same table.

Q151DSSSB PGT Computer Science (Technical), 11 Jul 2021
How many entities are associated in the quaternary relationship in E-R modelling?
  1. A2
  2. B3
  3. C4
  4. D5
Show answerHide answer

Correct answer: (C) 4

Explanation

A quaternary relationship involves 4 entity sets (binary is 2, ternary is 3).

Q152DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which one of the following is NOT a part of the ACID properties of database transaction?
  1. AAtomicity
  2. BConsistency
  3. CInstance
  4. DDurability
Show answerHide answer

Correct answer: (C) Instance

Explanation

ACID stands for Atomicity, Consistency, Isolation and Durability. "Instance" is not one of them.

Q153DSSSB PGT Computer Science (Technical), 11 Jul 2021
In Structured Query Language, what is the GROUP BY clause?
  1. AIt groups the table with same name in the database
  2. BIt groups the rows together that contain the same values in a specific column
  3. CIt combines data from two tables on specific conditions
  4. DIt groups the columns together that contains the same valuesin a specific rows
Show answerHide answer

Correct answer: (B) It groups the rows together that contain the same values in a specific column

Explanation

GROUP BY puts rows with the same values in the given column(s) into groups, usually for aggregates like SUM or COUNT.

Q154DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is Not a database model?
  1. ANetwork
  2. BRelational
  3. CObject-oriented
  4. DInheritence model
Show answerHide answer

Correct answer: (D) Inheritence model

Explanation

Database models include hierarchical, network, relational and object-oriented. There is no "inheritance model".

Q155DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following statement(s) is/are correct regarding Data Dictionary in Database Management System? I. Data Dictionary is a collection of definitions, rules and advisories of data designed to be used as a reference with the data warehouse. II. Data Dictionary is the area of memory allocated for data storage.
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (A) Only I

Explanation

A data dictionary is a metadata repository that holds definitions, rules and descriptions of the data. It is not a memory area for storing data.

Q156DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is the full form of SSL in web development?
  1. ASecure Sockets Layer
  2. BSecure Server Layout
  3. CSecurity Socket Layout
  4. DSecure Server Layer
Show answerHide answer

Correct answer: (A) Secure Sockets Layer

Explanation

SSL stands for Secure Sockets Layer, the protocol (now replaced by TLS) that encrypts traffic between a browser and a server.

Q157DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is Customer Relationship Management?
  1. ACustomer relationship management includes the methodologies, technology and capabilities that help an enterprise to manage customer relationships
  2. BCustomer relationship management is a corporate level strategy which focuses on creating new customers
  3. CCustomer relationship management is the process of planning, implementation and controlling the operations of the supply chain
  4. DCustomer relationship management is the process of daily production and distribution
Show answerHide answer

Correct answer: (A) Customer relationship management includes the methodologies, technology and capabilities that help an enterprise to manage customer relationships

Explanation

CRM covers the methods, technology and capabilities a business uses to manage and analyse its interactions with customers.

Q158DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following statement(s) is/are true regarding cryptography? I. Cipher text is encrypted text transformed from plain text using an encryption algorithm. II. According to Kerchoff's principle, all algorithms must be private and only the keys are secret.
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (A) Only I

Explanation

Ciphertext is plaintext transformed by an encryption algorithm. Kerckhoffs's principle says the algorithm should be public and only the key secret, so II is false.

Q159DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is not a Cipher mode in Cryptography?
  1. AElectronic CodeBook Mode
  2. BCipher Feedback Mode
  3. CStem Cipher Mode
  4. DCipher Block Chaining Mode
Show answerHide answer

Correct answer: (C) Stem Cipher Mode

Explanation

Block cipher modes include ECB, CBC, CFB, OFB and CTR. "Stream (Stem) cipher mode" is not one of them.

Q160DSSSB PGT Computer Science (Technical), 11 Jul 2021
________ computing is a model in which components of a software system are shared among multiple computers.
  1. ADistributed
  2. BAbstraction
  3. CPrivate
  4. DSimulation
Show answerHide answer

Correct answer: (A) Distributed

Explanation

In distributed computing, the components of a software system are shared among multiple networked computers that work together.

Q161DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is not a example of Distributive computing?
  1. ALAN network
  2. BMobile network
  3. CParallel computing
  4. DInternet
Show answerHide answer

Correct answer: (C) Parallel computing

Explanation

LANs, mobile networks and the Internet are distributed systems of separate networked computers. Parallel computing usually uses processors sharing memory in one machine, so it is counted as different.

Q162DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is not an example of Simulation and Modeling?
  1. AVideo game
  2. BComputer table
  3. CLogical gates
  4. DFlight simulator
Show answerHide answer

Correct answer: (B) Computer table

Explanation

Video games, flight simulators and logic-gate simulations all model real systems. A computer table is just furniture.

Q163DSSSB PGT Computer Science (Technical), 11 Jul 2021
________ is an imitation of the dynamics of a real world process or system over time.
  1. ADesigning
  2. BCryptography
  3. CSimulation
  4. DCopying
Show answerHide answer

Correct answer: (C) Simulation

Explanation

Simulation imitates how a real-world process or system behaves over time, using a model.

Q164DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is a neuron in Neural Networks?
  1. AA neuron is a small cell that receives electrochemical signals from various sources and transmit electrical impulses to other neurons
  2. BA neuron is a cell that send electromagnetic signals to axons
  3. CA neuron is a small cell that sends electric impulses to ions
  4. DA neuron is a cell which has the capability to predict the situation from past trends
Show answerHide answer

Correct answer: (A) A neuron is a small cell that receives electrochemical signals from various sources and transmit electrical impulses to other neurons

Explanation

In neural network theory a biological neuron is a cell that receives electrochemical signals from many sources (through dendrites) and transmits electrical impulses to other neurons.

Q165DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is axon in Neural Networks?
  1. AIt is a long cylindrical connection that carries impulses from the neurons
  2. BIt is a small cell used to perform basic logical operations
  3. CIt is a small cell which contain electric signal
  4. DIt is a collection of neurons
Show answerHide answer

Correct answer: (A) It is a long cylindrical connection that carries impulses from the neurons

Explanation

An axon is the long cylindrical fibre that carries impulses away from a neuron to other neurons.

Q166DSSSB PGT Computer Science (Technical), 11 Jul 2021
________ is loosely coupled system and ________ is tightly coupled system.
  1. ADistributed processing; Uniprocessing
  2. BBatch processing; Parallel processing
  3. CDistributed processing; Parallel processing
  4. DUniprocessing; Real Processing
Show answerHide answer

Correct answer: (C) Distributed processing; Parallel processing

Explanation

Distributed systems are loosely coupled because each node has its own memory and they communicate over a network. Parallel (multiprocessor) systems are tightly coupled because they share memory and a clock.

Q167DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is the full form of MISD?
  1. AMultiple Interrupt stream and single Data stream
  2. BMultiple Instruction stream and single Data stream
  3. CMany Interrupt stream and single digital stream
  4. DMany Instruction stream and Single Digital stream
Show answerHide answer

Correct answer: (B) Multiple Instruction stream and single Data stream

Explanation

In Flynn's taxonomy, MISD means Multiple Instruction stream, Single Data stream.

Q168DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is NOT a Data MINING technique?
  1. ALink Analysis
  2. BDatabase Segmentation
  3. CPredictive Modeling
  4. DEvaluation
Show answerHide answer

Correct answer: (D) Evaluation

Explanation

Link analysis, database segmentation (clustering) and predictive modelling are data mining techniques. Evaluation is a general step, not a mining technique.

Q169DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is NOT a Data MINING Language?
  1. AR. Language
  2. BWeka
  3. CPython
  4. DBASIC
Show answerHide answer

Correct answer: (D) BASIC

Explanation

R, Python and Weka are widely used for data mining. BASIC is an old general-purpose language, not a data mining tool.

Q170DSSSB PGT Computer Science (Technical), 11 Jul 2021
Sending incoming packet to every outgoing line except the one it arrived is known as ________.
  1. ACongestion
  2. BScratching
  3. CFlooding
  4. DMessage calling
Show answerHide answer

Correct answer: (C) Flooding

Explanation

Flooding sends every incoming packet out on every outgoing line except the one it arrived on.

Q171DSSSB PGT Computer Science (Technical), 11 Jul 2021
The frequency which is used for transmission of signal from the satellite to earth station receive is known as ________.
  1. AUplink frequency
  2. BBacklink frequency
  3. CForward link frequency
  4. DDownlink frequency
Show answerHide answer

Correct answer: (D) Downlink frequency

Explanation

Satellite-to-earth transmission uses the downlink frequency, and earth-to-satellite uses the uplink frequency.

Q172DSSSB PGT Computer Science (Technical), 11 Jul 2021
Routing algorithm which do not base their routing decisions on measurements or estimates of the current traffic and topology belongs to which category?
  1. AAdaptive algorithm
  2. BGreedy algorithm
  3. CBack propagation algorithm
  4. DNon-adaptive algorithm
Show answerHide answer

Correct answer: (D) Non-adaptive algorithm

Explanation

Non-adaptive (static) routing algorithms decide routes in advance and ignore current traffic and topology. Adaptive algorithms react to them.

Q173DSSSB PGT Computer Science (Technical), 11 Jul 2021
Runge – Kutta method is used for ________.
  1. AIntegration
  2. BRoot finding
  3. COrdinary differential equation
  4. DSolution of system of linear equation
Show answerHide answer

Correct answer: (C) Ordinary differential equation

Explanation

Runge-Kutta methods numerically solve ordinary differential equations (initial value problems).

Q174DSSSB PGT Computer Science (Technical), 11 Jul 2021
Newton – Raphson method is used to compute a root of the equation x² + 4x − 9 = 0 with 1 as the initial value. The approximate value after one iteration is ________.
  1. A1.571
  2. B0.429
  3. C1.528
  4. D1.429
Show answerHide answer

Correct answer: (A) 1.571

Explanation

The keyed 1.571 comes from x³ + 4x − 9 = 0 (the cube seems lost in the source): f(1) = −4, f'(1) = 3 + 4 = 7, so x₁ = 1 + 4/7 ≈ 1.571. With x² instead, x₁ would be 1.667.

Q175DSSSB PGT Computer Science (Technical), 11 Jul 2021
________ is the science of computers dealing with languages?
  1. ADistributed computing
  2. BMachine language
  3. CAssembly Language
  4. DComputational linguistics
Show answerHide answer

Correct answer: (D) Computational linguistics

Explanation

Computational linguistics is the scientific study of language from a computational point of view, i.e., computers processing human language.

Q176DSSSB PGT Computer Science (Technical), 11 Jul 2021
An image may be defined as a 2-dimensional function f(x, y) where x and y are ________ and the amplitude of the function is called ________ of the image at the point (x, y)
  1. AIntensity; coordinates
  2. BIntensity; brightness
  3. CCoordinates; intensity
  4. DBrightness; coordinates
Show answerHide answer

Correct answer: (C) Coordinates; intensity

Explanation

In f(x, y), x and y are spatial coordinates, and the amplitude of f at any point is the intensity (grey level) of the image there.

Q177DSSSB PGT Computer Science (Technical), 11 Jul 2021
The process which digitized amplitude value of the image during digital conversion of an image is known as ________.
  1. ASampling
  2. BQuantization
  3. CFiltering
  4. DExtraction
Show answerHide answer

Correct answer: (B) Quantization

Explanation

Digitizing the coordinates is sampling, and digitizing the amplitude values is quantization.

Q178DSSSB PGT Computer Science (Technical), 11 Jul 2021
'Preparing any project in science/mathematics may give pleasure to the pupil as result of which he/she is motivated to undertake similar activities on his/her own.' This given statement describes which of the following type(s) of motivation? I. Intrinsic Motivation II. Extrinsic Motivation
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (A) Only I

Explanation

The motivation comes from the pleasure of doing the activity itself, not from an outside reward, so it is intrinsic motivation.

Q179DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following statement(s) is/are not correct? I. Conditioning of elicited behaviours defines classical conditioning. II. Conditioning of emitted behaviours defines operant conditioning.
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (D) Neither I nor II

Explanation

Both statements are correct: classical conditioning conditions elicited (respondent) behaviour, and operant conditioning conditions emitted behaviour. So neither is incorrect.

Q180DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is/are those medium(s) by which value education can be provided to the students? I. Skits and Dramas II. Morning Assembly III. Compulsory Subject
  1. AII and III
  2. BOnly III
  3. CI and II
  4. DI, II and III
Show answerHide answer

Correct answer: (D) I, II and III

Explanation

Value education can be given through skits and dramas, morning assemblies, and as a compulsory subject, so all three are correct.

Q181DSSSB PGT Computer Science (Technical), 11 Jul 2021
________ and ________ are planned and organized for improving the power of thinking.
  1. ACurriculum; instructions
  2. BCharts; teaching
  3. CTeaching; instruction
  4. DEvaluation; instructions
Show answerHide answer

Correct answer: (C) Teaching; instruction

Explanation

Teaching and instruction are planned and organised activities meant to develop learners' thinking power.

Q182DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is not a assist ive device used for children with Visual Impairment?
  1. ABraille
  2. BHearing aid
  3. CArithmetic Frames
  4. DAbacus
Show answerHide answer

Correct answer: (B) Hearing aid

Explanation

Braille, arithmetic frames (Taylor frame) and the abacus help visually impaired children. A hearing aid is for hearing impairment.

Q183DSSSB PGT Computer Science (Technical), 11 Jul 2021
Ideas for dramas may come from which of the following sources? I. The imagination II. The environment III. History/Literature IV. Movies
  1. AII, III and IV
  2. BI and IV
  3. CIII and IV
  4. DI, II, III and IV
Show answerHide answer

Correct answer: (D) I, II, III and IV

Explanation

Ideas for drama can come from imagination, the environment, history/literature and movies, so all four sources apply.

Q184DSSSB PGT Computer Science (Technical), 11 Jul 2021
If a teacher is teaching topic 'Forts' to the students, then a teacher can perform introductory activities by making documentation cards indicating which of the following? I. Name of Historical buildings. II. Drawing of unique architectural features of the building such as pillars/domes etc
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (D) Neither I nor II

Explanation

Note: the answer key gives (D), but as written both items (names of historical buildings and drawings of features such as pillars and domes) are suitable for introductory documentation cards on forts, so (C) would be expected.

Q185DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following statement(s) is/are not correct about 'Facilitation' in art education? I. Helping the child by giving free access to handling musical instruments with a caution for care. II. Providing lot of art material for helping the child to choose and pick and innovate.
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (A) Only I

Explanation

Following the key, statement II (providing plenty of art material so the child can choose, pick and innovate) describes facilitation, and statement I is treated as not correct.

Q186DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is/are not the method(s) of assessment in Language Learning? I. Oral Test II. Written Test
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (D) Neither I nor II

Explanation

Oral and written tests are both valid ways to assess language learning, so neither is "not" a method of assessment.

Q187DSSSB PGT Computer Science (Technical), 11 Jul 2021
While teaching a children how to read, which of the following things need to be kept in mind? I. The material used must be meaningful and of the level of the child. II. The material should be in a language that the child is familiar with.
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (C) Both I and II

Explanation

Reading material should be meaningful and suited to the child's level, and in a language the child is familiar with. Both points are needed.

Q188DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is/are the role(s) of teachers in the Theme Based Integrated Early Childhood and Care Education Programme? I. Observe children to identify their interests, needs and capabilities and the pace of their development. II. Create nurturing and positive relationships in the classroom.
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (C) Both I and II

Explanation

In a theme-based ECCE programme, teachers observe children's interests, needs and pace of development, and build nurturing, positive relationships. Both are teacher roles.

Q189DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is/are the major type(s) of play for a child? I. Constructive play II. Functional play III. Dramatic or pretend play
  1. AI and III
  2. BII and III
  3. COnly III
  4. DI, II, and III
Show answerHide answer

Correct answer: (D) I, II, and III

Explanation

Major types of children's play include functional (practice), constructive and dramatic/pretend play, so all three are correct.

Q190DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following Pre – number concept(s) can be developed in children during the pre school years? I. Matching II. Sorting III. Comparing
  1. AI and III
  2. BI and II
  3. COnly I
  4. DI, II, and III
Show answerHide answer

Correct answer: (D) I, II, and III

Explanation

Matching, sorting/classifying, comparing and seriation are pre-number concepts developed in the preschool years.

Q191DSSSB PGT Computer Science (Technical), 11 Jul 2021
In which stage of cognitive development of Piaget's theory, a child understands and carry out calculations involving proportions?
  1. APre-operation Period
  2. BConcrete Operation Period
  3. CFormal Operation Period
  4. DSensory Motor Period
Show answerHide answer

Correct answer: (C) Formal Operation Period

Explanation

Proportional reasoning needs abstract thought, which develops in Piaget's formal operational stage (11+ years).

Q192DSSSB PGT Computer Science (Technical), 11 Jul 2021
'When we study history, then we study the history of many other social science subjects like economic history, political history, history of psychology etc'. This statement given above shows that social science subjects are ________ in nature. I. Independent II. Interdisciplinary III. Interrelated
  1. AI and III
  2. BOnly II
  3. COnly III
  4. DII, and III
Show answerHide answer

Correct answer: (D) II, and III

Explanation

History includes economic, political and other histories, so social science subjects are interdisciplinary and interrelated, not independent.

Q193DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following can help a teacher to make teaching-learning process participatory in social science? I. By arranging debate, discussions on emerging social issues for example: dowry, population growth etc. II. By teaching students that how to cooperate with each other.
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (C) Both I and II

Explanation

Debates and discussions on social issues, and teaching students to cooperate, both make social science learning participatory.

Q194DSSSB PGT Computer Science (Technical), 11 Jul 2021
Scientific argument involves three components. Which of the following are these components? I. Hypothesis II. Predictions III. The evidence
  1. AI and III
  2. BII and III
  3. CI and II
  4. DI, II, and III
Show answerHide answer

Correct answer: (D) I, II, and III

Explanation

A scientific argument links a hypothesis, the predictions drawn from it, and the evidence that tests those predictions.

Q195DSSSB PGT Computer Science (Technical), 11 Jul 2021
________ addresses to the principle that knowledge arises from experience and evidence gathered specifically using senses. I. Skepticism II. Empiricism
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (B) Only II

Explanation

Empiricism holds that knowledge comes from sensory experience and evidence. Scepticism is doubt about claims to knowledge.

Q196DSSSB PGT Computer Science (Technical), 11 Jul 2021
The syllabus of Environment studies for class III to V is woven around the 6 interconnected themes. Which of the following is/are among those themes? I. Shelter II. Water III. Food
  1. AI and III
  2. BII and III
  3. COnly III
  4. DI, II, and III
Show answerHide answer

Correct answer: (D) I, II, and III

Explanation

The NCERT EVS syllabus for classes III-V uses six themes: Family and Friends, Food, Shelter, Water, Travel, and Things We Make and Do. So all three are themes.

Q197DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is/are the instructional objective(s) of mathematics? I. To apply addition of two digit numbers in solving problems of daily life. II. To apply formula of direct variable to solve simple problems of day to day life.
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (C) Both I and II

Explanation

Both are specific, measurable application-level objectives that link mathematics to daily life, so both are instructional objectives.

Practise it as a real test

Reading answers is not the same as solving under time pressure. Attempt DSSSB PGT Computer Science PYQ (Technical), 11 Jul 2021 online with the real 120-minute timer and marking scheme to get your score and all-India rank, or browse the other tests in the DSSSB PGT Computer Science Mock Test & Previous Year Papers.