Fundamentals CBa1

Fundamentals CBa1

9th Grade

25 Qs

quiz-placeholder

Similar activities

Programming with Karel

Programming with Karel

7th - 12th Grade

25 Qs

Karel and Programming Basics

Karel and Programming Basics

9th Grade

22 Qs

Digital Information (some Programming Questions included)

Digital Information (some Programming Questions included)

9th - 12th Grade

23 Qs

IST - Final Exam S2025

IST - Final Exam S2025

9th - 12th Grade

25 Qs

Game Lab Basics

Game Lab Basics

9th - 12th Grade

20 Qs

Comp App -Sem 1 final

Comp App -Sem 1 final

9th - 12th Grade

20 Qs

Java Programming Quizz-GX

Java Programming Quizz-GX

9th - 12th Grade

25 Qs

Karel the Dog Study Test

Karel the Dog Study Test

9th - 12th Grade

20 Qs

Fundamentals CBa1

Fundamentals CBa1

Assessment

Quiz

Computers

9th Grade

Hard

Created by

khatija duplayee

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If Karel starts at Street 5 and Avenue 1 facing South, what street and avenue will Karel be on after this code runs?

move();

move();

move();

turnLeft();

move();

Street 8 and Avenue 1

Street 2 and Avenue 1

Street 5 and Avenue 4


Street 4 and Avenue 1

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function will teach Karel how to spin in a circle two times?


function spin() {

    move();

    move();

function spin() {

    turnLeft();

    turnLeft();

    turnLeft();

    turnLeft();


function spin() {

    turnLeft();

    turnLeft();

function spin() {

    move();

    move();

    move();

    move();

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many times can you call the move() function when moving Karel forward?

0

1

2

However many times you like

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many times should you call the start function when writing your program?

0

1

2

However many times you like

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a benefit of using functions in programming?

Breaking down the program into smaller parts


Avoiding code repetition


Improving program readability

All of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is it recommended to use functions in programming? (Select all that apply)


To divide the program into bigger, modular sections


To prevent redundant code


To enhance the overall clarity and comprehensibility of the program


All of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which characteristic distinguishes top-down design from other design approaches in programming?


It emphasizes breaking down the problem into smaller, more manageable pieces.


It focuses on creating visually appealing designs for web pages.


It prioritizes writing individual commands as the first step in programming.

It primarily relies on loops and classes to structure the program's execution.

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?