Week 9  C# (for Java programmers)

Week 9 C# (for Java programmers)

University

10 Qs

quiz-placeholder

Similar activities

Pemrograman Berorientasi Objek

Pemrograman Berorientasi Objek

10th Grade - University

10 Qs

OOP - Java Classes

OOP - Java Classes

12th Grade - University

15 Qs

C# Structured, Selection and Iteration

C# Structured, Selection and Iteration

9th Grade - University

15 Qs

OOP VB.Net 1

OOP VB.Net 1

University

10 Qs

Threads in C# Quiz

Threads in C# Quiz

University

12 Qs

Pre-programming

Pre-programming

University - Professional Development

10 Qs

QUIZ PBO 2021

QUIZ PBO 2021

University

12 Qs

Basic Java

Basic Java

University

15 Qs

Week 9  C# (for Java programmers)

Week 9 C# (for Java programmers)

Assessment

Quiz

Computers

University

Medium

Created by

Emmanuel Osei-Mensah

Used 8+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?