NEW
Font size
Worksheetslittle coder express course part 3
Total questions: 19
Worksheet time: 10mins
What is the main purpose of a loop?
ما الهدف من loop ?
To stop a program
ايقاف البرنامج
To repeat instructions
تكرار الاوامر
To create a sprite
انشاء شخصيه
To store values
تخزين البيانات
Which of the following is an algorithm?
ما الجمله التي تعبر عن algorism ?
A picture
A random action
Step-by-step directions to solve a problem
A bug
What is a bug in a program?
ما معني bug
A character
شخصيه
A correct output
ناتج صحيح
A mistake in the code
خطأ في الكود
A variable
متغير
Why do we debug programs?
لماذا نقوم بعمليه debug
To add more sprites
لاضافه المزيد من الشخصيات
To make the program work correctly
لجعل البرنامج يعمل بشكل صحيح
To slow the program
لابطاء البرنامج
To remove loops
لحذف التكرار
Why are functions useful?
ما فائده function
They make programs longer
They group repeated instructions
They create bugs
They stop loops
Which situation uses an event?
ما الجمله التي تمثل حدث ؟
Repeating code 5 times
Running code when a key is pressed
Storing a score
Fixing an error
What can a sprite do?
ما الذي يمكن ان يفعله sprite
Only store numbers
Move and interact
Repeat loops
Fix bugs
Which task is best for a for loop?
Moving forever
Repeating an action 10 times
Waiting for a click
Making a decision
What happens in a while loop?
ماذا يحدث داخل while loop
Code runs once
Code runs while a condition is true
Code runs after stopping
Code runs only if clicked
What will an if block do?
ماذا تفعل if
Repeat code
Store data
Run code only when a condition is true
Stop the program
Which is an example of using a variable?
ايا من هذه الامثله تعبر عن variable
Moving a sprite
Repeating a loop
Saving a score number
Pressing a key
What is a nested loop?
A loop that stops early
A loop inside another loop
A broken loop
A long loop
Which concept helps avoid repeating the same code many times?
ما المفهوم البرمجي الذي يمنعنا من اعاده كتابه نفس الاوامر مره اخري ؟
Sprite
Function
Event
Bug
Which block helps a program make decisions?
ما الامر الذي يساعد البرنامج علي اتخاذ قرار
Loop
If
Variable
Function
What happens if a while condition is always true?
ما الذي يحدث اذا كان شرط while دائما true
The loop stops
The program repeats forever
The sprite disappears
A bug is fixed
Which concept is most important before writing code?
ما المفهوم البرمجي االاكثر اهميه في تطبيقه قبل كتابه الكود
Sprite
Algorithm
Variable
Event
Which makes a game interactive?
ما الذي يجعل اللعبه بها تفاعل وتشويق
Loops only
Variables only
Events and conditions
Algorithms only
Why do we change a variable value?
لماذا نقوم بتغيير قيمه المتغير
To make the code longer
To update information like score or level
To repeat code
To stop events
Which task needs a nested loop?
ما المهمه التي تحتاج لnested loop
Move once
Repeat forever
Repeat actions inside another repeated action
Store a value
