Variables and Constants

Variables and Constants

3rd Grade

10 Qs

quiz-placeholder

Similar activities

QUIZ_Pemrograman Dasar Kelas X_26Oktober2018

QUIZ_Pemrograman Dasar Kelas X_26Oktober2018

1st - 3rd Grade

15 Qs

Chapter 1 : Computer Class 11 (Medium LVL)

Chapter 1 : Computer Class 11 (Medium LVL)

KG - 12th Grade

10 Qs

YEAR 3 Quiz

YEAR 3 Quiz

3rd Grade

15 Qs

Variables and Functions

Variables and Functions

KG - University

10 Qs

Introduction to Computers and Logic

Introduction to Computers and Logic

1st Grade - University

15 Qs

Hari 3 - Kuis Coding & Perkenalan AI

Hari 3 - Kuis Coding & Perkenalan AI

1st - 9th Grade

11 Qs

KUIS 3 - KUIS CODING dan PERKENALAN AI

KUIS 3 - KUIS CODING dan PERKENALAN AI

1st Grade - University

10 Qs

2. MicroBit variabile si conditii

2. MicroBit variabile si conditii

1st - 8th Grade

14 Qs

Variables and Constants

Variables and Constants

Assessment

Quiz

Computers

3rd Grade

Hard

Created by

Nicholas Anderson

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are variables in computer memory?

Named storage locations

Fixed values

Data types

Program configuration settings

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of data can variables hold?

Strings, constants, booleans, or integers

Variables, data types, characters, or integers

Real numbers, program settings, characters, or strings

Integers, real numbers, characters, or booleans

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of declaring a variable in Pascal?

All of the above

To make decisions in the program

To perform calculations

To store data

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are constants in Pascal?

Fixed values that can be changed

Data types that can hold different values

Values that are known beforehand and remain constant

Named storage locations

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When to use constants in Pascal?

To improve code readability and maintainability

For values that won't change

For program configuration settings

All of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the syntax for declaring a variable in Delphi?

variable_name: data_type;

const constant_name = value;

var variable_name = data_type;

var variable_name: data_type;

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an example of a constant in Pascal?

PI = 3.14159;

is_running: boolean;

age: integer;

MAX_TRIES = 3;

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?