Output Quiz-7

Quiz
•
Computers
•
University
•
Hard
Rahul Mahato
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Consider the following statements:
i. First-in-first out types of computations are efficiently supported by STACKS.
ii. Implementing LISTS on linked lists is more efficient than implementing LISTS on an array for almost all the basic LIST operations.
iii. Implementing QUEUES on a circular array is more efficient than implementing QUEUES on a linear array with two indices.
iv. Last-in-first-out type of computations are efficiently supported by QUEUES.
(ii) is true
(i) and (ii) are true
(iii) is true
(ii) and (iv) are true
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
An advantage of chained hash table (external hashing) over the open addressing scheme is
Worst case complexity of search operations is less
Space used is less
Deletion is easier
None of the above
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following option is not correct?
If the queue is implemented with a linked list, keeping track of a front pointer, Only rear pointer s will change during an insertion into an non-empty queue.
Queue data structure can be used to implement least recently used (LRU) page fault algorithm and Quick short algorithm.
Queue data structure can be used to implement Quick short algorithm but not least recently used (LRU) page fault algorithm.
Both (A) and (C)
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the following code?
[2, 3, 4, 5]
[2, 3, 4]
[2, 3, 4, 5, None]
Error
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the following code?
[1, 2, 3, 2, 3, 4]
[3, 5, 7]
[6]
Error
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following code?
The program will print the output 10 10.
The program will print the output 10 11.
It will result in a compile time error.
The program will print the output 11 11.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following code?
The program will print the output 100 10.
The program will print the output 100 100.
The program will print the output 100 garbage.
The program will print two garbage values.
It will result in a compile time error.
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
AI BootCamp: 2024 Edition- Session 1

Quiz
•
University
20 questions
Python Strings

Quiz
•
University
15 questions
Python Basics

Quiz
•
KG - University
15 questions
Exam 1 Practice

Quiz
•
University
20 questions
Python Recap

Quiz
•
7th Grade - University
20 questions
Zenorix 2023

Quiz
•
University
15 questions
Logic gates

Quiz
•
9th Grade - University
20 questions
Programming in Python

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University