
[20224] CSC301 Quick Exercise 7-1
Authored by ZALIKHA ZULKIFLI
Computers
University
Used 5+ times
![[20224] CSC301 Quick Exercise 7-1](https://cf.quizizz.com/img/studentpreview.webp)
AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the correct declaration statements for the following array:
intEmpNums, an array of 100 integers
Dim intEmpNums (100) As Integer
Dim intEmpNums (99) As Integer
Dim intEmpNums () As Integer
Dim intEmpNums As Integer (99)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
All of the values stored within an array are called _________.
Boxes
Elements
Subvariables
Intersections
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following identifies a specific element within an array?
Element specifier
Determinator
Locator
Subscript
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the lower subscript of an array?
1
{ }
0
-1
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following declares a five-element one-dimensional array?
Dim intSold (4) As Integer
Dim intSold (5) As Integer = {4, 78, 65, 23, 2}
Dim intSold () As Integer = {4, 78, 65, 23, 2}
Both a and c.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The strItems array is declared as follows: Dim strItems(20) As String. The intSub variable keeps track of the array subscripts and is initialized to 0. Which of the following Do clauses will process the loop instructions for each element in the array?
Do While intSub > 20
Do While intSub < 20
Do While intSub >= 20
Do While intSub <= 20
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The intSales array is declared as follows: Dim intSales() As Integer = {10000, 12000, 900, 500, 20000}. The statement intSales(2) += 10 will _____________________.
replace the 900 amount with 10
replace the 900 amount with 910
replace the 12000 amount with 10
replace the 12000 amount with 12010
Access all questions and much more by creating a free account
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
10 questions
IoT Lecture 8 - Data and Analytics for IoT
Quiz
•
University
10 questions
C Programming Quiz-5
Quiz
•
University
10 questions
Advanced SQL
Quiz
•
KG - University
15 questions
JavaScript
Quiz
•
University
10 questions
Session 2
Quiz
•
University
10 questions
T_4.2 Identifier, Data Types, Operators & Expressions
Quiz
•
12th Grade - University
10 questions
Quiz-AIML
Quiz
•
University
10 questions
Struktur dan pemrosesan data
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
20 questions
Endocrine System
Quiz
•
University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
30 questions
W25: PSYCH 250 - Exam 2 Practice
Quiz
•
University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
38 questions
Unit 8 Review - Absolutism & Revolution
Quiz
•
10th Grade - University