BPSC TRE Previous Question Paper Quiz
विद्यालय अध्यापक परीक्षा के पूछे गए प्रश्न
For Class (1-5), (6-8), (9-10), (11-12)
Results
#1. Which of the following is a technique that marks the beginning of computer communications?
Explanation: Time sharing allowed multiple users to interact with a computer simultaneously, marking the start of interactive computer communications.
#2. Which language is better for writing structured code?
Explanation: Pascal was explicitly designed to encourage structured programming practices.
#3. Which language does a browser use to display information from the World Wide Web?
Explanation: Browsers use HTML, CSS, and JavaScript, not the low-level languages listed
#4. Select the true statement for compiler.
Explanation: All three statements (A, B, and C) correctly describe key functions of a compiler.
#5. _____ is used to shift processes so they are contiguous, and all free memory is in one block.
Explanation: Compaction is the memory management technique that reallocates processes to eliminate fragmentation.
#6. Which of the following is not a valid variable name in most programming languages?
Explanation: Variable names typically cannot begin with a digit, making “123Variable” invalid.
#7. Secondary memory is the long-term store for programs and data while main memory holds program and data currently in use. What kind of an organization is this?
Explanation: This describes a logical memory hierarchy, separating storage based on speed and function.
#8. If a semicolon is not used at the end of the statement, what message will be displayed by C++?
Explanation: C++ compilers typically generate a specific “semicolon missing” syntax error.
#9. A set of libraries that provides programmatically access to some kind of graphics 2D functions is
Explanation: A Graphics Package provides APIs for 2D drawing and rendering functions.
#10. Which shortcut key is used to compile and run the program in C++?
Explanation: In many IDEs like Turbo C++, Ctrl+F9 is the standard shortcut to compile and run.
#11. What does the control unit generate to control other units?
Explanation: The Control Unit generates control signals to coordinate all parts of the CPU
#12. Which of the following is user-defined header file extension used in C++?
Explanation: The `.h` extension is traditionally used for header files in C and C++.
#13. The most common addressing technique employed by a CPU is
Explanation: Direct addressing, where the operand’s address is directly given, is very common.
#14. What will happen if the following C++ statement is compiled and executed? int *ptr = NULL; delete ptr;
Explanation: Deleting a null pointer is safe and well-defined in C++, causing no runtime error.
#15. In various devices, _____ are used to overcome the difference in data transfer speed.
Explanation: Buffer registers temporarily hold data to synchronize between devices with different speeds.
#16. What do we use to extend the connectivity of the processor bus?
Explanation: Both PCI buses and multiple bus architectures are used to extend processor connectivity.
#17. In memory mapped I/O
Explanation: Memory-mapped I/O uses the same address space for both memory and I/O devices
#18. What is the addressing called that is used in an instruction of the form ADD X Y?
Explanation: The form ADD X Y typically implies absolute or direct addressing where X and Y are memory addresses.
#19. Which of the following correctly declares an array in C++?
Explanation: `int array[10];` is the correct syntax for declaring an array of ten integers.
#20. SQL views are also known as
Explanation: A view is a virtual table based on the result-set of an SQL statement.
#21. How many primary keys can be there in a table?
Explanation: A table can have only one primary key, though it may consist of multiple columns.
#22. What will be the output of the following C++ code? #include #include using namespace std; int main(int argc, char const *argv[]) { char s1[6]=“Hello”; char s2[6]=“World”; char s3[12]=s1+“ ”+s2; cout<<s3; return 0; }
Explanation: The code attempts illegal concatenation of character arrays using `+`, resulting in a compilation error.
#23. Which of the following is not constraint in SQL?
Explanation: UNION is an SQL operator for combining result sets, not a data integrity constraint.
#24. Which of the following is not a valid aggregate function?
Explanation: `COMPUTE` is not a standard SQL aggregate function.
#25. Who is the father of computer?
Explanation: Charles Babbage is widely regarded as the “father of the computer” for his conceptual design of the Analytical Engine.
#26. If we have not specified ASC or DESC after an SQL ORDER BY clause, which of the following is used by default?
Explanation: The default sort order for ORDER BY is ascending (ASC).
#27. In IA-32 architecture along with the general flags, which of the following conditional flags is provided?
Explanation: IA-32 architecture includes multiple conditional flags like TF (Trap Flag), IOPL (I/O Privilege Level), and IF (Interrupt Flag).
#28. Which of the following is true about the HAVING clause?
Explanation: The HAVING clause filters groups of rows, whereas WHERE filters individual rows.
#29. The method of accessing the I/O devices by repeatedly checking the status flags is
Explanation: Program-controlled I/O (or polling) involves the CPU repeatedly checking device status flags.
#30. _____ clause creates temporary relation for the query on which it is defined.
Explanation: The WITH clause (Common Table Expression) defines a temporary result set within a query.
#31. The SQL statement SELECT ROUND (65.726, -1) FROM DUAL; prints
Explanation: ROUND(65.726, -1) rounds to the nearest ten, resulting in 70.
#32. The matrix contains m rows and n columns. The matrix is called Sparse Matrix if
Explanation: A matrix is considered sparse if more than half of its elements are zero.
#33. _____ command makes the updates performed by the transaction permanent in the database.
Explanation: The COMMIT command finalizes a transaction, making all changes permanent.
#34. Which of the following is the basic approach for joining tables?
Explanation: Both Natural JOIN and Subqueries are fundamental techniques for combining data from tables.
#35. What is the time complexity of an infix to postfix conversion algorithm?
Explanation: The standard shunting-yard algorithm for infix to postfix conversion runs in linear time, O(N).
#36. Which of the following is the advantage of the array data structure?
Explanation: Arrays provide constant-time O(1) access to elements using their index.
#37. Which data structure is mainly used for implementing the recursive algorithm?
Explanation: The system call stack manages function calls and returns, making it essential for recursion.
#38. What is the postfix expression for the corresponding infix expression? a + b * c + (d * e)
Explanation: Applying operator precedence correctly yields the postfix expression “abc*+de*+”.
#39. Which one of the following is not the type of queue?
Explanation: All listed options (Linear, Circular, Double-ended) are standard types of queues.
#40. The necessary condition to be checked before deletion from the queue is
Explanation: Before deletion (dequeue), one must check for underflow, i.e., if the queue is empty.
#41. After performing following set of operations, what does the final list look contain? InsertFront(10); InsertFront(20); InsertRear(30); DeleteFront( ); InsertRear(40); InsertRear(10); DeleteRear( ); InsertRear(15); display( );
Explanation: Simulating the given operations on a deque results in the final sequence 10, 30, 40, 15.
#42. A linear data structure in which insertion and deletion operations can be performed from both the ends is
Explanation: A deque (double-ended queue) allows insertion and deletion at both front and rear.
#43. If circular queue is implemented using array having size MAX_SIZE in which array index starts with 0, front points to the first element in the queue, and rear points to the last element in the queue. Which one of the following conditions is used to specify that the circular queue is empty?
Explanation: A common convention is to initialize both front and rear to -1 to indicate an empty circular queue.
#44. What is the functionality of the following piece of code? public void fun(int x) { q1.offer(x); }
Explanation: This simple `offer` (enqueue) function simulates a push operation in a queue-based stack simulation where push is costly.
#45. Which one of the following techniques is not used in the binary tree?
Explanation: Binary trees use systematic traversals (inorder, preorder, postorder), not randomized traversal.
#46. Which of the following is not a feature of DBMS?
Explanation: A core feature of DBMS is supporting multiple concurrent users, not single-user access.
#47. Which of the following statements is not true about the doubly linked list?
Explanation: Doubly linked lists are more complex to implement due to the extra previous pointer.
#48. The values appearing in given attributes of any tuple in the referencing relation must likewise occur in specified attributes of at least one tuple in the referenced relation, according to ______ integrity constraint.
Explanation: This defines referential integrity, a key concept in relational databases.
#49. Which of the following options is not true about the binary search tree?
Explanation: All three statements (A, B, C) are true and define the properties of a Binary Search Tree (BST).
#50. The expression Y=AB+BC+AC shows the ______ operation.
Explanation: The expression is a sum of products (SOP), a standard form in Boolean algebra.
#51. What are the canonical forms of Boolean expressions?
Explanation: Canonical forms are Sum Of Minterms (SOM) and Product Of Maxterms (POM)

#52. Derive the Boolean expression for the logic circuit shown below : [Circuit Image]
#53. Boolean algebra can be used
Explanation: Without the circuit image, a specific expression cannot be determined from the given text.
#54. What does the control unit generate to control other units?
Explanation: Boolean algebra is foundational for digital logic design, circuit theory, and creating logic symbols.
#55. To display time in railway stations which digital circuit is used?
Explanation: The Control Unit’s primary role is to generate control signals that orchestrate CPU operations.
#56. What kind of transmission medium is most appropriate to carry data in a computer network that is exposed to electrical interference?
Explanation: Optical fiber uses light, making it immune to electromagnetic interference.
#57. Which network topology requires a central controller or hub?
Explanation: In a star topology, all nodes connect to a central hub or switch.
#58. A collection of hyperlinked documents on the Internet forms the
Explanation: The World Wide Web is defined as a system of interlinked hypertext documents.
#59. Which of the following is not a step in the Header translation procedure?
Explanation: During IPv6 to IPv4 header translation, the IPv6 Flow Label field is typically ignored or discarded.
#60. Which one of the following would breach the integrity of a system?
Explanation: Granting full access to all users removes control, potentially allowing unauthorized data modification and breaching integrity.
#61. Which sublayer of the data link layer performs data link functions that depend upon the type of medium?
Explanation: The MAC (Media Access Control) sublayer handles medium-specific access like Ethernet or Wi-Fi.
#62. Which one of the following is not a network topology?
Explanation: Peer-to-peer is a network *model* for communication, not a physical or logical *topology* like bus, ring, or star.
#63. How do structures and classes in C++ differ?
Explanation: The key difference is the default access specifier: public for structs and private for classes.
#64. When the mail server sends mail to other mail servers it becomes
Explanation: When sending mail, a server acts as an SMTP client relative to the receiving server.
#65. The length of an IPv6 address is
Explanation: An IPv6 address is 128 bits long, which is not listed among the options.
#66. What is the use of ios::trunc mode?
Explanation: The `ios::trunc` mode truncates an existing file to zero length when opening it.
#67. Which layer of the TCP/IP stack corresponds to the OSI model transport layer?
Explanation: The Host-to-Host layer in the TCP/IP model corresponds to the OSI Transport layer.
#68. Which of the following statements is/are correct? 1. It is not possible to combine two or more files opening mode in open() method. 2. It is possible to combine two or more files opening mode in open() method. 3. ios::in and ios::out are input and output file opening modes respectively.
Explanation: Statement 2 (modes can be combined) and 3 (ios::in and ios::out are modes) are correct; statement 1 is false.
#69. Which of the following is true with regard to the ping command?
Explanation: Ping tests network reachability and measures round-trip time and packet loss.
#70. The correct statement for a function that takes pointer to a float, a pointer to a pointer to a char and returns a pointer to a pointer to an integer is
Explanation: The correct prototype matching the description is `int **fun(float *, char **)`.
#71. The private key in asymmetric key cryptography is kept by
Explanation: In asymmetric crypto, the private key is kept secret by the receiver (for decryption or signing).
#72. What will be the output of the following C++ code? #include using namespace std; long factorial (long a) { if (a>1) return (a * factorial (a+1)); else return(1); } int main() { long num = 3; cout <<num<<"!="<<factorial(num); return 0; }
Explanation: The recursive function has an error (`a+1` instead of `a-1`), causing infinite recursion and a stack overflow (segmentation fault).
#73. Which of the following features must be supported by any programming language to become a pure object-oriented programming language?
Explanation: Being “pure” OOP typically requires supporting all core features like encapsulation, inheritance, and polymorphism.
#74. Which is correct syntax of inheritance?
Explanation: Correct syntax is `class DerivedClassName : access-specifier BaseClassName { … };`.
#75. Which one of the following is the correct definition of “is_array();” function in C++?
Explanation: `std::is_array` is a type trait that checks if a given type is an array type.
#76. Which of the following statements is correct about the class?
Explanation: The fundamental OOP concept is that an object is an instance of a class.
#77. Which of the following can be used to create an abstract class in the C++ programming language?
Explanation: A class becomes abstract if it contains at least one pure virtual function (`= 0`).
#78. Which of the following statements is correct about the C++ programming language?
Explanation: Statements A and B are correct; C++ supports static/dynamic checking and const member functions.
#79. Which feature of OOP is indicated by the following code? class student{int marks;}; class topper: public student{int age; topper(int age) {this.age=age;}};
Explanation: The code shows data hiding (encapsulation via `private marks`) and a derived class (inheritance).
#80. Which of the following natural elements is the primary element in computer chips?
Explanation: Silicon is the semiconductor material used as the base for most integrated circuits and computer chips.
Contact for BPSC TRE 4 Complete Preparation
Get Notes – MCQ Collection Mock Test – Old Question Paper Solution – Practice Set
Both PDF & Printout Available
⇒Call/WhatsApp: 76 3131 4948



