Computer Programming Quiz

Computer Programming Quiz

University

20 Qs

quiz-placeholder

Similar activities

Основы Python

Основы Python

University

19 Qs

Algo-Unlock

Algo-Unlock

University

20 Qs

PROGRAMMING 1 CHECK UP QUIZ

PROGRAMMING 1 CHECK UP QUIZ

University

15 Qs

Repaso Programacion I

Repaso Programacion I

University

18 Qs

CSC264 Javascript Basic

CSC264 Javascript Basic

University

15 Qs

UMANG QUIZ

UMANG QUIZ

University

20 Qs

Exam - Hybrid Project Manager

Exam - Hybrid Project Manager

University

20 Qs

Nursing Leadership Practice questions

Nursing Leadership Practice questions

University

16 Qs

Computer Programming Quiz

Computer Programming Quiz

Assessment

Quiz

Other

University

Easy

Created by

Andrew Panares

Used 4+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable?

A type of operator

A fixed value in memory

A named storage location in memory that holds a value

A function that performs calculations

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid identifier?

char grade@;

double total amount;

float salary;

int 1stNumber;

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does scope refer to in programming?

The speed of the program

The visibility or accessibility of a variable

The amount of memory used

The type of data stored

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of global scope?

int x = 10; // Global scope

void myFunction() { int y = 5; }

int z = 15; // Local scope

for(int i = 0; i < 10; i++) {}

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of data does 'int' store?

Strings

Integers

Single characters

Floating-point numbers

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for addition?

-

*

+

/

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the relational operator '>' do?

Checks if the left value is greater than the right value

Checks if two values are not equal

Assigns a value to a variable

Compares two values for equality

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?