
ASSESSMENT | ARRAY
Quiz
•
Information Technology (IT)
•
University
•
Practice Problem
•
Medium
Glaizess Salisi
Used 10+ times
FREE Resource
Enhance your content in a minute
26 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In C#, an array is:
A collection of values of the same type stored in consecutive memory locations.
A collection of values of different types stored together.
A method for repeating tasks.
A keyword used for sorting values.
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is NOT true about arrays?
Array elements are accessed using an index.
The index of the first element starts at 0.
Arrays can store different data types in one collection.
Arrays have a fixed size once declared.
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which is a valid declaration of an integer array with 5 elements in C#?
int[] nums = new int[5];
int nums = {1, 2, 3, 4, 5};
array nums[5];
int nums = new int(5);
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Given int[] numbers = {10, 20, 30, 40};, what will numbers[0] return?
10
20
30
40
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which of the following correctly initializes a string array?
string fruits = {"Apple", "Banana", "Mango"};
string[] fruits = {"Apple", "Banana", "Mango"};
fruits string[] = {"Apple", "Banana", "Mango"};
array fruits = {"Apple", "Banana", "Mango"};
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
If an array is declared as int[] arr = new int[3];, what are the default values of its elements?
null
1
0
undefined
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which property is used to determine the number of elements in an array?
Count
Length
Size
Capacity
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
21 questions
YEAR 3 ICT LENT TERM ASSESSMENT
Quiz
•
3rd Grade - University
25 questions
Latihan Soal Analisis Data 9
Quiz
•
9th Grade - University
25 questions
FOS QUIZ 7
Quiz
•
University
25 questions
Konfigurasi Hotspot Mikrotik RB941
Quiz
•
12th Grade - University
25 questions
UTS Literasi TIK & Media Pembelajaran
Quiz
•
University
25 questions
(7) TF Informatika "Algoritma"
Quiz
•
7th Grade - University
25 questions
Google Sheets Midterm Quiz - 21/10/2024
Quiz
•
University
22 questions
Unit-8 (QB64) Year-6
Quiz
•
6th Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Information Technology (IT)
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University
