
KofiNketiaAckaahGyasi_CSCI2380_03Pre2
Authored by Kofi Nketia Ackaah-Gyasi
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What kind of data structures are the nodes used in linked lists?
Arrays
Stacks
Divided Box
Classes
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not an attribute of a singly linked list?
A node class
A head pointer
A count variable
A next pointer
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of dynamic memory allocation?
long int x = &num
Node *ptr = new Node();
int array[] ={4,7,3};
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following can be example of a function of a linked list that uses a pointer as an argument?
myLL.pushback(5);
void myLL.insert(Node * ptr)
myLL.deletefront();
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A linked list that works as ONLY a stack should not have which function
push_back()
pop_front()
pop_back()
traverse()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not defined as part of a linked list
head
tail
pointer1
count
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
The head may point to .... (MULTIPLE CHOICE)
first node in the linked list
first string in the linked list
nullptr
the tail pointer
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?