
Infosys-4
Authored by Prashant Soni
Computers
Professional Development
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following pseudocode for p = 3 and q = 4?
int fun1(int p, int q)
if(q EQUALS 0)
return 0
if(q mod 2 EQUALS 0)
return fun1(p + p, q/2) .
return fun1(p + p, q/2) + p
End function fun1()
None of the options
7
12
8
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following pseudocode?
Initialize Integer x, y, z
Set y = 1, x = 2
z = x ^ y
Print z
1
2
3
4
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following series will be printed by the given pseudocode?
Integer a, b, c
Set b = 4, c = 5
for(each a from 2 to 4)
print c b = b - 1
c = c + b
end for
5 8 10
1 3 6
8 9 12
5 8 9
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Predict the output of the following pseudocode.
Integer value, n
Set value = 1, n = 45
while(value less than equal to n)
value = value << 1
end loop
Print value
16
32
64
36
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Integer x, y
Set x = 15, y = 12
y = x – 1
do{
Print x
x = y + (x – 2)
}
while(x < 40)
end do while
15 27 39
27 39
14 26
15
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Integer value, n
Set value = 32, n = 1
while(value greater than equal to n)
value = value >> 1
end loop
Print value
64
32
0
8
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Integer x, y
Set x = 4, y = 8
do{ Print x x = x + y + 1 }
while(x < 15)
end do while
14 26
15 17
4 13
4
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
11 questions
FDE cycle
Quiz
•
Professional Development
9 questions
Los periféricos del computador
Quiz
•
1st Grade - Professio...
12 questions
DECI - Week 5 - Time Machine
Quiz
•
Professional Development
10 questions
Subnetting Repaso
Quiz
•
Professional Development
12 questions
Python8
Quiz
•
Professional Development
13 questions
Procesadores de texto (Docs de Drive y MS Word)
Quiz
•
Professional Development
10 questions
COMPUTACIÓN BÁSICA
Quiz
•
1st Grade - Professio...
10 questions
FP2: 01 - MODULOS
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
12 questions
Mardi Gras Trivia
Quiz
•
Professional Development
7 questions
Copy of G5_U5_L14_22-23
Lesson
•
KG - Professional Dev...
12 questions
Unit 5: Puerto Rico W1
Quiz
•
Professional Development
42 questions
LOTE_SPN2 5WEEK2 Day 4 We They Actividad 3
Quiz
•
Professional Development
15 questions
Balance Equations Hangers
Quiz
•
Professional Development
31 questions
Servsafe Food Manager Practice Test 2021- Part 1
Quiz
•
9th Grade - Professio...