
Final Exam
Authored by Keen Aguro
Computers
3rd Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
It helps you to repeatedly execute a block of code. The keywords with this statement are: do, for, foreach, and while.
Jump
Selection
Fixed
Iteration
2.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What does a variable of type int hold?
Value of a decimal
An integer reference
Value of an integer
A pointer to an integer
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
A keyword used when you want to access members of a class. You do not have to create an object
Static Keyword
Void Keyword
Virtual Keyword
Datatype
4.
OPEN ENDED QUESTION
15 mins • Ungraded
Write a program in C# that will draw a square depending on the length entered by the user and if length is equal to 0, the system will end.
(See image beside for your reference)
Evaluate responses using AI:
OFF
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
A keyword that tells the compiler that there may be methods in the derived classes that will override the method in the main class.
Static Keyword
Void Keyword
Virtual Keyword
Datatype
6.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What C# keyword allows a method to accept a variable number of method parameters?
var
params
par
varpar
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
ToString() method is a special method that returns a string that represents the current class.
TRUE
FALSE
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?