
REV CODE
Authored by 225011 it
Other
Professional Development
Used 12+ times

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
1 min • 1 pt
print("Hello", end='@');
print(" World")
Hello @ World
Hello@ World
Hello @World
end="@" is an invalid argument
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A man buys a cycle for Rs. 1400 and sells it at a loss of 15%. What is the selling price of the cycle?
Rs. 1090
Rs. 1160
Rs. 1190
Rs. 1202
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
x="abcd"
for i in range(len(x)):
print(i)
abcd
a b c d
1234
error
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
An aeroplane covers a certain distance at a speed of 240 kmph in 5 hours. To cover the same distance in
5/3 hours, it must travel at a speed of:
700 kmph
760 kmph
716 kmph
720 kmph
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include<stdio.h>
int main(){
int i=-3, j=2, k=0, m;
m = ++i || ++j && ++k;
printf("%d, %d, %d, %d\n", i, j, k, m);
return 0;
}
2, 2, 0, 1
1, 2, 1, 0
-2, 2, 0, 0
-2, 2, 0, 1
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A grocer has a sale of Rs. 6435, Rs. 6927, Rs. 6855, Rs. 7230 and Rs. 6562 for 5 consecutive months. How much sale must he have in the sixth month so that he gets an average sale of Rs. 6500?
Rs. 4991
Rs. 4990
Rs. 5000
Rs. 4881
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
int i = 1, j = -1;
switch (i)
{
case 0, 1: j = 1;
case 2: j = 2;
default: j = 0;
}
System.out.println("j = " + j);
j = -1
j = 0
j = 1
Compilation fails.
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?