
PPS_Activity_Z2_Kiruthika M
Authored by Kiruthika M
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following code?
What is the output of the following code?
int a = 5, b = 2;
printf("%d", a++ + ++b);
7
8
9
10
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Guess the output of the following code:
1.500000 2.500000
1.500000 2.500000 3.500000
0.000000 0.000000 0.000000
No output
3.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Reorder to form a correct C program that prints “Hello”
a) printf("Hello");
b) #include <stdio.h>
c) int main() {
d) return 0;
e) }
b → c → a → e→ d
b → c → a → d → e
c → b → a → d → e
a → c → b → d → e
4.
MULTIPLE CHOICE QUESTION
1 min • 4 pts
Match the keywords with its meaning
1-b, 2-a, 3-c, 4-d
1-a, 2-b, 3-c, 4-d
1-d, 2-a, 3-d, 4-c
1-d, 2-c, 3-b, 4-a
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is NOT a key characteristic of an algorithm?
Finiteness
Definiteness
Ambiguity
Effectiveness
6.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
Pseudocode is primarily used to (a) the logic of an algorithm before writing actual code.
7.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
The (a) keyword indicates that the variable value cannot be changed.
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 Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?