T3_PC6.1 & PC6.2

Quiz
•
Computers
•
9th Grade
•
Medium
Shukria Arshe
Used 28+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
PC6.1.-What is an array in Swift?
A collection of random data
A collection of similar data types in the same structure
A collection of data in no specific order
A collection of different data types in the same structure
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
PC6.1-How are elements in an array accessed?
Using a label
Using a specific order of index
Using a unified index
Using a specific order of values
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
PC6.1-Which of the following statements is true about arrays in Swift?
A. Arrays can hold elements of different data types.
B. Elements in an array are accessed using unique labels.
C. Arrays require elements to be of the same data type.
D. B and C are true
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
PC6.2-What are indices in arrays?
A type of data structure
A method for accessing arrays
An indicator used to locate and allow access to a particular element within an array
A way to sort arrays
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
PC6.2-How are indices represented in Swift?
As strings
As integers
As booleans
As floating point numbers
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
PC6.2-What is the index of the second element in the Marks array?
Marks = [100, 93, 85, 70]
0
1
2
3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
PC6.2: What will be the output of this Swift code?
[1,0,2,3]
error
[0,1,2,3]
[1,2,3,0]
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Pandas library

Quiz
•
9th Grade
15 questions
Pointer Arithmetic in C Programming

Quiz
•
9th - 12th Grade
15 questions
Records and Files

Quiz
•
8th - 11th Grade
10 questions
Arrays Javascript (CodeCademy)

Quiz
•
9th - 12th Grade
10 questions
Reshaping & vStack&hstack( )

Quiz
•
9th Grade - University
10 questions
NumPy

Quiz
•
9th Grade - University
12 questions
C# Arrays

Quiz
•
9th - 12th Grade
15 questions
CPM9.1-9.3 Quiz Review

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
19 questions
Mental Health Vocabulary Pre-test

Quiz
•
9th Grade
14 questions
Points, Lines, Planes

Quiz
•
9th Grade