
PR _Lab _ Basic _ Quiz
Quiz
•
Other
•
Professional Development
•
Practice Problem
•
Easy
NILESH JAIN
Used 2+ times
FREE Resource
Enhance your content in a minute
23 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of print(2 ** 3) in Python?
6
8
4
9
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In C, what is the correct syntax to declare a variable?
int; x;
float y = 5;
type variable_name; // e.g., int x; or float y = 5.0;
variable_name type;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a linear search algorithm?
A linear search algorithm is a method for finding a target value within a list by checking each element one by one.
A linear search algorithm uses a binary tree for searching.
A linear search algorithm finds the target value by jumping to random elements.
A linear search algorithm sorts the list before searching.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Define a stack in data structures.
A stack is a collection of elements that can be accessed in any order.
A stack is a linear data structure that follows the Last In First Out (LIFO) principle.
A stack is a non-linear data structure that allows random access to elements.
A stack is a data structure that follows the First In First Out (FIFO) principle.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'def' keyword in Python?
To import a module.
To define a function.
To declare a variable.
To create a class.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a comment in C programming?
Use '//' for multi-line comments
Use '#' for comments
Use '/*' for single-line comments
Use '//' for single-line comments and '/* ... */' for multi-line comments.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of binary search?
O(log n)
O(1)
O(n)
O(n log n)
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?
Similar Resources on Wayground
20 questions
ULANGKAJI FIBER OPTIK FEATURES
Quiz
•
Professional Development
20 questions
Système digestif 2
Quiz
•
Professional Development
20 questions
Information Security Awareness
Quiz
•
University - Professi...
20 questions
CryptoFactories.io v1.0
Quiz
•
KG - Professional Dev...
20 questions
Quiz Scout (General)
Quiz
•
Professional Development
20 questions
Digital Payments Awareness
Quiz
•
Professional Development
18 questions
Les fonctions du droit et l'organisation judiciaire
Quiz
•
Professional Development
20 questions
shoe quiz
Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Other
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
