C# Quiz for Beginners

Quiz
•
Computers
•
10th Grade
•
Hard
Aiden Rappoport
Used 6+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Which one is the correct way to write a if statement using a Boolean.
if(myBool == true)
//code
if(myBool)
{
//code
}
if(myBool = true)
{
//code
}
if(myBool)
//code
2.
FILL IN THE BLANK QUESTION
1 min • 5 pts
You must use a double _____ ____ when you want to write an if statement using a float that equals 1.
3.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What type of Variable supports decimals?
float
boolean
interger
string
4.
FILL IN THE BLANK QUESTION
1 min • 5 pts
_____ variable = 1.5f;
5.
FILL IN THE BLANK QUESTION
1 min • 5 pts
______ variable = "Text";
6.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What would this code do?
if (myFloat == 5)
{
myFloat = 0;
}
If myFloat is equal to 5, then make myFloat equal 0.
If myFloat is greater than or equal to 5, then make myFloat equal 0.
When myFloat is equal to 5, then make myFloat equal 0.
When myFloat is greater than or equal to 5, then make myFloat equal 0.
7.
FILL IN THE BLANK QUESTION
1 min • 5 pts
____ variable = true;
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Python Basics Review (TSK)

Quiz
•
9th - 12th Grade
20 questions
Basic Python

Quiz
•
10th - 12th Grade
15 questions
Ôn tập KTGK. Bài 18. Các lệnh vào ra đơn giản

Quiz
•
10th Grade
20 questions
Algoritmusok

Quiz
•
9th - 12th Grade
16 questions
Python basics

Quiz
•
9th - 12th Grade
15 questions
Computer Science - Python

Quiz
•
9th - 12th Grade
20 questions
Grade 7 Python Programming Quiz

Quiz
•
7th Grade - University
17 questions
Elementele de bază ale limbajului C++

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade