100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Test (elaborations) computers $10.49   Add to cart

Exam (elaborations)

Test (elaborations) computers

 0 view  0 purchase
  • Course
  • Institution

Programming is a subject about understanding and thinking. My worksheet works upon Java programming on cases including switch cases, recursion and if else. The programs are specifically designed for the beginners so that they have a proper practice paper and be able to think properly and also help...

[Show more]

Preview 2 out of 8  pages

  • November 6, 2023
  • 8
  • 2023/2024
  • Exam (elaborations)
  • Only questions
  • Secondary school
  • Unknown
  • 4
avatar-seller
Computer programming test paper -
java programming


Switch case:
1> Write a program in java to check the marriageable
age of male and female in India.
2> Write a program in java to check the number of
students that have reached the teenager period in
the class.
3> Write a program in java to check the number of
students who failed in their exams.
4> Write a program in java to create a simple
calculator and also have a system to find out the
profit and loss of any goods automatically.
5> Write a program in java to write the day of a month
and mention the month names of a year.
6> Write a program to check whether the number is a
prime number or a composite number.
7> Write a program to find the days of a month
8> Write a program to menu driven program using
switch statement ( Find addition, subtraction,
multiplication and division of to integer numbers)
9> Write a number to check whether the number is
odd and even
10> Write a program to check the grades of the
students in their subjects that they got in their
exam and give remarks accordingly.

Recursion problems

, 1> Write a program in java to check the
Fibonacci series till N.
{ Fibonacci series means :
0,1,1,2,3,5,8………………………n}
2> Write a program in java to count the
digits of number using recursion.
3> Write the program in java to calculate
the power of a number using recursion
4> Write the program in java to covert
decimal to its octal equivalent using
recursion.
5> Write the program in java to calculate
the length of a string using recursion.
6> Write the program in java to calculate
the count total number of consonants
using recursion.
If and else questions :
1> Write a program in java to check
whether the number is palindrome
or not.
2> Write a program in java to check
whether the number is palprime or
not.

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller rohinishdebraikut. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $10.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

76800 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$10.49
  • (0)
  Add to cart