DSSSB TGT / PGT · Topic-wise previous year questions

Computer Science Previous Year Questions (page 2)

1995 Computer Science questions asked in DSSSB TGT / PGT previous year papers, each with the correct answer and explanation. Read them free on UTpaper, or attempt the full papers as timed online tests.

  • 1995 questions
  • 19 topics
  • Official answer key
  • Free

Practise by topic

Q51From DSSSB TGT Computer Science Practice Set 5
The five items P,Q,R,S and T are pushed in a stack, one after the other starting from P. The stack is popped four times and each element is inserted in a queue. Then two elements are deleted from the queue and pushed back on the stack. Now one item is popped from the stack, The popped item is :
  1. AS
  2. BP
  3. CQ
  4. DR
Show answerHide answer

Correct answer: (A) S

Explanation

After pushing P to T, popping four times sends T, S, R, Q to the queue, leaving P on the stack. Dequeuing two gives T and S, which are pushed back (stack P, T, S). The next pop returns S.

Q52From DSSSB TGT Computer Science Practice Set 5
How many bits are used in the exponent part of IEEE single precision format for the representation of floating – point numbers?
  1. A32 bits
  2. B8 bits
  3. C16 bits
  4. D24 bits
Show answerHide answer

Correct answer: (B) 8 bits

Explanation

IEEE 754 single precision uses 1 sign bit, 8 exponent bits and 23 mantissa bits, 32 bits in total.

Q53From DSSSB TGT Computer Science Practice Set 5
The unit receiving the data item responds with another control signal to acknowledge receipt of the data. This type of agreement between two independent units is known as ______.
  1. AStrobe control
  2. BMultitasking
  3. CHandshaking
  4. DPiggybacking
Show answerHide answer

Correct answer: (C) Handshaking

Explanation

In handshaking, the sender signals that data is ready and the receiver replies with an acknowledgement signal. Strobe control uses only one control signal.

Q54From DSSSB TGT Computer Science Practice Set 5
What correction is required for following Java code snippet to compile? int [] X = new int [10]; for (int P = 0; P<= X.length(); P++) X [P] = 5;
  1. AX [P] = 5 should be X (P) = 5
  2. BP<= X.length() should be P< X.length()
  3. CX.length() should be X.length
  4. DP++ should be P+1
Show answerHide answer

Correct answer: (C) X.length() should be X.length

Explanation

In Java, length is a field of an array, not a method, so X.length() will not compile and must be X.length. The <= would only cause a runtime exception, not a compile error.

Q55From DSSSB TGT Computer Science Practice Set 5
Copying a process from memory to disk to allow space for other processes is called ______.
  1. ADemand paging
  2. BDeadlock
  3. CPagefault
  4. DSwapping
Show answerHide answer

Correct answer: (D) Swapping

Explanation

Swapping moves a whole process from main memory to disk (and back later) to free memory for other processes.

Q56From DSSSB TGT Computer Science Practice Set 5
When a subroutine is called, the address of the instruction following the CALL instructions stored in/on the ______.
  1. AProgram counter
  2. BStack
  3. CStack pointer
  4. DAccumulator
Show answerHide answer

Correct answer: (B) Stack

Explanation

CALL pushes the return address (the address of the next instruction) onto the stack, and RET pops it back into the program counter.

Q57From DSSSB TGT Computer Science Practice Set 5
Which method out of the following will allow the read operation from a Binary file in a Python program?
  1. Aread
  2. Binput
  3. Caccept
  4. Dload
Show answerHide answer

Correct answer: (A) read

Explanation

read() reads bytes from a file opened in binary mode ('rb'). input() reads from the keyboard.

Q58From DSSSB TGT Computer Science Practice Set 5
Which is the Linux?
  1. AOpen-source Operating System
  2. BOpen-source Application Software
  3. CWindows based Application Software
  4. DProprietary Operating System
Show answerHide answer

Correct answer: (A) Open-source Operating System

Explanation

Linux is a free, open-source operating system (kernel) released under the GNU GPL.

Q59From DSSSB TGT Computer Science Practice Set 5
Which of the following MySQL query is syntactically correct and most preferred one?
  1. ASELECT SECTION, COUNT(*) FROM STUDENT ORDER BY SECTION GROUP BY SECTION WHERE MARKS<33 AND COUNT(*)>0;
  2. BSELECT SECTION, COUNT(*) FROM STUDENT WHERE MARKS<33 HAVING COUNT(*)>0 GROUP BY SECTION ORDER BY SECTION;
  3. CSELECT SECTION, COUNT(*) FROM STUDENT WHERE MARKS<33 GROUP BY SECTION HAVING COUNT(*)>0 ORDER BY SECTION;
  4. DSELECT SECTION COUNT(*) FROM STUDENT GROUP BY SECTION WHERE MARKS<33 AND COUNT(*)>0 ORDER BY SECTION;
Show answerHide answer

Correct answer: (C) SELECT SECTION, COUNT(*) FROM STUDENT WHERE MARKS<33 GROUP BY SECTION HAVING COUNT(*)>0 ORDER BY SECTION;

Explanation

The clauses must come in the order WHERE, GROUP BY, HAVING, ORDER BY. Conditions on groups such as COUNT(*) > 0 go in HAVING, not WHERE.

Q60From DSSSB TGT Computer Science Practice Set 5
Which of the following MySQL query will display all the NAME from the table STUDENT, which are having maximum five characters and starting with the alphabet 'A'?
  1. ASELECT NAME FROM STUDENT WHERE NAME LIKE 'A____';
  2. BSELECT NAME FROM STUDENT WHERE NAME = 'A____';
  3. CSELECT NAME FROM STUDENT WHERE NAME = 'A%%%%;
  4. DSELECT NAME FROM STUDENT WHERE NAME LIKE 'A%%%%'
Show answerHide answer

Correct answer: (A) SELECT NAME FROM STUDENT WHERE NAME LIKE 'A____';

Explanation

LIKE with the wildcard _ matches exactly one character, so 'A____' matches names that start with A and have five characters. The = operator does not treat wildcards specially.

Q61From DSSSB TGT Computer Science Practice Set 5
Which of the following components of pre-service teacher education program has greater scope for experiential learning?
  1. APedagogy courses through use of critical thinking
  2. BFoundation courses through critical exposure
  3. CCritical reading based on great thinkiers' work
  4. DInternship through school attachment
Show answerHide answer

Correct answer: (D) Internship through school attachment

Explanation

Internship through school attachment puts student-teachers into real classrooms, so it offers the most scope for experiential (learning by doing) learning.

Q62From DSSSB TGT Computer Science Practice Set 5
What is the full form of ABC as per the NEP 2020?
  1. AAssessment Book of Credits
  2. BAcademic Bank of Certificates
  3. CAcademic Bank of Credit
  4. DAssessment Book of Certificates
Show answerHide answer

Correct answer: (C) Academic Bank of Credit

Explanation

Under NEP 2020, ABC stands for Academic Bank of Credit, a digital store of the credits a student earns so they can be transferred and counted toward a degree.

Q63From DSSSB TGT Computer Science Practice Set 5
In XML, what is the single top level element called that can contain any number of nested subelements ?
  1. ANode element
  2. BRoot element
  3. CMeta element
  4. DSource element
Show answerHide answer

Correct answer: (B) Root element

Explanation

An XML document has exactly one root element, which encloses every other element.

Q64From DSSSB TGT Computer Science Practice Set 5
A valid XML document means : (a) The document must be well formed (b) The document must apply to the rules of the DTD
  1. ABoth (a) and (b) are true
  2. BOnly (a) is true
  3. COnly (b) is true
  4. DBoth (a) and (b) are false
Show answerHide answer

Correct answer: (A) Both (a) and (b) are true

Explanation

A valid XML document must be well-formed and must also follow the rules of its DTD (or schema), so both statements are true.

Q65From DSSSB TGT Computer Science Practice Set 5
This begins at the root and follows a path down to the specified file, giving the directory names on the path. This is known as
  1. AAbsolute path name
  2. BRelative path name
  3. CDefinite path name
  4. DIndefinite path name
Show answerHide answer

Correct answer: (A) Absolute path name

Explanation

An absolute path name starts at the root directory and lists every directory down to the file. A relative path starts from the current directory.

Q66From DSSSB TGT Computer Science Practice Set 5
Select the correct output of the following C++ program segment assuming all necessary header files are correctly included: void main( ) { char *S = "MySQL"; S += 2; cout << S <<endl; }
  1. ASQL
  2. BQL
  3. CMy
  4. DMyS
Show answerHide answer

Correct answer: (A) SQL

Explanation

S points to "MySQL". S += 2 moves it past 'M' and 'y' to 'S', so cout prints the string from there: SQL.

Q67From DSSSB TGT Computer Science Practice Set 5
How many times loop will be executed in the following flow chart ? Flowchart: Start → U=70 → decision 'IS U>=0?' — NO: exit; YES: PRINT U → U=U−35 → back to the decision.
  1. A1
  2. B2
  3. C3
  4. D70
Show answerHide answer

Correct answer: (C) 3

Explanation

Corrected: the book's key says (b). U takes the values 70, 35 and 0 (all >= 0), so the loop body runs 3 times.

Q68From DSSSB TGT Computer Science Practice Set 5
Which of the following flow charts will be most appropriate for finding sum of first 10 multiples of 5?
  1. AS=0 → I=5 → decision 'IS I<=50?' — NO: PRINT S; YES: S=S+I → I=I+5 → back to the decision.
  2. BS=0 → I=5 → decision 'IS I<=50?' — NO: PRINT S; YES: I=I+5 → S=S+I → back to the decision.
  3. CI=1 → S=0 → decision 'IS I<=10?' — NO: PRINT S; YES: S=S+5*I → I=I+5 → back to the decision.
  4. DS=0 → I=1 → decision 'IS I<=10?' — NO: PRINT S; YES: I=I+1 → S=S+5*I → back to the decision.
Show answerHide answer

Correct answer: (A) S=0 → I=5 → decision 'IS I<=50?' — NO: PRINT S; YES: S=S+I → I=I+5 → back to the decision.

Explanation

The first 10 multiples of 5 are 5 to 50. Flowchart A starts at I = 5, adds I to S and then increases I by 5 while I ≤ 50. B increases I before adding, so it sums 10 to 55.

Q69From DSSSB TGT Computer Science Practice Set 5
What will be the output of the following HTML code snippet? <IMG SRC = "FLOWER.JPG" HEIGHT = 100 WIDTH = 40 BORDER = 10>
  1. AThe image flower.jpg will be displayed with 100 pixel height 40 pixel width and a border with RGB code as 10
  2. BThe image flower.jpg will be displayed as a 100 px by 40px image with a 10px thick border
  3. CThe image flower.jpg will be displayed as a 40 cm by 100 cm image with a 10 cm thick border
  4. DThe image flower.jpg will be displayed as a 100 mm by 40 mm image with a 10 mm thick border
Show answerHide answer

Correct answer: (B) The image flower.jpg will be displayed as a 100 px by 40px image with a 10px thick border

Explanation

In HTML, HEIGHT, WIDTH and BORDER values are in pixels, so the image appears 100 px high and 40 px wide with a 10 px border.

Q70From DSSSB TGT Computer Science Practice Set 5
Which of the following is the correct code to create a framed webpage as in the figure below? Figure: the window is split into two rows: the top row (25%) is Frame A; the bottom row (75%) is split into two equal columns (50% each): Frame B on the left and Frame C on the right.
  1. A<FRAMESET ROWS = "25%, 75%"> <FRAME SRC = "A.html"> <FRAMESET COLS = "50%, 50%"> <FRAME SRC = "B.html"> <FRAME SRC = "C.html"> </FRAMESET> </FRAMESET>
  2. B<FRAMESET COLS = "25%, 75%"> <FRAME SRC = "A.html"> <FRAMESET ROWS = "50%, 50%"> <FRAME SRC = "B.html"> <FRAME SRC = "C.html"> </FRAMESET> </FRAMESET>
  3. C<FRAME ROWS = "25%, 75%"> <FRAMESET SRC = "A.html"> <FRAME COLS = "50%, *"> <FRAMESET SRC = "B.html"> <FRAMESET SRC = "C.html"> </FRAME> </FRAME>
  4. D<FRAME COLS = "25%, 75%"> <FRAMESET SRC = "A.html"> <FRAME ROWS = "50%, *"> <FRAMESET SRC = "B.html"> <FRAMESET SRC = "C.html"> </FRAME> </FRAME>
Show answerHide answer

Correct answer: (A) <FRAMESET ROWS = "25%, 75%"> <FRAME SRC = "A.html"> <FRAMESET COLS = "50%, 50%"> <FRAME SRC = "B.html"> <FRAME SRC = "C.html"> </FRAMESET> </FRAMESET>

Explanation

The outer FRAMESET ROWS="25%,75%" makes two rows: Frame A in the first row, and a nested FRAMESET COLS="50%,50%" holding Frames B and C in the second. Options C and D swap FRAME and FRAMESET.

Q71From DSSSB TGT Computer Science Practice Set 5
This question is based on the following C++ code segment and class FUN : class FUN { int CODE ; public : FUN ( ); //Function1 FUN (int C); //Function2 FUN (FUN & F); //Function3 void DISP ( ); //Function4 ~FUN ( ); //Function5 }; void main ( ) { FUN F1 ; ______ // BLANK ______ } Which of the following C++ command/ statement can be written in the line marked as BLANK to invoke the function whose prototype is marked as Function 3 ?
  1. AFUN F2;
  2. BFUN F2 (501);
  3. CFUN F2 (F1);
  4. DFUN F2 = F1;
Show answerHide answer

Correct answer: (C) FUN F2 (F1);

Explanation

Function 3, FUN(FUN &F), is the copy constructor, which runs when a new object is made from an existing one, as in FUN F2(F1). (FUN F2 = F1; also calls it, but C is the direct form.)

Q72From DSSSB TGT Computer Science Practice Set 5
This question is based on the following C++ code segment and class FUN: class FUN { int CODE ; public : FUN ( ); //Function1 FUN (int C); //Function2 FUN (FUN & F); //Function3 void DISP ( ); //Function4 ~FUN ( ); //Function5 }; void main ( ) { FUN F1 ; ______ // BLANK ______ } Which of the following is called a destructor of the class FUN ?
  1. AFUNCTION 1
  2. BFUNCTION 2
  3. CFUNCTION 3
  4. DFUNCTION 5
Show answerHide answer

Correct answer: (D) FUNCTION 5

Explanation

A destructor has the class name with a tilde and no arguments, so ~FUN() (Function 5) is the destructor.

Q73From DSSSB TGT Computer Science Practice Set 5
Which of the following is the correct order of Problem Solving steps? (A) Algorithm Development (B) Coding (C) Analysis of problem (D) Testing & Debugging
  1. A(A), (B), (C), (D)
  2. B(C), (A), (D), (B)
  3. C(A), (C), (B), (D)
  4. D(C), (A), (B), (D)
Show answerHide answer

Correct answer: (D) (C), (A), (B), (D)

Explanation

First analyse the problem, then develop an algorithm, code it, and finally test and debug it: (C), (A), (B), (D).

Q74From DSSSB TGT Computer Science Practice Set 5
Which of the following operator is not an arithmatic operator ?
  1. A+
  2. B*
  3. C−
  4. D>
Show answerHide answer

Correct answer: (D) >

Explanation

">" is a relational (comparison) operator. +, * and − are arithmetic operators.

Q75From DSSSB TGT Computer Science Practice Set 5
Which of the following options states the correct storage - device hierarchy in terms of increasing size in a computer system?
  1. Acache, register, main memory, solid state disk
  2. Bregisters, cache, main memory, solid state disk
  3. Cregisters, cache, solid state disk, main memory
  4. Dcache, register, solid state disk, main memory
Show answerHide answer

Correct answer: (B) registers, cache, main memory, solid state disk

Explanation

Going up the hierarchy, size grows and speed falls: registers, then cache, then main memory, then solid-state disk.

Q76From DSSSB TGT Computer Science Practice Set 5
DMA steals cycle from the ______.
  1. AI/O device or Hard disk
  2. BPhysical Memory
  3. CCache Memory
  4. DCentral Processing Unit
Show answerHide answer

Correct answer: (D) Central Processing Unit

Explanation

In cycle stealing, the DMA controller takes the system bus from the CPU for a memory cycle at a time, so it steals cycles from the CPU.

Q77From DSSSB TGT Computer Science Practice Set 5
The term ______ is used for the larger, more powerful computers other than supercomputers. It supports a large database, has elaborate I/O hardware, and is used in a central data processing facility.
  1. AMinicomputer
  2. BSupercomputer
  3. CMainframe
  4. DMicrocomputer
Show answerHide answer

Correct answer: (C) Mainframe

Explanation

A mainframe is a large, powerful computer below a supercomputer that supports large databases and extensive I/O, and is used in central data processing.

Q78From DSSSB TGT Computer Science Practice Set 5
Opening cash balance is ₹2,50,000. Receipts are ₹1,75,000 and payments are ₹1,25,000. Closing balance is:
  1. A₹3,00,000
  2. B₹3,25,000
  3. C₹2,75,000
  4. D₹4,00,000
Show answerHide answer

Correct answer: (A) ₹3,00,000

Explanation

Closing balance = opening + receipts − payments = 2,50,000 + 1,75,000 − 1,25,000 = ₹3,00,000.

Q79From DSSSB TGT Computer Science Practice Set 5
Opening cash is ₹9,00,000. Receipts are ₹4,50,000. Payments are ₹3,75,000. Closing cash is:
  1. A₹9,75,000
  2. B₹10,00,000
  3. C₹9,50,000
  4. D₹8,75,000
Show answerHide answer

Correct answer: (A) ₹9,75,000

Explanation

Closing cash = 9,00,000 + 4,50,000 − 3,75,000 = ₹9,75,000.

Q80From DSSSB TGT Computer Science Practice Set 5
The development of second language skills must be in ?
  1. Asequential manner
  2. Bsequential order and in an integrated manner
  3. Cin isolation
  4. Dintegrated manner
Show answerHide answer

Correct answer: (B) sequential order and in an integrated manner

Explanation

The skills of a second language develop in a natural sequence (listening, speaking, reading, writing), but they should be taught together in an integrated way rather than in isolation.

Q81From DSSSB TGT Computer Science Practice Set 5
A child is able to acquire his mother tongue by ?
  1. Ainformal way
  2. Bschooling
  3. Crules
  4. Dformal way
Show answerHide answer

Correct answer: (A) informal way

Explanation

A child picks up the mother tongue informally, by hearing and using it every day at home, without formal teaching of rules.

Q82From DSSSB TGT Computer Science Practice Set 5
What is the correct sequence of acquiring a language ?
  1. AListening, speaking, reading, writing
  2. BWriting, speaking, reading, listening
  3. CListening, reading, writing, speaking
  4. DSpeaking, listening, reading, writing
Show answerHide answer

Correct answer: (A) Listening, speaking, reading, writing

Explanation

Language is acquired in the natural order: listening first, then speaking, then reading, and finally writing (LSRW).

Q83From DSSSB TGT Computer Science Practice Set 5
The teacher provides study material a day before teaching the same thing students read it according to their ability and use the time to complete the assignments in the class with the help of teacher what type of approach is highlighted in the statement?
  1. ABlended learning
  2. BDistance learning
  3. CVirtual learning
  4. DTraditional learning
Show answerHide answer

Correct answer: (A) Blended learning

Explanation

Studying the material before class and using class time for assignments with the teacher is the flipped-classroom model, a form of blended learning that mixes self-study with face-to-face teaching.

Q84From DSSSB TGT Computer Science Practice Set 5
The teacher delivered her lesson plan in the classroom and uploaded the study material on Google drive. She gave the access of the link to all the students for their ease. Which type of ICT source did she use ?
  1. ACloud computing
  2. BBlended learning
  3. CSocial media
  4. DTraditional method
Show answerHide answer

Correct answer: (A) Cloud computing

Explanation

Google Drive stores files on remote internet servers and shares them by link, which is cloud computing.

Q85From DSSSB TGT Computer Science Practice Set 5
Which stage in child development refers to the holly Frostik age ?
  1. AThe stage of two words
  2. BThe stage of one word
  3. CThe stage of syntax
  4. DStage of combining words
Show answerHide answer

Correct answer: (B) The stage of one word

Explanation

The holophrastic stage (about 12-18 months) is the one-word stage, when a single word expresses a whole sentence or idea.

Q86From DSSSB TGT Computer Science Practice Set 5
At what age does the child develop his fluent speech without any errors ?
  1. A11 years
  2. BAbove 12 years
  3. CAbove 14 years
  4. D8-12 years
Show answerHide answer

Correct answer: (B) Above 12 years

Explanation

According to the source, a child's speech becomes fully fluent and free of errors only after the age of about 12 years.

Q87From DSSSB TGT Computer Science Practice Set 5
Which refers to the subconscious process of 'understanding' a language through exposure?
  1. AAccess
  2. BListening
  3. CSpeaking
  4. DAcquisition
Show answerHide answer

Correct answer: (D) Acquisition

Explanation

Acquisition is the subconscious way a language is picked up through exposure and use. Learning is the conscious study of rules.

Q88From DSSSB TGT Computer Science Practice Set 5
Which of the following is not an advantage of ICT in education?
  1. ACommunication the gap
  2. Bpromotes traditional education
  3. Ctime efficient
  4. DAccess more information
Show answerHide answer

Correct answer: (B) promotes traditional education

Explanation

ICT changes and modernises teaching, so "promotes traditional education" is not one of its advantages. Bridging communication gaps, saving time and giving access to more information are advantages.

Q89From DSSSB TGT Computer Science Practice Set 5
Assessments like unit test and class tests are covered under following ______
  1. ASummative assessment
  2. BPortfolio assessment
  3. CFormative assessment
  4. DCCE
Show answerHide answer

Correct answer: (C) Formative assessment

Explanation

Unit tests and class tests happen during teaching to check progress and give feedback, so they are formative assessment. Summative assessment comes at the end of a term.

Q90From DSSSB TGT Computer Science Practice Set 4
The concatenation of two lists is to be performed in O(1) time. Which of the following implementations of lists could be used?
  1. ASingly linked list
  2. BDoubly linked list
  3. CCircular doubly linked list
  4. DArray implementation of list
Show answerHide answer

Correct answer: (C) Circular doubly linked list

Explanation

In a circular doubly linked list the last node is reached directly through head->prev. So two lists can be joined by changing a few pointers in O(1) time, without traversing.

Q91From DSSSB TGT Computer Science Practice Set 4
Match List-I with List-II and select the correct answer using the codes given below the Lists: List-I A. All-pairs shortest path B. Quicksort C. Minimum weight spanning tree D. Connected components List-II 1. Greedy 2. Depth-first search 3. Dynamic programming 4. Divide and conquer Codes: A B C D
  1. A2 4 1 3
  2. B3 4 1 2
  3. C3 4 2 1
  4. D4 1 2 3
Show answerHide answer

Correct answer: (B) 3 4 1 2

Explanation

All-pairs shortest path (Floyd-Warshall) uses dynamic programming, quicksort uses divide and conquer, minimum spanning tree (Prim/Kruskal) is greedy, and connected components are found with DFS. That gives 3, 4, 1, 2.

Q92From DSSSB TGT Computer Science Practice Set 4
Which of the following algorithms solves the all-pairs shortest path problem?
  1. ADijkstra's algorithm
  2. BFloyd's algorithm
  3. CPrim's algorithm
  4. DWarshall's algorithm
Show answerHide answer

Correct answer: (B) Floyd's algorithm

Explanation

Floyd's (Floyd-Warshall) algorithm finds shortest paths between every pair of vertices in O(V³). Dijkstra is single-source, Prim builds an MST, and Warshall finds transitive closure.

Q93From DSSSB TGT Computer Science Practice Set 4
Which of the following sorting algorithms has the worst time complexity of nlog(n)?
  1. AHeapsort
  2. BQuicksort
  3. CInsertion sort
  4. DSelection sort
Show answerHide answer

Correct answer: (A) Heapsort

Explanation

Heapsort is O(n log n) even in the worst case. Quicksort's worst case is O(n²), and insertion and selection sort are O(n²).

Q94From DSSSB TGT Computer Science Practice Set 4
In a relational database model, cardinality of a relation means :
  1. AThe number of constraints
  2. BThe number of tuples
  3. CThe number of attributes
  4. DThe number of tables
Show answerHide answer

Correct answer: (B) The number of tuples

Explanation

Cardinality of a relation is its number of tuples (rows). Degree is its number of attributes (columns).

Q95From DSSSB TGT Computer Science Practice Set 4
Conceptual level, Internal level and External level are three components of the three- level RDBMS architecture. Which of the following is not part of the conceptual level?
  1. AStorage dependent details
  2. BEntities, attributes, relationships
  3. CConstraints
  4. DSemantic information
Show answerHide answer

Correct answer: (A) Storage dependent details

Explanation

Storage-dependent details such as file organisation and indexes belong to the internal (physical) level. The conceptual level describes entities, attributes, relationships, constraints and semantics.

Q96From DSSSB TGT Computer Science Practice Set 4
Which of the following represents the life-cycle of software development ?
  1. ADesign → Analysis → Coding → Operation and maintenance → Testing
  2. BAnalysis → Design → Coding → Testing → Operation and Maintenance
  3. CDesign → Analysis → Coding → Testing → Operation and Maintenance
  4. DAnalysis → Design → Coding → Operation and Maintenance → Testing
Show answerHide answer

Correct answer: (B) Analysis → Design → Coding → Testing → Operation and Maintenance

Explanation

The SDLC order is: analysis of requirements, design, coding, testing, then operation and maintenance.

Q97From DSSSB TGT Computer Science Practice Set 4
Given that a 22-inch monitor with an aspect ratio of 16 : 9 has monitor resolution of 1920×1080, what is the width of the monitor ?
  1. A22 inches
  2. B8.53 inches
  3. C10.79 inches
  4. D19.17 inches
Show answerHide answer

Correct answer: (D) 19.17 inches

Explanation

Diagonal = 22 in and the ratio is 16:9, so the diagonal factor is √(16² + 9²) = √337 ≈ 18.36. Width = 22 × 16 ÷ 18.36 ≈ 19.17 inches.

Q98From DSSSB TGT Computer Science Practice Set 4
Which of the following sorting algorithms uses recursion?
  1. AInsertion Sort
  2. BHeap Sort
  3. CMerge Sort
  4. DBubble Sort
Show answerHide answer

Correct answer: (C) Merge Sort

Explanation

Merge sort splits the array, recursively sorts each half and merges them. Insertion, bubble and heap sort are usually written iteratively.

Q99From DSSSB TGT Computer Science Practice Set 4
Mechanism that is used to convert domain name into IP address is known as ______.
  1. AHTTP
  2. BURL
  3. CFTP
  4. DDNS
Show answerHide answer

Correct answer: (D) DNS

Explanation

DNS (Domain Name System) translates domain names such as example.com into IP addresses.

Q100From DSSSB TGT Computer Science Practice Set 4
Which of the following statements best describes the main reasons for normalizing relational database? I. To Achieve physical data independence. II. To remove data anomalies (insertion. update, deletion, anomalies). III. To save space on disk.
  1. AI, II and III
  2. BI and II only
  3. CI and III only
  4. DII and III only
Show answerHide answer

Correct answer: (D) II and III only

Explanation

Normalization removes redundancy, which prevents insert, update and delete anomalies and saves storage space. It does not provide physical data independence, which comes from the three-level architecture.

How to use these DSSSB TGT / PGT Computer Science questions

Every question here was asked in a real DSSSB TGT / PGT paper; the paper and shift are shown on the card, and the number opens the question on its own page. Try each one before tapping Show answer, then attempt the full DSSSB TGT / PGT papers as timed tests to check your speed under exam conditions.

More DSSSB TGT / PGT subjects