HPSC Lecturer Computer Engineering Question Paper PDF
The HPSC Lecturer Computer Engineering previous year question paper of the Haryana Public Service Commission, as a PDF of 16 pages. Solving the real papers of past years is the best way to learn the exam's pattern, the level of its questions and the topics it asks most. Read it below or open it to download, free and without login.
- Commission
- HPSC
- Category
- Teaching
- Pages
- 16
- File size
- 147 KB
Searchable PDF: press Ctrl+F (or Find in page) to find a word, in English or Hindi. Search inside all HPSC papers at once with paper search (PRO).
Questions in this paper
The first questions as text, read from the PDF (scanned papers may have small reading errors)ShowHide
5. In a k-way set associative cache, the cache is divided into v sets, each of which consists of k lines. The lines of a set are placed in sequence one after another. The lines in set s are sequenced before the lines in set (s+1). The main memory blocks are numbered from 0 onwards. The main memory block numbered j must be mapped to any one of the cache lines from
9. What will be the output printed by the following C program? void main() [A] 1, 5 [B] 32, 5 [C] 1, 72 [D] 32, 72
12. N items are stored in a sorted doubly linked list. For a delete operation, a pointer is provided to the record to be deleted. For a decrease-key operation, a pointer provided record which operation performed. An algorithm performs following operations the list in this order: (N)delete, O(logN)insert, O(logN)find (N)decrease-key. What time complexity these operations put together?
13. What is the maximum number of edges in a bipartite graph having 10 vertices? [A] 24 [B] 21 [C] 25 [D] 16
14. If the array A contains the items 10, 4, 7, 23, 67, 12 and 5 in that order, what will be the resultant array after third pass insertion sort? [A] 67, 12, 10, 5, 4, 7, 23 [B] 4, 7, 10, 23, 67, 12, 5 [C] 4, 5, 7, 67, 10, 12, 23 [D] 10, 7, 4, 67, 23, 12, 5 Computer Engineering/5-A
15. Which one of the following hash functions integers will distribute keys most uniformly over 10 buckets numbered 0 to 9 for i ranging from 0 to 2020?
16. What happens when a top-down approach of dynamic programming is applied to any problem? [A] It increases both time complexity space complexity [B] It increases space complexity and decreases the time complexity [C] It increases time complexity and decreases the space complexity [D] It decreases both the time complexity space complexity
24. Which one of the following is a top-down parser? [A] Recursive descent parser [B] Operator precedence parser
28. How are system calls invoked? [B] With an indirect jump [C] Through a software interrupt [D] Through polling
30. Consider the following snapshot of a system running n concurrent processes. Process i is holding Xi Assume that all instances of R are currently in use. Further, for all i, process i can place a request for at most Yi additional instances of R while holding the Xi instances it already has. Of the n processes, there are exactly two processes p such that Yp = Yq = 0. Which following conditions guarantees that other process apart from p and q can complete execution? Computer Engineering/5-A
31. Consider three concurrent processes which access a shared variable D that has been initialized to 100 : The processes are executed on a uniprocessor system running time-shared operating system. If the minimum and maximum possible values of D after the three processes have completed execution are X and Y respectively, then the value of [A] 110 [B] 20 [C] 80 [D] 10 process, process cannot continue with its normal execution and it must be [A] aborted [B] rolled back [C] terminated [D] queued
More HPSC papers like this
- HPSC Subject Knowledge Test Lecturer Agriculture Engineering 2025
- HPSC Subject Knowledge Test Lecturer Automobile Engineering 2025
- HPSC Subject Knowledge Test Lecturer Instrument Control Engineering 2025
- HPSC Lecturer Automobile Engineering
- HPSC Lecturer Chemical Engineering
- HPSC Lecturer Civil Engineering
- HPSC Lecturer Electrical Engineering
- HPSC Lecturer Mechanical Engineering
- HPSC Subject Knowledge Test Lecturer Information Technology 2026
- HPSC Knowledge Assistant Professor Subject Computer Science 2025