Search Header Logo

Variable Names

Authored by MICHAEL BUZIEWICZ

Computers

9th - 12th Grade

Variable Names
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 5 pts

Which of the following variable names are correct?

StudentCurrentGrade

studentCurrentGrade

previousGrade

SemesterGrade

2.

MULTIPLE SELECT QUESTION

45 sec • 5 pts

Which of the following variable names are correct?

studentCurrentGrade

finalGrade

PreviousGrade

SemesterGrade

3.

MULTIPLE SELECT QUESTION

45 sec • 5 pts

Which of the following variable names are correct?

student1

final1

previousGrade

semesterGrade

4.

MULTIPLE SELECT QUESTION

45 sec • 5 pts

Which of the following code is correct?

string name = "bill";

int a;

int a = 2;

int b;

b = 3;

String name = "bill";

5.

MULTIPLE SELECT QUESTION

45 sec • 5 pts

Which ones are correct?

int a = 3.5;

double b = 2.5;

int a = 5;

double c = 5;

6.

MULTIPLE SELECT QUESTION

45 sec • 5 pts

Which ones are correct?

int a=5;

int a = 5;

int b=7;

int b = 7;

7.

MULTIPLE SELECT QUESTION

45 sec • 5 pts

Which ones are correct?

String name = bill;

String name = "bill";

string day = "Tuesday";

String day = Tuesday;

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?