Explore Programming Basics

Explore Programming Basics

4th Grade

33 Qs

quiz-placeholder

Similar activities

java

java

3rd - 10th Grade

38 Qs

CKQT-Scratch - Variable Number and String

CKQT-Scratch - Variable Number and String

2nd - 4th Grade

30 Qs

CKQG Scratch 05- Variables and data types

CKQG Scratch 05- Variables and data types

1st - 5th Grade

30 Qs

CKQT-Scratch - Progarmming

CKQT-Scratch - Progarmming

1st - 5th Grade

35 Qs

CS Prelim I

CS Prelim I

4th Grade

28 Qs

Year 7CS_exam

Year 7CS_exam

4th - 8th Grade

37 Qs

CKQG_Scratch 01-Basic concepts

CKQG_Scratch 01-Basic concepts

2nd - 5th Grade

30 Qs

Scratch programming

Scratch programming

KG - University

30 Qs

Explore Programming Basics

Explore Programming Basics

Assessment

Quiz

Computers

4th Grade

Medium

Created by

Gabriel Mendieh

Used 2+ times

FREE Resource

33 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable in programming?

A variable is a symbolic name for a storage location in memory that can hold a value and may change during program execution.

A variable is a fixed value that cannot change during program execution.

A variable is a command that executes a specific task in a program.

A variable is a type of function that performs calculations.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a data type: String, Loop, Function?

Array

Variable

String

Class

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a loop do in programming?

A loop executes a block of code multiple times.

A loop creates a new function.

A loop stores data in a variable.

A loop runs a program only once.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you write a conditional statement in code?

Use 'while (condition) { // code }' for loops.

Use 'if (condition) { // code } else { // code }' for conditional statements.

Write 'if condition: // code' in Python without brackets.

Use 'switch (condition) { // code }' for conditional statements.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a function?

To manage database connections efficiently.

The purpose of a function is to encapsulate code for reuse and to perform specific tasks.

To create user interfaces for applications.

To store data permanently in memory.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is debugging?

Debugging is the method of designing user interfaces.

Debugging is the act of compiling a program.

Debugging is the process of writing new code.

Debugging is the process of finding and resolving defects or issues in computer programs.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol is commonly used to denote a comment in code?

/* comment */

# or //

// comment

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?