Session 1

Session 1

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

C++ SHS B1-B2

C++ SHS B1-B2

11th Grade

15 Qs

PCEP Section 1E: Perform Input/Output console operations

PCEP Section 1E: Perform Input/Output console operations

12th Grade

10 Qs

Quiz on String

Quiz on String

12th Grade

15 Qs

Программирование C#

Программирование C#

1st - 10th Grade

10 Qs

Javascript Basics Quiz Review

Javascript Basics Quiz Review

12th Grade

15 Qs

Java Script Quiz

Java Script Quiz

9th - 12th Grade

15 Qs

C# 11

C# 11

1st - 10th Grade

10 Qs

Unit 1 Post Test: Basic Python

Unit 1 Post Test: Basic Python

9th - 12th Grade

10 Qs

Session 1

Session 1

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Mohammad Saleem

Used 4+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

System.Print(Hello World);

Print(" Hello World");

Consol.WriteLine(" Hello World");

cout<<"Hello World";

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you insert COMMENTS in C# code?

//

Cmnt->

<--

#

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Txt

str

CStrting

string

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of this code:
double x = 5.4;

int y = (int)x;

Console.WriteLine(y);

5.4

5

4

error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of this code:

double x = 7;

x++;

//x = x + 3;

Console.WriteLine(x);

10

7

8

error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of this code:
int var = " Hello ";

int var2 = " World"

Console.WriteLine(var+var2);

HelloWorld

Hello World

Hello
World

error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In this standard, the first letter of the word is always in small letter and after that, each word starts with a capital letter.

Camel Case

Pascal Case

Underscore Prefix

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?