C#

C#

11th Grade

10 Qs

quiz-placeholder

Similar activities

Basic Python Coding

Basic Python Coding

11th - 12th Grade

15 Qs

Quiz na początek I semestru Wstep do programowania

Quiz na początek I semestru Wstep do programowania

7th Grade - University

10 Qs

LUA Test

LUA Test

9th Grade - University

10 Qs

Programming C#

Programming C#

11th Grade

10 Qs

C# - test

C# - test

10th - 11th Grade

11 Qs

C# alapok

C# alapok

11th Grade

15 Qs

C++ vs Python: A Quiz Introduction

C++ vs Python: A Quiz Introduction

11th Grade - University

10 Qs

AppsLab_Q2

AppsLab_Q2

10th Grade - Professional Development

10 Qs

C#

C#

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Károly Lukács

Used 2K+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of this code?

int x = 8;

// x = 3;

Console.WriteLine(x);

3

8

error

24

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Fill the gaps.

___Declaring an integer

and printing it___

int x = 42;

Console.WriteLine(x);

//.........//

/*............*/

<----...................----->

?-------------?

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the type of the temp variable?

var temp = 14.55;

Double

Boolean

Integer

String

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of this code?

var n1;

n1 = true;

Console.WriteLine(n1);

1

true

error

0

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Fill in the blank to make the variable num a constant.


_______int num=2;

con

constant

const

constans

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Fill in the blanks to display the result of the multiplication of x and y.

int x = 42;

int y = 7;

int z = x __ y;

Console.WriteLine( __ );

*.....z

mul........z

*......y

-.......x

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of this code?

int x = 16;

int y = 5;

Console.WriteLine(x/y);

3.2

3

error

4

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?