Linked List Quiz -2023

Linked List Quiz -2023

University

15 Qs

quiz-placeholder

Similar activities

Java Programming

Java Programming

University

15 Qs

C - Structures

C - Structures

University

20 Qs

Java Object Creation and Classes

Java Object Creation and Classes

University

20 Qs

Linked list 1

Linked list 1

University

20 Qs

Linked List 2

Linked List 2

University

10 Qs

DS UNIT-2 TEST-1

DS UNIT-2 TEST-1

University

10 Qs

Java Quiz 2

Java Quiz 2

University

15 Qs

C++ Quiz

C++ Quiz

University

20 Qs

Linked List Quiz -2023

Linked List Quiz -2023

Assessment

Quiz

Computers

University

Hard

Created by

Chong May

Used 3+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Consider the diagram.

A= Simple,

B=Structured

A= Structured,

B=Simple

A= Integral,

B= Object

A= Object,

B= Structured

2.

FILL IN THE BLANK QUESTION

1 min • 2 pts

A __________ is the function heading without the body of the function. It is useful and may be necessary at some cases.

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Which of the following returns the address of num?

num

*num

iPtr

*iPtr

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Consider the diagram.

I and II

I and III

II and IV

I, III and IV

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the statement is FALSE?

Structs and Classes are used to model objects with multiple attributes.

A constructor is a member function that is automatically called when an object is created.

A constructor cannot be overloaded with more than one of a different number or type of parameters.

Destructors are functions used to properly kill or delete an object.

6.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Media Image

Consider the diagrams here!

Media Image
Media Image
Media Image
Media Image

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Given the code above, a destructor function is called automatically when _________. Which of the statement is FALSE?

the function ends

the program starts

object goes out of scope

a delete operator is called

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?