C sharp

C sharp

11th Grade

9 Qs

quiz-placeholder

Similar activities

Unit 4 Day 8 Opener - C++ Function Concepts

Unit 4 Day 8 Opener - C++ Function Concepts

9th - 12th Grade

8 Qs

CodeHS 3.5 String Methods

CodeHS 3.5 String Methods

9th - 12th Grade

12 Qs

CodeHS Unit 2

CodeHS Unit 2

11th - 12th Grade

13 Qs

C++ Quiz 1: Introduction and Basics

C++ Quiz 1: Introduction and Basics

7th - 12th Grade

7 Qs

AP Computer Science-Quiz 2(G10)

AP Computer Science-Quiz 2(G10)

9th - 12th Grade

10 Qs

11-27 Data Types in Java

11-27 Data Types in Java

8th Grade - University

8 Qs

Jenis Data

Jenis Data

7th - 12th Grade

10 Qs

C# - test

C# - test

10th - 11th Grade

11 Qs

C sharp

C sharp

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Khaled Elsayed

Used 274+ 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