STS3401
STS3401
Reg no:
INTERNAL ASSESSMENT -2 DATE: //
Venue:
FALL SEMESTER 2023-24
Qualitative Skills Practice I Code : STS3401
Course Title :
SET : A
Faculty (s) : SIX PHRASE Slot :
Time : 30 mins Max. Marks : 30
Answer all the Questions
S. No QUESTIONS Marks
1. What is the main difference between StringBuffer and StringBuilder? 1
A) Reducing code reuse B) Breaking down programs into smaller, manageable modules
19. How can you convert other data types to strings in Java? 1
A) By using the parse() method
B) By using the format() method
C) By using the toString() method
D) By using the valueOf() method
26. How is input read from the console using the Scanner class? 1
A) By using the write() method
B) By invoking methods like nextInt() or nextLine()
C) By using the read() method
D) By using the print() method
30. How does using appropriate identifiers and data types enhance code quality? 1
a) It improves readability, maintainability and reduces error
b) It increases the errors and decreases the readability
c) It has no impact on the code quality
d) It slows down execution.