
quiz 1
Authored by toqa mohamed
Computers
1st - 5th Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
OPEN ENDED QUESTION
10 mins • 1 pt
Write a program that reads 3 integers about the class room (using this variables: Number of boys (nb), number of girls (ng), number of teachers (nt))
Prepare and print a boolean variable for these cases:
1. ng less than or equal to 30
2. nb > 20 and nt > 2 or ng > 30 and nt > 4
3. Difference between nb and ng is more than 10 or nt > 5
paste your code here!
Evaluate responses using AI:
OFF
2.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
simplify this expression:
T && T || T && (F || (T && (T && T)))
T
F
3.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
what is the output of the program?
12
124
1214
0
4.
OPEN ENDED QUESTION
10 mins • 1 pt
assume you have a=8 and b=19, we want to swap(نبدل) the two numbers (example output: a=19 and b=8) paste your code here
Evaluate responses using AI:
OFF
5.
OPEN ENDED QUESTION
5 mins • 1 pt
write a code to get the first digit of the number 2132023
Evaluate responses using AI:
OFF
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?