
Week 1 C# Quiz

Quiz
•
Information Technology (IT)
•
University
•
Hard
Lohansa Bandaranayake
Used 7+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What role does the program counter play in the execution of a program?
It stores all the variables used in the program
It tracks the total number of executed instructions
It determines the next instruction to execute by keeping track of the current address
It compiles the program into machine code
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best describes the computer’s execution of instructions?
The CPU uses artificial intelligence to decide which instructions to execute
The computer reads and executes instructions in sequence, one at a time
The computer adapts the sequence based on the user’s intent
The program begins executing instructions in random order for efficiency
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be the result and data type of the expression 3 / 2.0 in C#?
1.5, float
1, int
1.5, double
1.0, int
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following C# types is used to store a single alphanumeric character?
string
char
text
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which part of a method declaration tells you whether you can call the method directly using its name?
Whether it is declared public static
Whether it is declared void or not
Its return type
The number of parameters it takes
6.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which of the following correctly describes what happens when FillCircle(ColorRed(), 400, 300, 100); is called in a SplashKit program?
A red circle is drawn using default screen coordinates and size
The method attempts to draw a red circle but will fail unless assigned to a variable
A red circle is drawn starting from the top-left corner at (400, 300) and extending to radius 100
A red circle is drawn with its centre at (400, 300) and a radius of 100
7.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
📝 Console.ReadLine() returns a ______
8.
MULTIPLE SELECT QUESTION
30 sec • 3 pts
Which of the following statements have the same effect of increasing the variable age by 1?
(Select all that apply)
age = age + 1;
age += 1;
age++;
age =+ 1;
Similar Resources on Wayground
6 questions
Responsive Design in HTML & CSS

Quiz
•
University
10 questions
Exploring AI in Our World

Quiz
•
5th Grade - University
10 questions
General ExpressJS Quiz

Quiz
•
University
10 questions
ICT BEL 4

Quiz
•
4th Grade - University
10 questions
Aptitude_Ages

Quiz
•
University
10 questions
Quiz Meet 2 Mini SC Programing

Quiz
•
University
10 questions
Quiz Pengetahuan Umum Komputer

Quiz
•
3rd Grade - University
10 questions
Materi Berpikir Komputasional

Quiz
•
9th Grade - University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University