C# Basic

C# Basic

Professional Development

30 Qs

quiz-placeholder

Similar activities

About your Teacher

About your Teacher

KG - Professional Development

25 Qs

PLD_Midterm Quiz

PLD_Midterm Quiz

Professional Development

25 Qs

Preprocessor Directives

Preprocessor Directives

Professional Development

25 Qs

CompTIA Network+ Revision: Cables

CompTIA Network+ Revision: Cables

University - Professional Development

25 Qs

Year 9 Python: End of Unit assessment

Year 9 Python: End of Unit assessment

Professional Development

27 Qs

WEBZEN MCQ

WEBZEN MCQ

Professional Development

25 Qs

SPen 1st quarter 2022

SPen 1st quarter 2022

Professional Development

25 Qs

BT Final HTML & CSS & JS

BT Final HTML & CSS & JS

Professional Development

25 Qs

C# Basic

C# Basic

Assessment

Quiz

Computers

Professional Development

Medium

Created by

PRG TRAINER GLID

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

To print "Foo Bar" on the console, we could use this command:

print("Foo Bar")

cout << "Foo Bar"

echo "Foo Bar"

System.out.println("Foo Bar")

Console.WriteLine("Foo Bar")

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

C# is an extension of ...

C

C++

Java

Objective-C

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which is the comment in C#?

// This is a comment

/* This is a comment

# This is a comment

:: This is a comment

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A line of characters in C# ...

string

str

String

chars

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which is correct?

x = 13;

num x = 13;

double x = 13;

int x = 13;

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which is correct?

int pi = 3.14D;

int pi = 3.14;

float pi = 3.14;

double pi = 3.14D;

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

To get the length of a string object called line

int n = line.Length;

int n = line.length();

int n = line.len();

int n = string.getLength(line);

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?