
Programming and Data Structures Quiz
Authored by Richa Sharma
Other
Professional Development

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code snippet? int x = 5; int y = 3; int result = x + y * 2; System.out.println(result);
10
11
13
16
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the output of the following code? int i = 10; while (i > 0) { System.out.println(i); i -= 2; }
10, 8, 6, 4, 2
10, 9, 8, 7, 6, 5, 4, 3, 2, 1
10, 7, 4, 1
Infinite loop
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the value of x after executing the following code? int x = 5; x = x++ + ++x;
10
11
12
13
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What will be the output of the following program (intermediate) x = 10 y = 20 x = x + y x = x * 10 x = y print(x)
20
30
300
100
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
In a certain code “SAND” is written as “UCPF”. How is “STONE” is written in that code?
SRLFE
UNSOP
UVQPG
UDLPQ
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
The prefix form of P-Q/ (R * S ^ T) is?
-P/Q*R^ST
-P/QR*^ST
-PQRS*^ST
-/*^PQRST
7.
FILL IN THE BLANK QUESTION
10 sec • 1 pt
A recipe calls for 1 cup of flour for every 2 eggs. If you use 4 eggs, how many cups of flour do you need?
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
10 questions
Test Clase 10
Quiz
•
Professional Development
10 questions
ST2023 Hari 1
Quiz
•
Professional Development
20 questions
Branch Routine VIDI
Quiz
•
Professional Development
20 questions
shoe quiz
Quiz
•
KG - Professional Dev...
17 questions
Module 5 - Precision Measuring instruments
Quiz
•
Professional Development
20 questions
Rubric
Quiz
•
Professional Development
10 questions
Introduction to Shipyard Business
Quiz
•
Professional Development
20 questions
Digital Payments Awareness
Quiz
•
Professional Development
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...