Data Structures (3330704) MCQs

MCQs of Linked List

Showing 21 to 30 out of 31 Questions
21.

Linked list is considered as an example of _________ memory allocation.

(લિન્ક્ડ લીસ્ટ એ ______ મેમરી એલોકેશન નું ઉદાહરણ છે.)

(a)

Static

(સ્ટેટિક)

(b)

Dynamic

(ડાયનેમિક)

(c)

Complie time

(કમ્પાઈલ ટાઈમ)

(d)

preprocessing time

(પ્રિ-પ્રોસેસ્સિંગ ટાઈમ)

Answer:

Option (b)

22.

Which of the following operator is used to access data members of the structure through the pointer variable?

(પોઇન્ટર વેરિએબલ નો ઉપયોગ કરીને સ્ટ્રક્ચરના ડેટા મેમ્બરને એક્સેસ કરવા માટે નીચે આપેલમાંથી ક્યાં ઓપરેટરનો ઉપયોગ થાય છે?)

(a)

&

(b)

*

(c)

.

(d)

->

Answer:

Option (d)

23.

Which of the following operator returns value stored at memory location?

(મેમરી લોકેશનએ સ્ટોર થયેલ વેલ્યુ નીચે આપેલમાંથી કયો ઓપરેટર રીટર્ન કરે છે?)

(a)

&

(b)

%

(c)

*

(d)

#

Answer:

Option (c)

24.

&  is _______  operator which returns memory address of variable.

(& એ ______ ઓપરેટર છે જે વેરિએબલ નું મેમરી એડ્રેસ આપે છે.)

(a)

Referencing 

(રેફરેન્સિંગ)

(b)

Indirection

(ઇનડિરેક્શન)

(c)

derefrencing 

(ડીરેફરેન્સિંગ)

(d)

Inverse

(ઇન્વર્સ)

Answer:

Option (a)

25.

Which of the following is correct declaration of pointer?

(નીચે આપેલમાંથી કયો વિકલ્પ પોઇન્ટરને ડિકલેર કરવા માટે સાચો છે?)

(a)

int &p;

(b)

int p;

(c)

int *p;

(d)

int p*;

Answer:

Option (c)

26.

State TRUE or FALSE : & operator is inverse of * operator.

(આપેલ વિધાન સાચું કે ખોટું : & ઓપરેટર એ * ઓપરેટર નું ઇન્વર્સ છે.)

(a)

TRUE

(b)

FALSE

Answer:

Option (a)

27.

State TRUE or FALSE : In circular linked list LINK of last node doesn't contain NULL value.

(આપેલ વિધાન સાચું કે ખોટું : સરક્યુલર લિન્ક્ડ લીસ્ટ માં છેલ્લા નોડ ના લીંક પાર્ટ માં NULL વેલ્યુ હોતી નથી. )

(a)

TRUE

(b)

FALSE

Answer:

Option (a)

28.

Which of the following are advantage of Linked list?

(નીચે આપેલમાંથી કયા લિન્ક્ડ લીસ્ટના ફાયદા છે?)

(a)

Traverse in both direction

(બંને ડિરેક્શન માં ટ્રાવર્ઝ કરે છે)

(b)

Memory is Efficiently used

(મેમરી નો ઉપયોગ એફીસીયેન્ટલી થાય છે)

(c)

No shifting of memory during insertion and deletion operation

(ઇન્સર્સન અને ડિલિશન ઓપરેશન માટે મેમરી શીફ્ટ કરવાની જરૂર નથી પડતી)

(d)

All of given

(આપેલ બધાજ)

Answer:

Option (d)

29.

Starting point of circular linked list is _____.

(સરક્યુલર લિન્ક્ડ લીસ્ટનો સ્ટાર્ટીંગ પોઈન્ટ _____  નોડ હોય  છે.)

(a)

Head

(b)

First

(c)

Last

(d)

Tail

Answer:

Option (a)

30.

When circular linked list empty then ,

(જયારે સરક્યુલર લિન્ક્ડ લીસ્ટ એમ્પ્ટી હોય ત્યારે,)

(a)

Link(HEAD) = HEAD

(b)

Link(First) = NULL

(c)

Link(Last) = NULL

(d)

Link(Tail) = NULL

Answer:

Option (a)

Showing 21 to 30 out of 31 Questions