C sharp

C sharp

11th Grade

9 Qs

quiz-placeholder

Similar activities

3-ตัวแปรและตัวดำเนินการทางคณิตศาสตร์

3-ตัวแปรและตัวดำเนินการทางคณิตศาสตร์

KG - 11th Grade

10 Qs

CodeHS Lessons 2.1 - 2.5

CodeHS Lessons 2.1 - 2.5

8th - 12th Grade

11 Qs

C Language Basic Quiz

C Language Basic Quiz

7th Grade - Professional Development

10 Qs

Pop Quiz

Pop Quiz

11th Grade

10 Qs

PROGRAMACION

PROGRAMACION

9th Grade - University

10 Qs

C# Data Types

C# Data Types

11th Grade

6 Qs

CodeHS 3.5 String Methods

CodeHS 3.5 String Methods

9th - 12th Grade

12 Qs

Java

Java

11th Grade

10 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