JOIN ADRE 2.0 Telegram Group

Linked Lists MCQs - C Programming Questions and Answers

Questions
1 In linked list representation, a node contains at least
A node address field, data field
B node number, data field
C next address field, information field
D none of the above

Answer: Option [C]
2 Underflow condition in linked list may occur when attempting to
A insert a new node when there is no free space for it
B delete a non-existent node in the list
C delete a node in empty list
D insert a new node in the empty list

Answer: Option [C]
Advertisement
ADRE 2.0 Mock Test - 5 Start Test
ADRE 2.0 Mock Test - 5 Start Test

DOWNLOAD CURRENT AFFAIRS PDF FROM APP

3 Which of the following is true in case of a null pointer?
A Marks the end of a node
B Is equal to '\0' in C
C Is the address of some node
D Is also called the void pointer in C

Answer: Option [A]
4 To find out maximum element in a list of n numbers, one needs at least
A n comparisons
B n-1 comparisons
C n(n-1) comparisons
D 2n-1 comparisons

Answer: Option [B]
5 An array A[15][20] is stored in memory. Each element is of integer type. If ther base address is 600 determine the address of A[8][13] when the array is stored as row major wise
A 746
B 946
C 1146
D None of the above

Answer: Option [B]

ADRE 2.0 MOCK TEST

Take Mock Tests

Government Schemes Mock Test Start Test!
Political Science Mock Test – 42 Start Test
History Test – 190 Start Test
Quantitative Aptitude Test Start Test!
Trigonometry - Mock Test Start Test!
Data Interpretation - Mock Test Start Test!
General Awareness - Mock Test Start Test!
Reasoning Ability - Mock Test Start Test!
Englist(Antonyms) Mock Test 1 Start Test!
Quantitative Aptitude (Percentage) Mock Test Start Test!
Economy Mock Test 1 Unlock Test!
Books & Authors - Test 2 Unlock Test!

Chapters

Advertisement