Week 9  C# (for Java programmers)

Week 9 C# (for Java programmers)

University

10 Qs

quiz-placeholder

Similar activities

Apps Script Quiz - Day 1 Lesson

Apps Script Quiz - Day 1 Lesson

University

10 Qs

На сколько ты знаешь C#

На сколько ты знаешь C#

University

10 Qs

Object/Abstract/Final in JAVA

Object/Abstract/Final in JAVA

University

10 Qs

AP CSA Unit 9 Inheritance - Polymorphism

AP CSA Unit 9 Inheritance - Polymorphism

University

10 Qs

QUIZ

QUIZ

University

15 Qs

Python Functions and Docstrings Quiz

Python Functions and Docstrings Quiz

University

12 Qs

Activity 7: Quiz

Activity 7: Quiz

University

10 Qs

C# Method Parameters

C# Method Parameters

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?