INET 2002: PopUp Quiz

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/18

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 10:19 PM on 3/31/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

19 Terms

1
New cards

What is the result of 7 / 2 in Java (int division)?

3

2
New cards

Which is correct for a char in Java?

Char stores a single character in single quotes, like 'A'.

3
New cards

Which data structure is best for fast key lookup?

Hashmap provides very fast lookup by key on average.

4
New cards

What does this.name = name do?

It sets the object’s name variable equal to the value passed in

5
New cards

What is method overloading?

Having multiple methods with the same name but different parameters.

6
New cards

Which scenario best demonstrates inheritance in Java?

One class extends another, like Dog extends Animal.

7
New cards

In which situation is polymorphism being used?

A parent class reference runs a child class methods

8
New cards

What keyword is used to inherit a class in Java?

Extends.

9
New cards

Which OOP pillar hides data using private fields and public methods?

Encapsulation.

10
New cards

Which of the following describes abstraction in Java?

Showing only important details and hiding the rest

11
New cards

What happens if you write void before a constructor?

Not a constructor anymore; it becomes a regular method.

12
New cards

What is the correct Java entry point method?

Public static void main(String[] args).

13
New cards

How do you fix integer division to get a decimal?

7 / 2.0.

14
New cards

What Scanner bug occurs after nextInt()?

The next nextLine() may skip input because of leftover newline

15
New cards

Which access modifier protects class data?

Private.

16
New cards

What does in-order traversal of a BST produce?

Values in sorted order.

17
New cards

What happens if you forget a semicolon in Java?

You will get compile-time error.

18
New cards

What keyword is used to call a parent constructor?

Super.

19
New cards

Which statement correctly declares a variable in Java?

Int x = 5.

Explore top notes

note
Reproductive Disorders
Updated 875d ago
0.0(0)
note
The Cotton Boom
Updated 1238d ago
0.0(0)
note
WW1
Updated 887d ago
0.0(0)
note
Apoptosis
Updated 1324d ago
0.0(0)
note
Reproductive Disorders
Updated 875d ago
0.0(0)
note
The Cotton Boom
Updated 1238d ago
0.0(0)
note
WW1
Updated 887d ago
0.0(0)
note
Apoptosis
Updated 1324d ago
0.0(0)

Explore top flashcards

flashcards
Vocabulary & Spelling 2.1
20
Updated 484d ago
0.0(0)
flashcards
english 10 vocab 2
20
Updated 946d ago
0.0(0)
flashcards
spanish 1
27
Updated 951d ago
0.0(0)
flashcards
eres tu maria 6-10
29
Updated 1033d ago
0.0(0)
flashcards
Les Influenceurs sur Instagram
33
Updated 148d ago
0.0(0)
flashcards
Macro Exam 2 With Prof Kurt SSU
50
Updated 498d ago
0.0(0)
flashcards
SCM 3301 Exam 2
178
Updated 394d ago
0.0(0)
flashcards
Vocabulary & Spelling 2.1
20
Updated 484d ago
0.0(0)
flashcards
english 10 vocab 2
20
Updated 946d ago
0.0(0)
flashcards
spanish 1
27
Updated 951d ago
0.0(0)
flashcards
eres tu maria 6-10
29
Updated 1033d ago
0.0(0)
flashcards
Les Influenceurs sur Instagram
33
Updated 148d ago
0.0(0)
flashcards
Macro Exam 2 With Prof Kurt SSU
50
Updated 498d ago
0.0(0)
flashcards
SCM 3301 Exam 2
178
Updated 394d ago
0.0(0)