
DS-Mech-Quiz

Quiz
•
Computers
•
University
•
Hard
Debi Mishra
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Find the correct answer from the following statement.
A-THETA NOTATION represents the upper and the lower bound of the running time of an algorithm, it is used for analyzing the average-case complexity of an algorithm.
B-Big-O notation represents the upper bound of the running time of an algorithm. Therefore, it gives the worst-case complexity of an algorithm.
C-Omega notation represents the upper bound of the running time of an algorithm. Thus, it provides the best case complexity of an algorithm.
All statements are correct
A and C are correct
A and B are correct
None of the statements are correct
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which among the following is a user-defined data type?
int
float
double
Structure
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which among the statements is false about dynamic memory allocation
It used to provide memory spaces during runtime of a program
We have to explicitly use <stdlib.h> to use dynamic memory allocation
Dynamic memory allocation cannot be used with arrays
calloc() function comes under dynamic memory allocation
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one is true among the following about arrays?
Arrays are user-defined data types
There is no proper way how memory for arrays is allocated
Memory once allocated for array cannot be increased or decreased
Arrays contain dissimilar data types
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one among the following is false about stacks?
Stack is a linear data structure
The operation on a stack can be performed in FIFO order
An element from a stack can be removed in any order
All the options are false
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one among the following is true about queues?
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Find the postfix form of the expression "a-b+c*d/e"
ab-cde*/+
ab-cd*e+/
ab-cd*e/+
+ab-cd*e/
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
BACS3323 Chapter 4 -Flocking Algorithm

Quiz
•
University
10 questions
CSS TECH TRIVIA - MEDIUM LEVEL

Quiz
•
University
10 questions
Algorithms and algorithmic Complexity

Quiz
•
University
13 questions
Practice Quiz 1 - CS110

Quiz
•
University
14 questions
Seatwork Greedy Algorithm Data Structure

Quiz
•
University
10 questions
Flowchart Quiz

Quiz
•
University
10 questions
COA Q3

Quiz
•
University
14 questions
Sorting Algorithms

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

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

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

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

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University