Search Header Logo

Programming Concepts Quiz

Authored by Kristine Dunlap

Computers

9th Grade

Used 3+ times

Programming Concepts Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

38 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is used to assign values to variables in programming?

Variables

Logical Operators

Assignment Operators

Data Type

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the term for a conditional statement following 'if'?

Elf

Else

Syntax

Int

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of variable is x in x=5?

string

float

variables

Integer

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the extension of a Python file?

.sh

.js

.bat

.py

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used to assign a value to a variable?

=

==

break

def sum(x,y):

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to create a function in Python?

print(type(x))

def sum(x,y):

print("hello, welcome to sljh")

If x > y:

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the term 'Data Type' refer to in programming?

String, integer, or Boolean

Domain

Equals

Logical Operators

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?