C# Programming

C# Programming

11th Grade

10 Qs

quiz-placeholder

Similar activities

Pengenalan Aplikasi Blender

Pengenalan Aplikasi Blender

11th Grade

13 Qs

MS word

MS word

11th Grade

10 Qs

Test on Python Function

Test on Python Function

11th - 12th Grade

12 Qs

Types of Mass Media

Types of Mass Media

10th Grade - Professional Development

11 Qs

11 Construction Bricklaying

11 Construction Bricklaying

11th Grade

10 Qs

Common Protocols

Common Protocols

10th - 12th Grade

15 Qs

LENGUAJE C

LENGUAJE C

11th Grade

13 Qs

Clase de Computación: Excel

Clase de Computación: Excel

11th Grade

12 Qs

C# Programming

C# Programming

Assessment

Quiz

Computers, Instructional Technology

11th Grade

Practice Problem

Hard

Created by

Brian Abundo

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

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

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

Access all questions and much more by creating a free account

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

Already have an account?