0% found this document useful (0 votes)
93 views12 pages

AS - Computer STD 8 Revision - QBank - Term 1 (24-25)

The document is a revision question bank for Std 8 Computer Studies covering topics such as Java programming, spreadsheet features, and Tinkercad. It includes multiple-choice questions, programming exercises, and explanations related to coding concepts and software functionalities. The questions assess students' understanding of programming languages, data types, and design tools.

Uploaded by

dr.sheetalpawar3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
93 views12 pages

AS - Computer STD 8 Revision - QBank - Term 1 (24-25)

The document is a revision question bank for Std 8 Computer Studies covering topics such as Java programming, spreadsheet features, and Tinkercad. It includes multiple-choice questions, programming exercises, and explanations related to coding concepts and software functionalities. The questions assess students' understanding of programming languages, data types, and design tools.

Uploaded by

dr.sheetalpawar3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

PODAR INTERNATIONAL SCHOOL (ICSE)

Revision Question Bank (2024-25)


Std:8 Topic : Program Coding Subject:
Computer
Studies
1
Java is a _______________ programming language

(a) block-based (b) visual-based


(c) class-based (d) object-oriented

2 In Java, every variable has a _____________ that specifies the type of value that
can be stored in it.
(a) keyword (b) data type (c) separator (d) identifier
3 In Java, the first letter of a _____________ name is kept in uppercase as a
convention.
(a) method (b) function (c) statement (d) class
4 In Java, every class definition is enclosed within _______________.
(a) ( ) (b) { } (c) // d) /*
5 What will be the output of the following program if the user enters the number
89?
class PositiveNegative {
public static void main(int num) {
if (num > 0)
System.out.println("Number is positive.");
else
System.out.println("Number is negative"); } }
(a) Number is positive
(b) Number is negative
(c) Number is positive and negative
(d) Error
6 In Java, you will use the _______ conditional statement to execute statements
only when a condition is true.
(a) if-else (b) if-else if (c) if (d) else
7 The quantities that remain fixed throughout the program are called ____________
in Java.
(a) separators (b) operators (c) data type (e)literals
8 Identify the rule that does not apply to writing a Java program.
(a) Java is a case-sensitive language.
(b) Every executable statement in Java should end with a colon(:).
(c) Every executable statement in Java should end with a colon(:).
(d) The class name must be the same as the program file name.
9 What will be the output of the following program in Java?
public class Name {
public static void main (String args[]) {
System.out.println(“Komal” + “Kaur”); }}
(a) Komal Kaur (b) KomalKaur (c) Kaur Komal (d) Komal
10 Which of the following integer types are supported by Java?
(a) byte ( b) short (c) long (d) all of these
11 Which generation of programming languages focuses on reducing the
development and maintenance of programs and often involves user interaction
with utility software.
(a) First Generation (b) Second Generation
© Third Generation (d) Fourth Generation
12 You are writing a Java Program to print the full name by joining the first name,
middle name and surname. Which operator will you use for this task?
(a) = ( b) == (c) / (d) +
13 In JAVA, the quantity remain fixed throughout the program are called ________.
(a) Separators ( b) literals(c) Datatypes (d) operators
14 Look at the following program written in Java. Explain the functions of Line 1
and Line 2.
public class ComputerGeeks ---------- (1)
{ public static void main (String args [ ] )
{ System.out.println (“Geeks World!!!”);------- (2)
} }
public class ComputerGeeks .In Java, everything is placed inside a class.
ComputerGeeks is an identifier that specifies the name of the class.
System.out.println (“Geeks World!!!”); It displays the output on the
screen
15 Identify the errors in the following Java program. Rewrite the correct program
and underline the corrected statements.
public class addition
{
public static void main (String args[])
{
char a = 10;
int b = 10;
int sum;
sum = a+b
System.out.println(Addition of a & b is “ +sum);
}
}
Ans:
// Program to add two numbers
public class addition
{
public static void main (String args[])
int a = 10;
int b = 10;
int sum;
sum = a+b;
System.out.println(Addition of a & b is “ +sum);
16 Write a program that accepts marks from the user and then displays the
corresponding grades according to the following criteria.
marks<50 – Fail
marks>=50 and marks<60 – Grade D
marks>=60 and marks<70 – Grade C
marks>=70 and marks<80 – Grade B
marks>=80 and marks<90 – Grade A
marks>=90 and marks<100 – Grade A+
public class Grades
{
public static void main (int marks)
{if (marks < 50)
{ System.out.println ("Fail"); }
else if (marks>=50)
{ System.out.println ("Grade D"); }
else if (marks>=60)
{ System.out.println ("Grade C"); }
else if (marks>=70)
{ System.out.println ("Grade B"); }
else if (marks>=80)
{ System.out.println ("Grade A"); }
else if (marks>=90 && marks<100)
{ System.out.println ("Grade A+"); }
else
{ System.out.println("Try Again!"); }
}
}

17 Write a program in Java to display whether a number is greater than 20, equal
to 20 or less than 20 using ‘if-else if’ statement.
public class Number
{
public static void main(int a)
{
System.out.println("Entered Number is:" +a);
if(a>20)
System.out.println("Number is greater than 20");
else if(a==20)
System.out.println("Number is equal to 20");
else
System.out.println("Number is smaller than 20");
}
}

18 Identify the appropriate data type used for a variable to store the following
data in Java.
(a) -89.78
Ans. FLoating point
(b) Male/Female
Ans. Boolean
(c) Apple and Banana
Ans. String
(d) #
Ans.Character

19 The _____________________ method is the point where execution begins in a Java


program. (Main)

20 A __________________is like a container that stores a data value in it. variable


21 Literals are the reserved words used in programming. False

22 Identify the valid/invalid identifiers. Justify your answers.


Ans: area1.34 – Invalid (It has decimal in between)
12giga – Invalid (It starts with number)
-measure1 - valid
first_number - valid
kite-02 - valid
extends – invalid (It is a reserved keyword)
23 What are data types? Explain any one data type.
Data types are used to define the type of variable before its
use. It specifies which type of data the variable can store.
Integer Type – It can hold only whole numbers. Java supports
four types of integers: byte, short, int and long.
24 Write down the java statement to create a variable ‘length’ to store a non
decimal value as the length of the rectangle.
Ans. int length

25 Why is it important to specifythe data type of a variable while declaring it?


Ans. The data type must be specified while declaring the variable so that
the compiler knows the memory space required for storing this value.

Topic 4. Spreadsheet -Advanced Features

1 A cell reference can be made absolute by prefixing the __________ symbol on


the cell address.
(a) # (b) & (c) = (d) $
2 In OpenOffice Calc, the ____________ displays the name of the active cell.
(a) input line (b) name box (c) function box (d) title bar
3 Which of the given cell references is an example of a relative reference?
(a) $A$2 (b) A2 (c) A$2 (d) all of these
4 Which of the following represents the three sections of data validation in the
Validity dialog box in Calc?
(a) Criteria, Input Help, Error Alert (b) Settings, Input Help, Error Alert
(c) Data, Data Validation, Error Alert (d) Row, Cell, Column
5 Which function in Open Office Calc is used to search for a value in the first row
of a table and return a corresponding value from another row?
(a) VLOOKUP (b)HLOOKUP (c)SUMIF (d) COUNTIF
6 In OpenOffice Calc, you can use ____________ in formulas for performing
calculation.
(a) cell name (b) cell address (c) both a) and b) (d) none of these
7 Identify the cell reference used in the following pic

Ans: relative cell reference


8 Explain the use of following function
=COUNTIF(C2:C12 ; 7)

Ans: Counts the number of cells in the range C2 to C12 that contain the
number 7.
9 Write the function name used in the following example.

Ans: Nested if function


10 Differentiate between HLOOKUP and VLOOKUP.
Ans. HLOOKUP : It is used when the values that you want to compare your
data with are stored in a single row.
VLOOKUP: It is used when the values that you want to compare your data
with are in a single column.
11 Look at the scores of the students given in the table

Write a formula to find the


result for Riju based on the
given conditions:
>If the score is greater than or equal to 450, the result should be “Distinction”
>If the score is less than 450 but greater than or equal to 400, the result
should be “First”
>If the score is less than 400, the result should be “Second”

Ans. =IF(B2>450;”Distinction”;IF(B2>=400;”First”;”Second”))
12.

13 Which cell referencing will you use when you have to copy and paste the
formula?
Ans Relative Cell referencing

Revision Question Bank (2024-25)


Std:8 Topic: Tinkercad Sub: Computer Studies

Q.I Select the correct option.

1) A component of Tinkercad that contains shapes, whose properties can be


changed to get different forms.
a. Fillets b. curved surface
c. chamfers d. shape generator
You can change the shape in image 1 to that in image 2 by dragging
2) the points shown. What are these points called?

a. reshape handles b. bezier handles


c. scaling points d. extrusion points
3) In Tinkercad, the grid that allows you to change your custom shape by
dragging the control points is known as the ________________.
a. sketch window b. (b) snap window
c. bezier handles d. (d) center points
4) Which shape is used to create the thread in the container and lid for
the following objects designed in Tinkercad.

a. Cylinder b. curved surface


c. ISO metric thread d. gear
5) Observe the shape “fidget spinner” added to the workplane along with
its properties and answer the following question.

Which property will change the fidget spinner as shown below?

Original shape Changed shape


a. Rotate arms b. Center Bearing Hole
Diameter
c. Arm adjust vertical d. Join Arms at
Center Points
6) Look at the following candle stand designed in Tinkercad and answer
the following question.

Which shape generator is used to make the pattern shown in the


above image?
a. Voronoi b. ring
c. s wall d. cylinder
7) When an object is added to the workplane using codeblocks, the X, Y
and Z value of the centre of the object is ________
a. -22 b. -1
c. 1 d. 0
8) Which programming language is used to create a new object under
shape generators?
a. HTML b. Java script
c. C++ d. Python
9) In designing and machining, a _______________ refers to a sloped or
angled corner or edge of an object.
a. Fillets b. chamfer
c. code blocks d. gear
10) In Tinkercad, Extrusion, Ring, Voronoi, Metric gear, ISO metric thread
and Image Generator are examples of ___________________.
(a) Characters (b) Basic shapes
(c) Circuit assemblies (d) Shape generators
11) Observe the following code to design an object. Which image
represents the object created after executing this code?
a)
b)

c) d)

12) Which option can be used to get the following shape from a box?

a) edge b) chamfer

c) fillet d) custom shape


13) Floating, Level, Level Height, Level Depth and Level Width are properties
of the ____________ shape in Tinkercad.
a) metric gear b) gear
c) stairs d) cone metric gear
14) Identify the following design:
a) scale b) quatrefoil

c) create new object d) rotate around


15) Which property of custom shape Gear shown by image 1 will change its
shape to that shown by Image 2?
Image 1 Image 2

a) Inner Radius b) Outer Radius

c) Number of Teeth d) Height of Teeth

Q.II Answer the following question:

Name 2 shapes in shape generator.


1.
Ans Extrusion, Ring, Voronoi, Metric gear, ISO metric thread, Image
Generator
(any two)
2.
Identify the shapes. Write the difference between them.

Ans Campher Fillet

3. Write use of Bezier handle.

Ans create smoother curvatures, convert the curve into a point,


control the Height and Diameter

4. Name the property used for adding teeth to gear .

Ans No.of teeth


5. Write use of code block.

Ans. It allows the creation of 3D designs using visual programming.


6. Which Programming Language is used to create a new object under
shape generator
Ans. Java Script
7. What happens when you drag the Bezier handles away from the
central point?
Ans You can create smoother curves.

You might also like