Home Pru221M Thuybt26 26 June - 2 July Quiz 3 - Pru221M
Home Pru221M Thuybt26 26 June - 2 July Quiz 3 - Pru221M
Home Pru221M Thuybt26 26 June - 2 July Quiz 3 - Pru221M
1. Home
2. My courses
3. PRU221m ThuyBT26
4. 26 June - 2 July
5. Quiz 3_PRU221m
Flag question
Question text
In linked list each node contains a minimum of two fields. One field is data field to store the
data second field is?
Select one:
a. Pointer to character
b. Pointer to node
c. Pointer to integer
d. Node
Feedback
Question 2
Complete
Mark 1.00 out of 1.00
Flag question
Question text
What is output?
public void MovePosition(Vector3 position);
Select one:
a. Provides the new position of Vector3 for the Rigidbody object.
b. Provides the new position for the Rigidbody object.
c. Provides the new Vector3 for the Rigidbody object.
d. All of the above
Feedback
The correct answer is: Provides the new position for the Rigidbody object.
Question 3
Complete
Mark 0.00 out of 1.00
Flag question
Question text
Question 4
Complete
Mark 1.00 out of 1.00
Remove flag
Question text
If a simple graph G, contains n vertices and m edges, the number of edges in the Graph
G'(Complement of G) is ___________
Select one:
a. (n*n+n+2*m)/4
b. (n*n-n+2*m)/2
c. (n*n-n-2*m)/2
d. (n*n+n+2*m)/2
Feedback
Question 5
Complete
Mark 0.00 out of 1.00
Flag question
Question text
What would be the asymptotic time complexity to add a node at the end of singly linked
list, if the pointer is initially pointing to the head of the list?
Select one:
a. θ(1)
b. θ
c. O(1)
d. O
Feedback
The correct answer is: θ
Question 6
Complete
Mark 1.00 out of 1.00
Flag question
Question text
What is the worst case time complexity of inserting a node in a doubly linked list?
Select one:
a. O(nlogn)
b. O
c. O(logn)
d. O(1)
Feedback
Question 7
Complete
Mark 0.00 out of 1.00
Flag question
Question text
What would be the asymptotic time complexity to insert an element at the second position
in the linked list?
Select one:
a. O(1)
b. O
c. O(n2)
d. O(n3)
Feedback
Question 8
Complete
Mark 0.00 out of 1.00
Flag question
Question text
Which of the following points is/are not true about Linked List data structure when it is
compared with an array?
Select one:
a. Arrays have better cache locality that can make them better in terms of performance
b. It is easy to insert and delete elements in Linked List
c. Access of elements in linked list takes less time than compared to arrays
The correct answer is: Access of elements in linked list takes less time than compared to arrays
Question 9
Complete
Mark 1.00 out of 1.00
Flag question
Question text
To display an element of array, using....
Select one:
a. variableName[index] = float.Parse(Console.ReadLine());
Feedback
Question 10
Complete
Mark 0.00 out of 1.00
Flag question
Question text
The ............. is part of the core Unity platform and available by default that support user
input data?
Select one:
a. None of the above
b. Input Manager
c. Input System
d. Monitor
Feedback
Question 11
Complete
Mark 1.00 out of 1.00
Flag question
Question text
The controls to push the axis in the negative and positive direction respectively. These can
be keys on a keyboard, or buttons on a joystick or mouse.
What are properties of input axis?
Select one:
a. None of the above
b. Descriptive Name, Descriptive Negative Name
c. Negative Button, Positive Button
d. Alt Negative Button, Alt Positive Button
Feedback
Question 12
Complete
Mark 1.00 out of 1.00
Flag question
Question text
Which of the following sorting algorithms can be used to sort a random linked list with
minimum time complexity?
Select one:
a. Merge Sort
b. Insertion Sort
c. Quick Sort
d. Heap Sort
Feedback
Question 13
Complete
Mark 1.00 out of 1.00
Flag question
Question text
With this property, it is the type of input that controls the axis. What are these value for
Type?
Select one:
a. Key or Mouse button
b. Joystick Axis
c. All of the above
d. Mouse Movement
Feedback
Question 14
Complete
Mark 0.00 out of 1.00
Flag question
Question text
Consider an implementation of unsorted singly linked list. Suppose it has its representation
with a head pointer only. Given the representation, which of the following operation can be
implemented in O(1) time?
i) Insertion at the front of the linked list
ii) Insertion at the end of the linked list
iii) Deletion of the front node of the linked list
iv) Deletion of the last node of the linked list
Select one:
a. I and III
b. I and II
c. I, II and IV
d. I, II and
Feedback
Question 15
Complete
Mark 0.00 out of 1.00
Flag question
Question text
Question 16
Complete
Mark 0.00 out of 1.00
Flag question
Question text
Question 17
Complete
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. False
b. True
Feedback
Question 18
Complete
Mark 1.00 out of 1.00
Flag question
Question text
Question 19
Complete
Mark 1.00 out of 1.00
Flag question
Question text
d. Button refers to any button on a physical controller (for example, gamepads), such as the X
button on a remote control.
Question 20
Complete
Mark 1.00 out of 1.00
Flag question
Question text
How far the user needs to move an analog stick before your application registers the
movement. At runtime, input from all analog devices that falls within this range will be
considered null.
it is ............property of input axis
Select one:
a. None of the above
b. Snap
c. Dead
d. Gravity
Feedback
Question 21
Complete
Mark 1.00 out of 1.00
Flag question
Question text
Question 22
Complete
Mark 0.00 out of 1.00
Flag question
Question text
What would be the asymptotic time complexity to insert an element at the front of the
linked list (head is known)?
Select one:
a. O(1)
b. O
c. O(n2)
d. O(n3)
Feedback
Question 23
Complete
Mark 1.00 out of 1.00
Flag question
Question text
The correct answer is: A graph may contain no edges and many vertices
Question 24
Complete
Mark 1.00 out of 1.00
Flag question
Question text
The Input Manager window allows you to define ..............and their associated actions for
your Project
Select one:
a. input axes
b. input method
c. None of the above
d. input data
Feedback
Question 25
Complete
Mark 1.00 out of 1.00
Flag question
Question text
To access Input Manager, from Unity’s main menu, you can ........
Select one:
a. go to Edit > Project Settings, then select Input System from the navigation on the right.
b. go to Edit > Project Settings, then select Input Manager from the navigation on the right.
c. None of the above
d. go to Edit > Project Settings, then select Input Data from the navigation on the right.
e. go to Edit > Project pane, then select Input Manager from the navigation on the right.
Feedback
The correct answer is: go to Edit > Project Settings, then select Input Manager from the
navigation on the right.
Question 26
Complete
Mark 1.00 out of 1.00
Flag question
Question text
In a simple graph, the number of edges is equal to twice the sum of the degrees of the
vertices.
Select one:
a. False
b. True
Feedback
Question 27
Complete
Mark 0.00 out of 1.00
Flag question
Question text
The weight of the object in kilograms. Bear in mind that setting mass on a variety of
different Rigidbodies will make them behave realistically. For example, a heavy object
hitting a lighter object will cause the light object to be repelled further?
Select one:
a. Use Gravity
b. Mass
c. Drag
d. Angular Drag
Feedback
Question 28
Complete
Mark 0.00 out of 1.00
Flag question
Question text
. For the given graph(G), which of the following statements is true?
Select one:
a. The edge connectivity of the graph is 1
Question 29
Complete
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. 24
b. 16
c. 21
d. 25
Feedback
Question 30
Complete
Mark 0.00 out of 1.00
Flag question
Question text
The .............property of input axis can be used to display speed in units per second that the
axis falls toward neutral when no input is present.
Select one:
a. Gravity
b. Type
c. Sensitivity
d. Snap
Feedback
Question 31
Complete
Mark 0.00 out of 1.00
Flag question
Question text
Speed in units per second that the axis will move toward the target value. This is for digital
devices only.
What the property is it?
Select one:
a. Sensitivity
b.
None of the above
c. Gravity
d. Dead
e. Snap
Feedback
Question 32
Complete
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. Nested loop
b. for loops
c. foreach loops
d. while loop
Feedback
Question 33
Complete
Mark 1.00 out of 1.00
Flag question
Question text
c. (n*(n-1))/2
Question 34
Complete
Mark 1.00 out of 1.00
Flag question
Question text
Joysticks
c.
Touch screens
VR and AR
controllers
f.
h.
Controllers
Feedback
Question 35
Complete
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. Heap
b. Dynamic
c. Compile time
d. Static
Feedback
Question 36
Complete
Mark 1.00 out of 1.00
Flag question
Question text
Which of these is not an application of a linked list?
Select one:
a. To implement non-binary trees
b. To implement file systems
c. Random Access of elements
d. For separate chaining in hash-tables
Feedback
Question 37
Complete
Mark 0.00 out of 1.00
Flag question
Question text
a. Either O(1) or O
b. O(1)
c. O(logn)
d. O
Feedback
Question 38
Complete
Mark 1.00 out of 1.00
Remove flag
Question text
A linear collection of data elements where the linear node is given by means of pointer is
called?
Select one:
a. Unordered list
b. Node list
c. Primitive list
d. Linked list
Feedback
Question 39
Complete
Mark 1.00 out of 1.00
Flag question
Question text
Question 40
Complete
Mark 0.00 out of 1.00
Flag question
Question text
The correct answer is: Each node has only one pointer to traverse the list back and forth
Question 41
Complete
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. You made Dean's List !!
b. "Not on Dean's List this time. Keep trying."
c. You're on Academic Probation.
d. "You made Dean's List !!"
e. "You're on Academic Probation."
Feedback
Question 42
Complete
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. C and B
b. A and E
c. C and D
d. B and E
Feedback
Question 43
Complete
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
a. All of the above
b. Under Animations—Split Animations is selected
c. Under Materials—Generation is set to Per Texture
Feedback
Question 44
Complete
Mark 1.00 out of 1.00
Flag question
Question text
Question 45
Complete
Mark 1.00 out of 1.00
Flag question
Question text
Question 46
Complete
Mark 0.00 out of 1.00
Flag question
Question text
Question 47
Complete
Mark 0.00 out of 1.00
Flag question
Question text
A prefab in the assets folder of the project can hold references to:
Select one:
a. Other game objects in the scene in which it is loaded
Question 48
Complete
Mark 0.00 out of 1.00
Flag question
Question text
You are given pointers to first and last nodes of a singly linked list, which of the following
operations are dependent on the length of the linked list?
Select one:
a. Insert a new element as a first element
The correct answer is: Delete the last element of the list
Question 49
Complete
Mark 0.00 out of 1.00
Flag question
Question text
a. O
b. O(1)
c. O(logn)
d. Either O(1) or O
Feedback
Question 50
Complete
Mark 1.00 out of 1.00
Flag question
Question text
How do you calculate the pointer difference in a memory efficient double linked list?
Select one:
a. pointer to previous node xor pointer to next node
b. pointer to previous node – pointer to next node
c. pointer to next node – pointer to previous node
d. head xor tail
Feedback
The correct answer is: pointer to previous node xor pointer to next node
Finish review
◄ QUIZ 2_PRU221M
Jump to...
Jump to...
QUIZ 4_PRU221M ►
Skip <span id="mod_quiz_navblock_title">Quiz navigation</span>
Quiz navigation
Contacts
PRU221m ThuyBT26
Participants
Badges
Competencies
Grades
General
8 May - 14 May
15 May - 21 May
22 May - 28 May
29 May - 4 June
5 June - 11 June
12 June - 18 June
19 June - 25 June
26 June - 2 July
3 July - 9 July
10 July - 16 July
Home
Dashboard
Calendar
Private files
My courses
MAS291
MAE101
OSG202 - TuNT57
PRU221m ThuyBT26
PRN221 HuongNTT135
DatTT67 PRN231
PRN211 ChiLP