C sharp

C sharp

11th Grade

9 Qs

quiz-placeholder

Similar activities

CSA 1.1.2 Variables & Data Types

CSA 1.1.2 Variables & Data Types

11th - 12th Grade

13 Qs

J277 Programming - Data Types

J277 Programming - Data Types

9th - 11th Grade

11 Qs

CodeHS 2.2 Variables and Types

CodeHS 2.2 Variables and Types

9th - 12th Grade

8 Qs

C#

C#

11th Grade

10 Qs

Java Programming Basics

Java Programming Basics

9th - 12th Grade

12 Qs

Project-Stem Unit 1 python coding

Project-Stem Unit 1 python coding

9th - 12th Grade

12 Qs

Java - arrays and String methods

Java - arrays and String methods

9th - 12th Grade

12 Qs

VB programming

VB programming

10th - 11th Grade

7 Qs

C sharp

C sharp

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Khaled Elsayed

Used 272+ times

FREE Resource

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is a correct syntax to output "Hello World" in C#?

Media Image
Media Image
Media Image
Media Image

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

C# is an alias of C++

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

The most common method to output something in C# is ....................

WriteLine()

Print

cout

cin

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

How do you insert COMMENTS in C# code?

# This is a comment

// this a comment

/* This ia a comment

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

The types of Variables who stores floating point numbers is ..............

int

char

double

bool

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which data type is used to create a variable that should store text?

String

Int

Double

Char

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

How do you create a variable with the numeric value 5?

num x = 5;

int x = 5;

x = 5;

double x = 5;

8.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

How do you create a variable with the floating number 2.8?

int x = 2.8;

int x = 2.8D;

byte x = 2.8;

double x = 2.8D;

9.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

The character must be surrounded by ......................

single quotes

Double quotes

Angle brackets

Square brackets