Number related program

✔Question 1: Write a program in Java to enter a 2-digit number and find out its first factor excluding 1. The program then finds the second factor when the number is divided by the first factor.Use a function void fact(int n) to accept the number and find the factors of the number.Example:If input = 21, … Read more

Python Basics Made Easy: Simple Programs with Clear Explanations for Beginners

basics python

Python is a high-level, interpreted programming language known for its simplicity and readability. It is widely used for: Key Features: Python was created by Guido van Rossum and first released in 1991. Here are some Python programs: 1. Write a program to accept 2 numbers from the user and print their sum. output: Explanation: a … Read more

Word Processor: Tabular Presentation

Word Processor: Tabular Presentation

Here are some MCQs from this chapter. 1. What is a table? a) A list of bullet pointsb) A grid of rows and columns forming cellsc) A paragraph with bordersd) A single cell with text 2. The lines marking cell boundaries are called: a) Bordersb) Gridlinesc) Marginsd) Dividers 3. Which tab is used to insert … Read more

HW OF NEXT CLASS

Write the following programs in QBASIC: 1.Reema visited a book fair with ₹1,000. She bought 2 storybooks costing ₹175 each and 3 activity books costing ₹120 each. She also bought a diary for ₹90.How much money did she spend in total, and how much money is left with her after all the purchases? 2.A school … Read more

Saturday class 6(solution)

Question paper                                                                CLASS-6 (SATURDAY)                                                                                                                                  GROUP-A FM:80                                                                                                      TIME:1H 45 M              Choose the correct answer: 10×1=10 1.What replaced vacuum tubes in the second generation of computers? a) Integrated Circuits b) Transistors c) Microprocessors d) Artificial Intelligence 2.Which of the following is an example of a first-generation computer? a) IBM 360 b) ENIAC c) UNIVAC … Read more