Lab2_Quiz

Lab2_Quiz

University

10 Qs

quiz-placeholder

Similar activities

The Program Development Cycle

The Program Development Cycle

11th Grade - University

10 Qs

Computer Programming

Computer Programming

University

10 Qs

CPP Quiz 5

CPP Quiz 5

University

10 Qs

C Sharp-conceptos básicos

C Sharp-conceptos básicos

University

10 Qs

Final Project Survey Day 2

Final Project Survey Day 2

University

12 Qs

Chapter 1 Introduction to Computers and Java

Chapter 1 Introduction to Computers and Java

University

15 Qs

Quiz sobre Lenguaje C# y Estructuras de Control

Quiz sobre Lenguaje C# y Estructuras de Control

University

10 Qs

Array in C

Array in C

University

10 Qs

Lab2_Quiz

Lab2_Quiz

Assessment

Quiz

Computers

University

Hard

Created by

bme programming

FREE Resource

AI

Enhance your content

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The Console.WriteLine instruction needs to be followed by

Square brackets [ ]

Parentheses ( )

Double forward slash //

Curly braces { }

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A line of code is called a statement. Each statement in C# needs to end with a

colon :

Angle bracket >

comma ,

semicolon ;

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is C# case-sensitive?

Yes, only for variable names but not keywords.

No, C# is not case-sensitive.

Yes, C# is fully case-sensitive.

No, only method names are case-sensitive.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of comments in programming?

To execute hidden code in the program.

To describe the functionality of the code for reader or programmer.

To optimize the performance of the program.

To define new variables in the program.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the "using" directive do in a C# program?

Allow the program to include a namespace, such as "system".

To group and organize code, avoiding naming conflicts.

Define the entry point of the program.

it can be accessed only within the same assembly.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a "namespace" in C#?

Allow the program to include a namespace, such as "system".

To group and organize code, avoiding naming conflicts.

Define the entry point of the program.

it can be accessed only within the same assembly.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an "internal class" in C#?

Allow the program to include a namespace, such as "system".

To group and organize code, avoiding naming conflicts.

Define the entry point of the program.

it can be accessed only within the same assembly.

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?