Practice Output in Java - 11.3 | 11. Basic Input/Output and Data File Handling | ICSE Class 11 Computer Applications
K12 Students

Academics

AI-Powered learning for Grades 8–12, aligned with major Indian and international curricula.

Academics
Professionals

Professional Courses

Industry-relevant training in Business, Technology, and Design to help professionals and graduates upskill for real-world careers.

Professional Courses
Games

Interactive Games

Fun, engaging games to boost memory, math fluency, typing speed, and English skillsβ€”perfect for learners of all ages.

games

Practice Questions

Test your understanding with targeted questions related to the topic.

Question 1

Easy

What does System.out.println() do?

πŸ’‘ Hint: Think about the difference between print and println.

Question 2

Easy

How would you print 'Hello' and 'World' on the same line?

πŸ’‘ Hint: Remember print keeps them together.

Practice 4 more questions and get performance evaluation

Interactive Quizzes

Engage in quick quizzes to reinforce what you've learned and check your comprehension.

Question 1

What function does System.out.print() perform?

  • A) Outputs text with newline
  • B) Outputs text without newline
  • C) Outputs formatted text

πŸ’‘ Hint: Think about whether the current line stays or moves.

Question 2

System.out.printf() is primarily used for?

  • A) Standard output
  • B) Formatted output
  • C) Error handling

πŸ’‘ Hint: Recall the formatting needs discussed.

Solve 2 more questions and get performance evaluation

Challenge Problems

Push your limits with challenges.

Question 1

Create a small program that prompts the user for their first and last name, then outputs 'Hello, [First Name] [Last Name]!' using both print and println to separate parts correctly.

πŸ’‘ Hint: Make sure to utilize both print and println to format your output correctly.

Question 2

Using printf, create a program that calculates and outputs the average of three numbers rounded to two decimal places.

πŸ’‘ Hint: Remember to handle the rounding within your printf statement.

Challenge and get performance evaluation