
CSD201 FE Lý thuyết
Authored by Le HCM)
Instructional Technology
University
Used 17+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
129 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select the statement that is most correct.Which of the following applications may not use a stack?
A. Keeping track of local variables a trun time
B. Undo sequence in a text editor.
C. Multi-programming
D. Evaluating arithmetic expressions.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select the statement that is most correct.Suppose we are considering a doubly linked list which is not empty. What does the java code snippet below do?Node q = new Node(x);q.prev=null;q.next = head;head.prev = q;head = q;
[A]It inserts new node with value x at the head of the list.
[B]It inserts new node with value x after the head of the list.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
[A]It does not make any change on the list.
[B]It deletes the node after p.
[C]It deletes the node p.
[D]It deletes the node before p.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select the statement that is most correct.Which of the following applications may use a queue?
[A]Store all variables in a program.
[B]Store a waiting list of printing jobs.
[C]Keeping track of local variables at run time.
[D]Undo sequence in a text editor.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Binary search algorithm cannot be applied to
[A]sorted linear array
[B]Binary search tree
[C]sorted singly linked list
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
[A] It creates new node with value x at the end of the list.
[B] It inserts new node with value x after the node p.
[C] It inserts new node with value x before the node p.
[D] It replaces the node p with new node with value x.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fill in the blank of the statement to form the most correct one:In a ____ every element contains some data and a link to the next element, which allows to keep the structure.
[A]doubly linked list
[B]skip list
[C]singly linked list
[D]binary search tree
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?