1) What symbol marks the end of a statement in Java? a) . b) : c) ; d) , 2) The top-left corner of the Greenfoot screen has coordinates: a) (0,0) b) (0,10) c) (10,0) d) (100,100) 3) A block of code in Java is enclosed in: a) ( ) b) { } c) < > d) [ ] 4) The command Greenfoot.isKeyDown("left") returns: a) A number b) Text c) A boolean d) An integer 5) Which data type stores decimal numbers? a) int b) boolean c) double d) char 6) What does the method turn(90) do? a) Moves the actor up b) Rotates the actor 90° clockwise c) Turns the actor left d) Changes the actor’s speed 7) Which keyword is used to create an object? a) object b) class c) make d) new 8) What is the purpose of a constructor? a) To destroy objects b) To build and initialize an object c) To print output d) To store variable data 9) What does getRandomNumber(10) return? a) 0-9 b) 1-10 c) 10-20 d) 0-10 10) The method move(5) belongs to: a) The Greenfoot class b) The Object class c) The Actor class d) The System class
0%
Coding revision part 1
שתף
שתף
שתף
על ידי
Olleeey
Gr 8
עריכת תוכן
הדפסה
הטבעה
עוד
הקצאות
לוח תוצאות מובילות
הצג עוד
הצג פחות
לוח התוצאות הזה הוא כרגע פרטי. לחץ
שתף
כדי להפוך אותו לציבורי.
לוח תוצאות זה הפך ללא זמין על-ידי בעל המשאב.
לוח תוצאות זה אינו זמין מכיוון שהאפשרויות שלך שונות מאשר של בעל המשאב.
אפשרויות חזרה
מרדף במבוך
היא תבנית פתוחה. זה לא יוצר ציונים עבור לוח התוצאות.
נדרשת כניסה
סגנון חזותי
גופנים
נדרש מנוי
אפשרויות
החלף תבנית
הצג הכל
תבניות נוספות יופיעו במהלך המשחק.
תוצאות פתוחות
העתק קישור
קוד QR
מחיקה
האם לשחזר את הנתונים שנשמרו באופן אוטומטי:
?