JAVA WEEK 7-12

Quiz
•
Computers
•
University
•
Hard
KAVIARASU K
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these exception is thrown in cases when the file specified for writing is not found?
IOException
FileException
FileNotFoundException
FileInputException
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a ByteArrayOutputStream in Java?
To write binary data to an output stream
To read binary data from an input stream
To convert characters to bytes
To store binary data in memory
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to read b length bytes from the input stream into an array?
public void read(int b)throws IOException{{
public int read(byte[ ] b)throws IOException{}
public void read(byte[ ] b)throws IOException{}
public int read(int b)throws IOException{}
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to create a directory with fileattributes?
Path.create()
Path.createDirectory()
Files.createDirectory(path, fileAttributes)
Files.create(fileAttributes)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which class is used to write primitive data types to an output stream in Java?
DataOutputStream
ObjectOutputStream
OutputStream
PrintWriter
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Java, what is the purpose of a Card Layout?
To create a card game interface
To arrange components in a card-like fashion
To manage multiple panels within a single container
To display images of cards
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which layout manager divides the container into five regions: North, South, East, West, and Center?
Border Layout
Grid Layout
Flow Layout
Card Layout
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Kuis Pengembangan Aplikasi Mobile

Quiz
•
University
24 questions
Midterm 2 Review Quiz

Quiz
•
University
20 questions
JAVA Basics Quiz

Quiz
•
University
20 questions
TALENT-NEXT-JAVA-QUIZ1

Quiz
•
University
20 questions
JavaScript Basics

Quiz
•
University
28 questions
OOPS Live Quiz

Quiz
•
University
20 questions
Quiz 2 PBO

Quiz
•
University
20 questions
Quiz PBO SIA

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University