Deck 2: Data Structures and Programming

ملء الشاشة (f)
exit full mode
سؤال
Queue is a _____________ list.

A)lifo
B)lilo
C)filo
D)fifo
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
The statement print f ("%d", 10 ? 0 ? 5 : 1 : 12); will print?

A)10
B)0
C)12
D)1
سؤال
To represent hierarchical relationship between elements, which data structure is suitable?

A)priority
B)tree
C)dqueue
D)all of the above
سؤال
Which of the following data structure is linear type?

A)strings
B)queue
C)lists
D)all of the above
سؤال
The statement printf("%c", 100); will print?

A)prints 100
B)print garbage
C)prints ascii equivalent of 100
D)none of the above
سؤال
The _______ memory allocation function modifies the previous allocated space.

A)calloc
B)free
C)malloc
D)realloc
سؤال
Number of binary trees formed with 5 nodes are

A)30
B)36
C)108
D)42
سؤال
The "C" language is

A)context free language
B)context sensitive language
C)regular language
D)none of the above
سؤال
The worst case time complexity of AVL tree is better in comparison to binary search tree for

A)search and insert operations
B)search and delete operations
C)insert and delete operations
D)search, insert and delete operations
سؤال
In which tree, for every node the height of its left subtree and right subtree differ almost by one?

A)binary search tree
B)avl tree
C)threaded binary tree
D)complete binary tree
سؤال
C is ______ Language?

A)low level
B)high level
C)assembly level
D)machine level
سؤال
The Default Parameter Passing Mechanism is called as

A)call by value
B)call by reference
C)call by address
D)call by name
سؤال
What is Dequeue?

A)elements can be added from front
B)elements can be added to or removed from either the front or rear
C)elements can be added from rear
D)none of the above
سؤال
In which linked list last node address is null?

A)doubly linked list
B)circular list
C)singly linked list
D)none of the above
سؤال
Which is the correct syntax to declare constant pointer?

A)int *const constptr;
B)*int constant constptr;
C)const int *constptr;
D)a and c both
سؤال
The smallest individual units of c program

A)the basic element
B)ecognized by the compiler
C)the largest individual units of program
D)a & b both
سؤال
int constant var =10;

A)int
B)const var = 10;
C)const int var = 10;
D)b & c both
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/17
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 2: Data Structures and Programming
1
Queue is a _____________ list.

A)lifo
B)lilo
C)filo
D)fifo
fifo
2
The statement print f ("%d", 10 ? 0 ? 5 : 1 : 12); will print?

A)10
B)0
C)12
D)1
1
3
To represent hierarchical relationship between elements, which data structure is suitable?

A)priority
B)tree
C)dqueue
D)all of the above
tree
4
Which of the following data structure is linear type?

A)strings
B)queue
C)lists
D)all of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 17 في هذه المجموعة.
فتح الحزمة
k this deck
5
The statement printf("%c", 100); will print?

A)prints 100
B)print garbage
C)prints ascii equivalent of 100
D)none of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 17 في هذه المجموعة.
فتح الحزمة
k this deck
6
The _______ memory allocation function modifies the previous allocated space.

A)calloc
B)free
C)malloc
D)realloc
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 17 في هذه المجموعة.
فتح الحزمة
k this deck
7
Number of binary trees formed with 5 nodes are

A)30
B)36
C)108
D)42
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 17 في هذه المجموعة.
فتح الحزمة
k this deck
8
The "C" language is

A)context free language
B)context sensitive language
C)regular language
D)none of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 17 في هذه المجموعة.
فتح الحزمة
k this deck
9
The worst case time complexity of AVL tree is better in comparison to binary search tree for

A)search and insert operations
B)search and delete operations
C)insert and delete operations
D)search, insert and delete operations
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 17 في هذه المجموعة.
فتح الحزمة
k this deck
10
In which tree, for every node the height of its left subtree and right subtree differ almost by one?

A)binary search tree
B)avl tree
C)threaded binary tree
D)complete binary tree
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 17 في هذه المجموعة.
فتح الحزمة
k this deck
11
C is ______ Language?

A)low level
B)high level
C)assembly level
D)machine level
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 17 في هذه المجموعة.
فتح الحزمة
k this deck
12
The Default Parameter Passing Mechanism is called as

A)call by value
B)call by reference
C)call by address
D)call by name
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 17 في هذه المجموعة.
فتح الحزمة
k this deck
13
What is Dequeue?

A)elements can be added from front
B)elements can be added to or removed from either the front or rear
C)elements can be added from rear
D)none of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 17 في هذه المجموعة.
فتح الحزمة
k this deck
14
In which linked list last node address is null?

A)doubly linked list
B)circular list
C)singly linked list
D)none of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 17 في هذه المجموعة.
فتح الحزمة
k this deck
15
Which is the correct syntax to declare constant pointer?

A)int *const constptr;
B)*int constant constptr;
C)const int *constptr;
D)a and c both
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 17 في هذه المجموعة.
فتح الحزمة
k this deck
16
The smallest individual units of c program

A)the basic element
B)ecognized by the compiler
C)the largest individual units of program
D)a & b both
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 17 في هذه المجموعة.
فتح الحزمة
k this deck
17
int constant var =10;

A)int
B)const var = 10;
C)const int var = 10;
D)b & c both
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 17 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 17 في هذه المجموعة.