Class 9 Cyber Olympiad - Sample question paper 04

Posted by Olympiad Tester on


Q) Convertible laptops fall into the category of _____ laptops.

A. Analog

B. Hybrid

C. Stationary

D. Traditional

Answer: B. Hybrid

Explanation: Convertible laptops, also known as 2-in-1 laptops, are hybrid devices that can function both as a laptop and a tablet, combining features of both.

Q) Analyze the following Python code:


def find_average(numbers):
    total = sum(numbers)
    count = len(numbers)
    average = total / count
    return average

data = [12, 18, 24, 36, 42]
result = find_average(data)
print(result)
        

What will be the output of the above code?

A. 26.4

B. 30.4

C. 26

D. 30

Answer: A. 26.4

Explanation: The function find_average calculates the average of the numbers in the list [12, 18, 24, 36, 42], resulting in 26.4.

Q) Consider the following JavaScript code:


function calculateSquare(number) {
    return number * number;
}

var result = calculateSquare(5);
console.log(result);
        

What will be the output of the above code?

A. 10

B. 15

C. 20

D. 25

Answer: D. 25

Explanation: The function calculateSquare takes a number as input and returns its square. In this case, when calculateSquare(5) is called, it returns 25, which is then logged to the console.

Q) In programming, what does the term "concatenation" refer to?

A. The process of breaking down a program into smaller parts

B. Combining two or more strings into a single string

C. A method of debugging code

D. Creating a loop structure in a program

Answer: B. Combining two or more strings into a single string

Q) What is the purpose of the "if" statement in programming?

A. To define a function

B. To declare a variable

C. To control the flow of execution based on a condition

D. To print output to the console

Answer: C. To control the flow of execution based on a condition

Q) What is the primary purpose of using an array in programming?

A. Storing a single value

B. Organizing data in a structured way

C. Defining a loop structure

D. Performing mathematical calculations

Answer: B. Organizing data in a structured way

Q) Identify the following:

- It is a secondary storage device.

- It stores data by using pits embossed on its surface.

- It is available in two variants: single layer and double layer.

A. Hard disk

B. DVD

C. Flash drive

D. Cache

Answer: B. DVD

Explanation: DVDs are optical storage devices that use pits on their surface to store data. They come in two variants: single layer and double layer, making them a secondary storage option.

Q) What would be the output of the given HTML code?


<ol type="a" start="1">
    <li> computer </li>
    <ul type="circle">
        <li> micro </li> <li> super</li>
    </ul>
    <li> operating system </li>
    <ul type="disc">
        <li>Android</li> <li> Windows</li>
    </ul>
</ol>
        

A. a. computer
   ○ micro
   ○ super

b. operating system
   ● Android
   ● Windows

B. a. computer
   1. micro
   2. super
   3. operating system
   ● Android
   ● Windows

C. a. computer
   ○ micro
   ○ super
b. operating system
   ○ Android
   ○ Windows

D. a. computer
   ○ micro
   ○ super
b. operating system
   1. Android
   2. Windows

Answer: A. a. computer
   ○ micro
   ○ super
B. b. operating system
   ● Android
   ● Windows

Q) While working with text, select the text and go to ____________ to break the single text block into multiple text blocks to edit each character separately in Flash CS6.

A. Modify >> Break Apart

B. Modify >> Transform

C. Modify >> Transform Text

D. Modify >> Break Text

Answer: A. Modify >> Break Apart

Q) Identify the following with respect to MS-Word 2010:

– You can access this feature from ‘Save & Send’ option of ‘File’ tab.

– It creates an e-mail that contains a link to the current document if the document is saved in a shared location.

– Everyone can work on the same copy of the document with the latest changes.

A. Send Address

B. Send Location

C. Send Attachment

D. Send a Link

Answer: D. Send a Link

Explanation: In MS-Word 2010, the described feature is 'Send a Link,' which allows users to send an e-mail containing a link to the current document stored in a shared location, enabling collaborative editing.

Q) What would be the result of the given formula in MS-Excel 2010?

=POWER(PRODUCT(12,5,100),2)

A. 3600000

B. 360000

C. 36000

D. 36000000

Answer: D. 36000000

Explanation: The formula calculates the product of 12, 5, and 100 using the PRODUCT function, resulting in 6000. The POWER function then squares this value, giving a final result of 36,000,000.

Q) Which of the following options would replace P, Q, R, and S in the given diagram?

Class 9 Cyber Olympiad - Sample question paper 04 - HOT question

A. P - Library Programs, Q - Utility programs, R - Special purpose application software, S - Bespoke software

B. P - Bespoke software, Q - Utility programs, R - Library programs, S - Special software

C. P - Special purpose application software, Q - Utility programs, R - Library programs, S - Bespoke software

D. P - Special Purpose application software, Q - Bespoke software, R - Library functions, S - Utility programs

Answer:A. P - Library Programs, Q - Utility programs, R - Special purpose application software, S - Bespoke software

Q) Which of the following statements holds true about Blu-ray discs?

Statement 1: It is a magnetic disc storage media.

Statement 2: It refers to blue laser (specifically violet laser) used to read the disc.

A. Only Statement 1

B. Only Statement 2

C. Both Statement 1 and Statement 2

D. Neither Statement 1 nor Statement 2

Answer: B. Only Statement 2

Explanation: Blu-ray discs use a blue laser (specifically violet laser) for reading, not magnetic storage media.

Q) Which of the following statements holds true about TCP/IP protocol?

A. IP is responsible for addressing, sending, and receiving the data packets over the Internet.

B. TCP/IP defines how computers should be connected over the internet and how data should be transmitted between them.

C. Both Statement 1 and Statement 2

D. Neither Statement 1 nor Statement 2

Answer: C. Both Statement 1 and Statement 2

Q) Consider the following HTML and JavaScript code:

        
<html>
<head>
    <script>
        function greet(name) {
            alert('Hello, ' + name + '!');
        }
    </script>
</head>
<body>
    <button onclick="greet('Alice')">Greet Alice</button>
    <button onclick="greet('Bob')">Greet Bob</button>
</body>
</html>
        
    

What happens when the "Greet Alice" button is clicked?

A. An alert with "Hello, Alice!" is shown.

B. An alert with "Hello, Bob!" is shown.

C. Nothing happens.

D. The page reloads.

Answer: A. An alert with "Hello, Alice!" is shown.

Explanation: Clicking the "Greet Alice" button triggers the greet function with the argument 'Alice', showing an alert with "Hello, Alice!".


← Older Post Newer Post →

POST YOUR COMMENT

    1 out of ...
    Sale

    Unavailable

    Sold Out