Skip to content
Gblog Algo Geek – DSA Article Writing Contest By GeeksforGeeks
 A Contest of Writing DSA Based Articles…!! This single line must have created various queries in the minds of all the tech enthusiasts. And why… Read More
Which of the following is an example of a spooled device? (A) The terminal used to enter the input data for the C program being… Read More
A linker reads four modules whose lengths are 200, 800, 600 and 500 words respectively. If they are loaded in that order, what are the… Read More
Type checking is normally done during (A) Lexical analysis (B) Syntax analysis (C) Syntax directed translation (D) Code optimization Answer: (C) Explanation: Syntax-Directed Translation is… Read More
Which of the following statement is true? (A) SLR parser is more powerful than LALR. (B) LALR parser is more powerful than Canonical LR parser.… Read More
In a resident- OS computer, which of the following system software must reside in the main memory under all situations? (A) Assembler (B) Linker (C)… Read More
Which of the following statement is false? (A) A tree with n nodes has (n-1) edges. (B) A labeled rooted binary tree can be uniquely… Read More
The indexOf() method of ArrayList returns the index of the first occurrence of the specified element in this list, or -1 if this list does… Read More
How many substrings of different length (non-zero) can be formed from a character string of length n ? (A) n (B) n^2 (C) 2^n (D)… Read More
Give the correct matching for the following pairs: A. O(log n) 1. Selection sort B. O(n) 2. Insertion sort C. O(nlog n) 3. Binary search… Read More
Which of the following algorithm design technique is used in finding all pairs of shortest distances in a graph? (A) Dynamic programming (B) Backtracking (C)… Read More
Which of the following is true? (A) Unless enabled, a CPU will not be able to process interrupts. (B) Loop instructions cannot be interrupted till… Read More
Which of the following addressing modes permits relocation without any change whatsoever in the code? (A) Indirect addressing (B) Indexed addressing (C) Base register addressing… Read More
It compares the first count characters of the arrays pointed to by buf1 and buf2. Syntax: int memcmp(const void *buf1, const void *buf2, size_t count);… Read More
Which of the following devices should get higher priority in assigning interrupts? (A) Hard disk (B) Printer (C) Keyboard (D) Floppy disk Answer: (C) Explanation:… Read More
The octal representation of an integer is (342)8. If this were to be treated as an eight bit integer in an 8085 based computer, its… Read More

Start Your Coding Journey Now!