
Week 9 C# (for Java programmers)
Authored by Emmanuel Osei-Mensah
Computers
University
Used 10+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the name of the programming we are using?
JavaScript
C#
Python
C++
2.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
When writing text to display you'd use the command ....
Console.Readline
Console.Write
Console.Writeline
Write .....
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which access modifiers can be applied to properties in C#?
public, protected, private
static, readonly, virtual
get, set
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
"Break" can only be used one level at a time. Which control flow statement can be used to jump out of a nested for loop?
return
throw
goto
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type represents large decimal numbers with high accuracy?
byte
uint
decimal
ulong
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which keyword is used to define a namespace in C#?
package
namespace
library
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'static' keyword signify in a method declaration in C#?
The method belongs to the class, not an instance of the class
The method can be changed at runtime
The method is thread-safe
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?