MCQ-3 CSE P

MCQ-3 CSE P

University

12 Qs

quiz-placeholder

Similar activities

Wipro PBL Test no 9

Wipro PBL Test no 9

University

15 Qs

Computational Thinking in Python[Quiz 4]

Computational Thinking in Python[Quiz 4]

University

15 Qs

PBF - Transaction Processing System

PBF - Transaction Processing System

University

12 Qs

Mile Stone 1

Mile Stone 1

University

15 Qs

UAS Permrograman Komputer

UAS Permrograman Komputer

University

10 Qs

COMPUTER BASICS

COMPUTER BASICS

University

10 Qs

C++ 1st ONLINE QUIZ

C++ 1st ONLINE QUIZ

University

13 Qs

Java_IO_Stream

Java_IO_Stream

University

12 Qs

MCQ-3 CSE P

MCQ-3 CSE P

Assessment

Quiz

Computers

University

Easy

Created by

Amit Mandal

Used 1+ times

FREE Resource

12 questions

Show all answers

1.

OPEN ENDED QUESTION

30 sec • Ungraded

Name

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

30 sec • Ungraded

Roll NO

Evaluate responses using AI:

OFF

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these class contains the methods used to write in a file?
FileStream
FileInputStream
BUfferedOutputStream
FileBufferStream

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these values is returned by read() method is end of file (EOF) is encountered?
0
1
-1
Null

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these exception is thrown by close() and read() methods?
IOException
FileException
FileNotFoundException
FileInputOutputException

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image
What will be the output of the following Java program?
true
false
prints number of bytes in file
prints number of characters in the file

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image
What will be the output of the following Java program?
abc
abcd
abcde
abcdef

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?