C# Basics and Operations

C# Basics and Operations

Professional Development

15 Qs

quiz-placeholder

Similar activities

Certification Technical Training FY23

Certification Technical Training FY23

Professional Development

20 Qs

Scheduled Waste Management

Scheduled Waste Management

Professional Development

11 Qs

BizChannel@CIMB Mobile App

BizChannel@CIMB Mobile App

Professional Development

10 Qs

Bab 9 Tingkatan 2 Haba

Bab 9 Tingkatan 2 Haba

Professional Development

17 Qs

Total Rewards: Compensation and Benefits Quiz

Total Rewards: Compensation and Benefits Quiz

Professional Development

11 Qs

Endokrinologi April 2020

Endokrinologi April 2020

KG - Professional Development

10 Qs

Show & Tell A70

Show & Tell A70

Professional Development

20 Qs

SOAL LATIHAN PPPK GURU PJOK - KOMPETENSI PROFESIONAL

SOAL LATIHAN PPPK GURU PJOK - KOMPETENSI PROFESIONAL

Professional Development

20 Qs

C# Basics and Operations

C# Basics and Operations

Assessment

Quiz

Professional Development

Professional Development

Hard

Created by

Rodrigo Calapan

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to declare a variable in C#?

var age;

string age = 25;

float age;

int age;

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid data type in C#?

char*

int

string[]

float

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What operator is used for addition in C#?

/

*

+

-

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you declare a function in C#?

public returnType functionName(parameterType parameterName) { // function body }

functionName(parameterType parameterName) { // function body }

public functionName(parameterType) { // function body }

returnType functionName(parameterType parameterName)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default value of an integer variable in C#?

1

null

-1

0

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to define a constant in C#?

static

final

immutable

const

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 5 / 2 in C#?

2

1

2.5

3

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?