
Unit 3 C Pro P1
Authored by Norhamimi Hamdan
Computers
University
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 SELECT QUESTION
10 sec • 1 pt
What is the example of relation operator
<
=
!=
>=
2.
MULTIPLE SELECT QUESTION
10 sec • 1 pt
What is the example of boolean operator
&
x
/
~
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
in Selection Structure, the right way to write the statement is
if (condition)
{action statement}
if (action statement)
{condition}
if (condition) ;
{action statement}
if (condition)
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the output for the following statement, when score value is 99?
if (score == 100)
{
printf(“Congratulations!”);
}
Congratulations!
tahniah
no answer
ok
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
the right way to write the statement for this flow chart is
if (condition){statement2}
else {statement1}
if (action statement1)
{condition}
if (condition){statement1}
else {statement2}
if (condition)
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the output for the following statement, when score value is 40?
if(score>=50)
{printf(“you pass”);}
else{
printf(“you fail”);
}
you pass
you fail
no answer
ok
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the output for the following statement, when number1 is 9 and number2 is 40?
#include<stdio.h>
int main(){
int number1,number2;
printf("Type in two number!\n");
scanf("%d %d",&number1,&number2);
if(number1>=10 number2>=10)
{ printf("Both Number is greater than 10\n");
}
else
printf("One or both of you number is less than 10!\n");
return 0;
}
Both Number is greater than 10
Both Number is greater than 100
One or both of you number is less than 10
One or both of you number is less than 100
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
What is a computer
Quiz
•
KG - University
11 questions
ec 2024
Quiz
•
University
10 questions
Server Administration- Quiz 1
Quiz
•
12th Grade - University
11 questions
Computer Science (1-9) - Identifying & Preventing Threats
Quiz
•
University
13 questions
Computer Science: CPU performance
Quiz
•
University
12 questions
CIS1103 Week 9_10 CLO3 Part 1
Quiz
•
University
10 questions
BOOLEAN CLUB QUIZ 1
Quiz
•
University
10 questions
Concept of Computer Network
Quiz
•
University
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Computers
20 questions
Disney Trivia
Quiz
•
University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
14 questions
Ch.3_TEACHER-led
Quiz
•
University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University