Deck 5: Exploring Data With Graphs
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/25
العب
ملء الشاشة (f)
Deck 5: Exploring Data With Graphs
1
The post-order traversal of a hypothetical binary tree is DEBFCA.What is the pre-order traversal?
A)ABCDEF
B)ABFDEC
C)ABDECF
D)BDACFE
A)ABCDEF
B)ABFDEC
C)ABDECF
D)BDACFE
C
2
The depth of a complete binary tree is given by?
A)Dn = n log2n
B)Dn = n log2n+1
C)Dn = log2n
D)Dn = log2n+1
A)Dn = n log2n
B)Dn = n log2n+1
C)Dn = log2n
D)Dn = log2n+1
D
3
Which of the following data structure is linear type?
A)Strings
B)Lists
C)Queues
D)All of the above
A)Strings
B)Lists
C)Queues
D)All of the above
D
4
Which data structure allows deleting data elements from front and inserting at rear?
A)Stacks
B)Queues
C)Deques
D)Binary search tree
A)Stacks
B)Queues
C)Deques
D)Binary search tree
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
5
A binary tree can be converted into q 2-trees by doing what?
A)By pruning each empty subtree
B)By adding internal nodes
C)By adding external nodes
D)By replacing every empty subtree with a new external node
A)By pruning each empty subtree
B)By adding internal nodes
C)By adding external nodes
D)By replacing every empty subtree with a new external node
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
6
When representing any algebraic expression E which uses only binary operations in a 2-tree,the variable in E will appear as external nodes and operations in internal nodes.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
7
The gradient refers to?
A)The distance between two points on a line
B)The length of a line
C)The shape of a line
D)The slope of a line
A)The distance between two points on a line
B)The length of a line
C)The shape of a line
D)The slope of a line
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
8
The x-intercept refers to?
A)Any plot of points on the graph perpendicular to the y-axis
B)Any plot of points on the graph perpendicular to the x-axis
C)Any plot of points on the graph parallel to the x-axis
D)The point where the line cuts the x-axis
A)Any plot of points on the graph perpendicular to the y-axis
B)Any plot of points on the graph perpendicular to the x-axis
C)Any plot of points on the graph parallel to the x-axis
D)The point where the line cuts the x-axis
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
9
The gradient is calculated by?
A)Subtracting the rise from the run
B)Dividing the run by the rise
C)Multiplying the rise and the run
D)Dividing the rise (dy)by the run (dx)
A)Subtracting the rise from the run
B)Dividing the run by the rise
C)Multiplying the rise and the run
D)Dividing the rise (dy)by the run (dx)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
10
To represent hierarchical relationship between elements,which data structure is suitable?
A)Deque
B)Priority
C)Tree
D)All of the above
A)Deque
B)Priority
C)Tree
D)All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
11
Recursion is the process of repeating items in a self-similar way.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
12
The x-axis represents?
A)Consequence
B)Cause
C)Effect
D)Result
A)Consequence
B)Cause
C)Effect
D)Result
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
13
What are special pointers which point to nodes higher in a binary tree called?
A)Twig
B)Floor
C)Road
D)Thread
A)Twig
B)Floor
C)Road
D)Thread
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
14
Which of the following is a non-linear data structure?
A)Stacks
B)Lists
C)Strings
D)None of the above
A)Stacks
B)Lists
C)Strings
D)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
15
The 'y-axis on a graph is the ____ axis?
A)Vertical
B)Horizontal
C)Diagonal
D)Bell Curve
A)Vertical
B)Horizontal
C)Diagonal
D)Bell Curve
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
16
Which data structure allows deletions at both ends of a list but insertion only at one end?
A)Input-restricted deque
B)Output-restricted deque
C)Standard scores
D)Priority queues
A)Input-restricted deque
B)Output-restricted deque
C)Standard scores
D)Priority queues
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
17
An ordered pair is?
A)Any two numbers where the order is important
B)Any plot of points on the graph perpendicular to the x-axis
C)Any plot of points on the graph parallel to the x-axis
D)The point where the line cuts the x-axis
A)Any two numbers where the order is important
B)Any plot of points on the graph perpendicular to the x-axis
C)Any plot of points on the graph parallel to the x-axis
D)The point where the line cuts the x-axis
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
18
Which type of sort algorithm repeatedly steps through a list,comparing each pair of adjacent items and swapping them,if they appear in the wrong order?
A)Bubble sort
B)Insertion sort
C)Quick sort
D)Sinking sort
A)Bubble sort
B)Insertion sort
C)Quick sort
D)Sinking sort
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
19
When converting a binary tree into an extended binary tree,all the original nodes become external on the extended tree.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
20
Which of the following is a definition of a complete binary tree?
A)A binary tree in which every level is completely filled and all nodes are as far left as possible
B)A binary tree in which no level is completely filled and all nodes are as far left as possible
C)A binary tree in which every level is completely filled and all nodes are as far right as possible
D)A binary tree in which no level is completely filled and all nodes are as far right as possible
A)A binary tree in which every level is completely filled and all nodes are as far left as possible
B)A binary tree in which no level is completely filled and all nodes are as far left as possible
C)A binary tree in which every level is completely filled and all nodes are as far right as possible
D)A binary tree in which no level is completely filled and all nodes are as far right as possible
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
21
A connected graph T without any cycles is called?
A)A tree graph
B)Free tree
C)A tree
D)All of the above
A)A tree graph
B)Free tree
C)A tree
D)All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
22
In a graph if e=(u,v)then?
A)e never reaches either u or v
B)e begins at u and ends at v
C)e = 0
D)None of the above
A)e never reaches either u or v
B)e begins at u and ends at v
C)e = 0
D)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
23
Which of the following is a definition of the heap property?
A)Each node will always equal that of its 'children'
B)Each node is greater than or equal to each of its 'children'
C)Each node is less than each of its 'children'
D)None of above
A)Each node will always equal that of its 'children'
B)Each node is greater than or equal to each of its 'children'
C)Each node is less than each of its 'children'
D)None of above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
24
A binary search tree can sometimes be called what?
A)Binary tree
B)Ordered binary tree
C)Heap
D)Sapling
A)Binary tree
B)Ordered binary tree
C)Heap
D)Sapling
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
25
In a graph if e=[u,v],then u and v are called?
A)Negative values
B)Not points on the graph
C)Neighbours
D)None of the above
A)Negative values
B)Not points on the graph
C)Neighbours
D)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck