1) Which of the following is an efficient way of holding more than one item of data of the same data type in a program? a) A variable b) A constant c) An array d) A subroutine 2) Erin wishes to store her last four 100 metre sprint times in an array. What data type should the array sotre? a) String b) Boolean c) Float d) Integer 3) What is an input ( select al correct answers.) a) gives an output b) gives back the statement given c) opposite to output d) accepts data from the user 4) What will be the result of running the code in the picture? a) 1 b) 3 c) 6 d) 8 5) Which of the following special characters are used when creating an array? a) : : b) { } c) [ ] d) ( ) 6) What is the length of the array [2, -5, 8, -15, 10] a) 5 b) 4 c) 13 d) 9 7) What is an Array a) a data structure that allows you to hold a value, all the same type, with one name b) a data structure that allows you to hold several values, all have different types, with one name c) a data structure that allows you to hold several values, all the same type, with one name d) a data structure that allows you to hold several values, all the same type, with multiple names 8) What would the following array calls would return "x" from the following array: letters = [["y", "w"], ["x", "z"], ["a", "b"]] a) letters[1][0] b) letters[2][1] c) lettersy[2][0] d) letters[1][1]
0%
GCSE.Unit2.Arrays
שתף
שתף
שתף
על ידי
Mrszhong
KS4
Y9
Y10
Y11
Computing
עריכת תוכן
הדפסה
הטבעה
עוד
הקצאות
לוח תוצאות מובילות
הצג עוד
הצג פחות
לוח התוצאות הזה הוא כרגע פרטי. לחץ
שתף
כדי להפוך אותו לציבורי.
לוח תוצאות זה הפך ללא זמין על-ידי בעל המשאב.
לוח תוצאות זה אינו זמין מכיוון שהאפשרויות שלך שונות מאשר של בעל המשאב.
אפשרויות חזרה
חידון
היא תבנית פתוחה. זה לא יוצר ציונים עבור לוח התוצאות.
נדרשת כניסה
סגנון חזותי
גופנים
נדרש מנוי
אפשרויות
החלף תבנית
הצג הכל
תבניות נוספות יופיעו במהלך המשחק.
תוצאות פתוחות
העתק קישור
קוד QR
מחיקה
האם לשחזר את הנתונים שנשמרו באופן אוטומטי:
?