DSA - Q1

Quiz
•
Computers
•
University
•
Medium
jenelyn luna
Used 35+ times
FREE Resource
25 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
2 mins • 2 pts
If you want the method to return a value, you can use a primitive data type instead of void, and use the ____ keyword inside the method.
(use small letters and space if necessary)
2.
FILL IN THE BLANK QUESTION
2 mins • 2 pts
A data structure which is a programming technique you can use in which a method calls itself to solve a problem.
(use small letters and space if necessary)
3.
FILL IN THE BLANK QUESTION
2 mins • 2 pts
____ is a collection of elements used to store the same type of data.
(use small letters and space if necessary)
4.
FILL IN THE BLANK QUESTION
2 mins • 2 pts
int num[ ] = {11, 2, 99, 4, 33, 14, 18};
How would you access the fourth element in num.
(no spacing in writing the answer)
5.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
A recursive method is ________
a method that cannot be called more than once
a method that will never iterate infinitely
a method that invokes itself by name within the method
6.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Index values of an array ranges from ________.
0 to length
1 to length
1 to length
0 to length-1
7.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
The program may run out of memory in a ___
non-recursive function call
condition when too many variables are declared
recursive function call
none of the above
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Week 2 - Assessment 2 (ITNW0223)

Quiz
•
University
20 questions
js DOM

Quiz
•
12th Grade - Professi...
30 questions
CS 211 - Midterm Review

Quiz
•
University
20 questions
Guess the CS Term!

Quiz
•
University
20 questions
C - Strings

Quiz
•
University
20 questions
GirlsWhoML Workshop 0

Quiz
•
University
28 questions
REV 4- Antenna Systems Part 2

Quiz
•
University
20 questions
Data Structures

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University