Kit Library

🎯 Exam Preparation Kit

OOP-I Exam Preparation

English 25 leveled MCQs Free

Shared by a Veda learner · Generated with Veda AI

📖 Smart notes

What you'll study, topic by topic

1

OOP-I Exam Preparation

❓ Solved paper preview

Sample questions with model answers

Every question in the paper gets a full exam-length answer in the app — organised by marks, the way a topper writes it.

7 marks Long answer

Write a java program to sum first n natural numbers.

Show answer outline

Use a loop to iterate from 1 to n and sum the numbers.

The full exam-length answer is in the app.

7 marks Long answer

With the help of example explain use of break and continue in java.

Show answer outline

Break exits the loop; Continue skips the current iteration.

The full exam-length answer is in the app.

7 marks Long answer

Write a code segment to get input from keyboard in java. Import all necessary packages.

Show answer outline

Use Scanner class from java.util package.

The full exam-length answer is in the app.

7 marks Long answer

Write a java program for adding two 2x2 matrix.

Show answer outline

Use nested loops to sum corresponding elements.

The full exam-length answer is in the app.

Study it properly — free, in the app

The full Veda Bites deck, complete notes, spaced-repetition flashcards, leveled MCQs, tests and games for this kit — plus Daily Facts and the Arena, every day.