Search Header Logo
9/22 Daily Do Now

9/22 Daily Do Now

Assessment

Interactive Video

Information Technology (IT)

9th - 12th Grade

Practice Problem

Hard

Created by

Amy Austin

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the foundational step required to begin working with variables and scripts in a Godot project?

Creating a new project folder.

Creating a scene with at least one node.

Declaring a variable using the 'var' keyword.

Attaching a script to an existing node.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to declare a variable in GDScript?

let

const

var

def

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of attempting to assign an integer value to a variable that has been explicitly type-casted as a String in GDScript?

The integer value is automatically converted to a string.

The variable's type is dynamically changed to integer.

A runtime error occurs, preventing the assignment.

The integer value is ignored, and the variable retains its original string value.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In GDScript, how can two string variables, for example, `numberA = "Hello "` and `numberB = "World"`, be combined to print "Hello World"?

print(numberA - numberB)

print(numberA * numberB)

print(numberA + numberB)

print(numberA / numberB)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When a new Node instance is created without explicitly setting its name, what kind of name does it typically receive?

A generic name like "Node"

A name based on its script file

An auto-generated name, such as "@2"

An empty string

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In GDScript, how do you assign a specific name to a Node instance after it has been created?

node_instance.set_name("CustomName")

node_instance.name = "CustomName"

set_node_property(node_instance, "name", "CustomName")

rename_node(node_instance, "CustomName")

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which built-in GDScript function is used to determine the data type of a variable?

get_type()

type_of()

typeof()

check_type()

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?