Session 1

Session 1

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Lớp 10: Câu hỏi TN củng cố kiến thức

Lớp 10: Câu hỏi TN củng cố kiến thức

10th Grade

10 Qs

Functions in C++

Functions in C++

9th - 12th Grade

10 Qs

Understanding Python Basics

Understanding Python Basics

8th Grade - University

14 Qs

Python String Data Structure

Python String Data Structure

10th - 12th Grade

12 Qs

String Basics

String Basics

10th Grade

15 Qs

Python Quiz

Python Quiz

12th Grade

11 Qs

Exercise STM20263

Exercise STM20263

9th Grade

15 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?