Prelims_IntProg_HO2

Prelims_IntProg_HO2

University

15 Qs

quiz-placeholder

Similar activities

Data Type

Data Type

University - Professional Development

20 Qs

OOPJ- Data Types-Java

OOPJ- Data Types-Java

University

10 Qs

C Viva

C Viva

University

10 Qs

Android Pemula

Android Pemula

University

15 Qs

Java 1st Quiz

Java 1st Quiz

University

19 Qs

Typescript

Typescript

University

20 Qs

DFT4024 Quiz 2 (Topic 3 - CLO1)

DFT4024 Quiz 2 (Topic 3 - CLO1)

University

10 Qs

Prelims_IntProg_HO2

Prelims_IntProg_HO2

Assessment

Quiz

Computers

University

Medium

Created by

Ridge Marino

Used 1+ times

FREE Resource

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

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?