Search Header Logo

Prelims_IntProg_HO2

Authored by Ridge Marino

Computers

University

Used 1+ times

Prelims_IntProg_HO2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

it is a name of a program that programmers use to identify namespaces, variables, methods, etc.

Data types

Identifier

Reserved keywords

variable

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Choose below what are the declaration with identifiers

class HelloWorld{ }

public AreaOfRectangle( ){ }

int price;

namespace

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Choose below what are the syntax rules when naming an identifier in C#

It must start with a number

It cannot be a reserved keyword

The classes and methods in C# must always begin with a capital letter

The identifier's name can only have any combination of letters, digits, and underscores. White spaces are allowed

Answer explanation

You're wrong? Read again the definitions.

If you're right, then good for you

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The basic syntax of declaring a variable is as follows:

data_type identifier;

TRUE

FALSE

MAYBE

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is this correct in declaring a variable?

SizeOfRectangle double;

TRUE

FALSE

MAYBE

Answer explanation

data_Type identifier is the standard format.

it should be:

double SizeOfRectangle;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is an identifier and a memory location that stores a specific value

Identifier

Reserved word

Data type

Variable

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This is the process of converting a value of one(1) type of data to another data type

Implicit Conversion

Explicit Conversion

Type Casting

Reference types

Access all questions and much more by creating a free account

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

Already have an account?