ICAR-IASRI MSc and PhD (Agricultural Statistics, Computer Application, Bioinformatics) · India · ICAR-Indian Agricultural Statistics Research Institute with the IARI Graduate School
Original practice questions written to the published syllabus · not past papersThe computer-science core of the Computer Application sub-subject in the ICAR Statistical Sciences group: number systems and architecture, data structures and algorithms, operating systems, networks, compilers, software engineering and web programming. Statisticians need the data-structure and algorithm units; Computer Application candidates need all of it.
In the exams: AICE-JRF subject 70 Computer Application Units 1-9 (heavy: the whole paper); AIEEA-PG Group 07 computer unit (heavy for sub-subject 7.2); GATE DA data structures and algorithms (present)
How our questions for ICAR-IASRI MSc and PhD spread across the units of Computer Science Fundamentals: Architecture, Data Structures, Networks & Operating Systems. Difficulty: 10 easy, 11 medium, 1 hard.
| Networking: topologies, OSI and TCP/IP models, security and cryptography basics | 3 | |
| Office tools and spreadsheets for data work | 3 | |
| Computer organisation: CPU, memory hierarchy and input/output | 2 | |
| Data structures: arrays, stacks, queues, linked lists, trees, heaps and graphs | 2 | |
| Sorting and searching algorithms and their complexity | 2 | |
| Object-oriented programming: encapsulation, inheritance and polymorphism (C++/Java) | 2 | |
| Operating systems: processes, scheduling, memory management, deadlocks and file systems | 2 | |
| Compilers: regular expressions, finite automata and parsing | 2 | |
| Internet programming: HTML, client- and server-side scripting with databases | 2 | |
| Number systems, Boolean algebra and logic circuits | 1 | |
| Software engineering: process models, testing, metrics and PERT/CPM for projects | 1 |
Choose an answer, then open the working. Each explanation says why the right answer is right and why the others are not.
What is binary 1101 in decimal?
B. 13
Place values 8, 4, 2, 1: 8 + 4 + 0 + 1 = 13.
Further reading: Cormen et al., Introduction to Algorithms (2022); Silberschatz, Galvin and Gagne, Operating System Concepts (2018); Tanenbaum and Wetherall, Computer Networks (2011); Aho et al., Compilers (2006); Sommerville, Software Engineering (2015)
A stack follows which access rule?
A. Last in, first out
Queues are FIFO; priority queues serve the highest priority.
Further reading: Cormen et al., Introduction to Algorithms (2022); Silberschatz, Galvin and Gagne, Operating System Concepts (2018); Tanenbaum and Wetherall, Computer Networks (2011); Aho et al., Compilers (2006); Sommerville, Software Engineering (2015)
An adjacency matrix for a graph with n vertices uses memory of order:
B. n²
Adjacency lists use space proportional to n plus the number of edges.
Further reading: Cormen et al., Introduction to Algorithms (2022); Silberschatz, Galvin and Gagne, Operating System Concepts (2018); Tanenbaum and Wetherall, Computer Networks (2011); Aho et al., Compilers (2006); Sommerville, Software Engineering (2015)
Binary search requires that the data are:
D. Sorted
Each comparison discards half of a sorted range.
Further reading: Cormen et al., Introduction to Algorithms (2022); Silberschatz, Galvin and Gagne, Operating System Concepts (2018); Tanenbaum and Wetherall, Computer Networks (2011); Aho et al., Compilers (2006); Sommerville, Software Engineering (2015)
An object is:
B. An instance of a class
The class is the template; objects are its instances.
Further reading: Cormen et al., Introduction to Algorithms (2022); Silberschatz, Galvin and Gagne, Operating System Concepts (2018); Tanenbaum and Wetherall, Computer Networks (2011); Aho et al., Compilers (2006); Sommerville, Software Engineering (2015)
Java allows a class to:
A. Extend one class and implement many interfaces
C++ allows multiple inheritance of classes.
Further reading: Cormen et al., Introduction to Algorithms (2022); Silberschatz, Galvin and Gagne, Operating System Concepts (2018); Tanenbaum and Wetherall, Computer Networks (2011); Aho et al., Compilers (2006); Sommerville, Software Engineering (2015)
A thread differs from a process in that threads of the same process:
C. Share its memory space
Processes have separate address spaces; threads within one share it.
Further reading: Cormen et al., Introduction to Algorithms (2022); Silberschatz, Galvin and Gagne, Operating System Concepts (2018); Tanenbaum and Wetherall, Computer Networks (2011); Aho et al., Compilers (2006); Sommerville, Software Engineering (2015)
A cryptographic hash such as SHA-256 is used mainly to:
D. Check that data have not been altered
Hashes are one-way digests; any change alters the digest.
Further reading: Cormen et al., Introduction to Algorithms (2022); Silberschatz, Galvin and Gagne, Operating System Concepts (2018); Tanenbaum and Wetherall, Computer Networks (2011); Aho et al., Compilers (2006); Sommerville, Software Engineering (2015)
The compiler phase that breaks source code into tokens is:
A. Lexical analysis
Parsing then checks the token sequence against the grammar.
Further reading: Cormen et al., Introduction to Algorithms (2022); Silberschatz, Galvin and Gagne, Operating System Concepts (2018); Tanenbaum and Wetherall, Computer Networks (2011); Aho et al., Compilers (2006); Sommerville, Software Engineering (2015)
Sorting a single column in a spreadsheet instead of whole rows will:
A. Scramble the records
Values in that column no longer line up with their rows.
Further reading: Cormen et al., Introduction to Algorithms (2022); Silberschatz, Galvin and Gagne, Operating System Concepts (2018); Tanenbaum and Wetherall, Computer Networks (2011); Aho et al., Compilers (2006); Sommerville, Software Engineering (2015)
Ten here, 22 in the app. The Laisha app has every practice question we have written to ICAR-IASRI MSc and PhD in this subject, marked as you go, with timed papers, a jump-to-unanswered list and a certificate when you pass at 70 per cent.
Free for ten days, then one subscription of US$10 a month. We would rather say so here than have you find it later.
An AI operating system for agriculture: free guides, manuals and tools written for every country.