CSE 1: Unit 2

CSE 1: Unit 2

Assessment

Flashcard

Computers

6th Grade

Easy

Created by

Graham Pierce

Used 7+ times

FREE Resource

Student preview

quiz-placeholder

7 questions

Show all answers

1.

FLASHCARD QUESTION

Front

When the code pictured here is run, how many steps will the sprite move?

Back

30

Answer explanation

The sprite moves 10 steps for each of the 3 iterations in the loop. Therefore, 10 steps x 3 iterations = 30 steps. Thus, the correct answer is 30.

2.

FLASHCARD QUESTION

Front

When the code pictured here is run, how many steps will the sprite move?

Back

50

Answer explanation

The code moves the sprite 50 steps as specified. Therefore, the correct answer is 50.

3.

FLASHCARD QUESTION

Front

Ballerina has 4 costumes. If you want the animation to end on the last costume, what number should be in the repeat loop?

Back

3

Answer explanation

To end on the last costume, the loop should repeat for the first 3 costumes (1, 2, 3), allowing the 4th costume to be displayed last. Therefore, the correct number in the repeat loop is 3.

4.

FLASHCARD QUESTION

Front

Which format would I use, if I needed the illustration to scale properly with smooth edges? Options: Bitmap, Vector

Back

Vector

Answer explanation

Vector format is ideal for illustrations that need to scale without losing quality, as it uses mathematical equations to create images. In contrast, Bitmap images can become pixelated when resized.

5.

FLASHCARD QUESTION

Front

True or False: Pair programming is used outside the classroom, in real programming jobs.

Back

TRUE

Answer explanation

TRUE: Pair programming is a collaborative practice where two programmers work together at one workstation. It is widely used in real programming jobs to enhance code quality and foster teamwork.

6.

FLASHCARD QUESTION

Front

Which format is best for storing a logo that needs to be resized frequently without losing quality?

Back

Vector

Answer explanation

Vector format is best for logos that need resizing, as it uses mathematical equations to define shapes, allowing for infinite scaling without quality loss. Bitmap formats, on the other hand, can become pixelated when resized.

7.

FLASHCARD QUESTION

Front

Which type of image format is typically larger in file size due to its pixel-based nature?

Back

Bitmap

Answer explanation

Bitmap images are pixel-based, meaning they store color information for each pixel. This results in larger file sizes compared to vector formats, which use mathematical equations to represent images and are generally more efficient in size.