
Compro2 (Midterm) File, Input, Output
Quiz
•
Information Technology (IT)
•
University
•
Practice Problem
•
Easy
Jan Eric Paghubasan
Used 8+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 2 pts
It is a complete path that does not need any information to locate a file on a system.
absolute path
relative path
2.
MULTIPLE CHOICE QUESTION
5 mins • 2 pts
depends on other path information. When working with a path containing only a filename, the file is assumed to be in the same folder as the program using it.
absolute path
relative path
3.
MULTIPLE CHOICE QUESTION
5 mins • 2 pts
Returns the String representation of the path, eliminating double backslashes.
Also, the toString() method is overridden from the Object class.
Path getName(int)
Path getFileName()
String toString()
int getNameCount()
4.
MULTIPLE CHOICE QUESTION
5 mins • 2 pts
Returns the file or directory denoted by this Path; the last item in the sequence of name elements. This is frequently a filename but also a folder name.
Path getName(int)
Path getFileName()
String toString()
int getNameCount()
5.
MULTIPLE CHOICE QUESTION
5 mins • 2 pts
Returns the number of name elements in the Path.
Path getName(int)
Path getFileName()
String toString()
int getNameCount()
6.
MULTIPLE CHOICE QUESTION
5 mins • 2 pts
Returns the name in the position of the Path specified by the integer parameter
Path getName(int)
Path getFileName()
String toString()
int getNameCount()
7.
MULTIPLE CHOICE QUESTION
5 mins • 2 pts
An abstract class that contains methods for performing input.
InputStream
FileInputStream
BufferedInputStream
OutputStream
FileOutputStream
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
15 questions
BAB 4 | 4.1 KOD ARAHAN | SUBTOPIK 4.1.2
Quiz
•
2nd Grade - University
20 questions
Uji Pengetahuan TIK untuk Siswa Kelas 9
Quiz
•
9th Grade - University
20 questions
2F-3 | Python Quiz | 14/11/2024
Quiz
•
University
20 questions
Quiz# 1 Applications of ICT
Quiz
•
University
20 questions
ASESMEN DIAGNOSTIK INFORMATIKA KELAS 9
Quiz
•
9th Grade - University
15 questions
Web Application - PHP Repetition
Quiz
•
University
15 questions
Kelas 7 TIK
Quiz
•
7th Grade - University
20 questions
Flutter Quiz#1
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Information Technology (IT)
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
5 questions
Helping Build the Internet: Valerie Thomas | Great Minds
Interactive video
•
11th Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
19 questions
Review2-TEACHER
Quiz
•
University
15 questions
Pre2_STUDENT
Quiz
•
University
20 questions
Ch. 7 Quadrilateral Quiz Review
Quiz
•
KG - University
