Quiz In Python(Grade-11)-delta English School

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Priyahg Dharshini
P
Priyahg Dharshini
Community Contributor
Quizzes Created: 1 | Total Attempts: 219
Questions: 10 | Attempts: 219

SettingsSettingsSettings
Quiz In Python(Grade-11)-delta English School - Quiz

Quiz in Python-DELTA ENGLISH SCHOOL
GRADE -11(informatics Practices)


Questions and Answers
  • 1. 

    In print statement if you type the numeric value ,it automatically converts to ___________ data type

    • A.

      String

    • B.

      Int

    • C.

      Float

    • D.

      None

    Correct Answer
    A. String
    Explanation
    When a numeric value is typed in a print statement, it automatically converts to a string data type. This means that the numeric value is treated as a sequence of characters rather than a numerical value. This conversion allows the numeric value to be displayed as part of the output text in the print statement.

    Rate this question:

  • 2. 

    What will be the output ? x,y= 2,6 x,y,x=x+1,y+3,x+10 print(x,y)

    • A.

      5,17

    • B.

      17,5

    • C.

      16,4

    • D.

      4,16

    Correct Answer
    B. 17,5
    Explanation
    The output of the code will be 17, 5. This is because the values of x and y are initially assigned as 2 and 6 respectively. In the next line, the values of x and y are reassigned as x+1, y+3, and x+10. This means that x will be updated to 3, y will be updated to 9, and x will be updated again to 13. However, when we print the values of x and y, we are printing the values after the second reassignment, which are 13 and 9 respectively. Therefore, the output will be 17, 5.

    Rate this question:

  • 3. 

    ____________ are the small units of data holding places in CPU

    • A.

      CU

    • B.

      Registers

    • C.

      ALU

    • D.

      Memory

    Correct Answer
    B. Registers
    Explanation
    Registers are the small units of data holding places in the CPU. They are high-speed storage locations that store instructions, data, and intermediate results during the execution of a program. Registers are located within the CPU and are used to quickly access and manipulate data, making them essential for the efficient functioning of the processor. They are faster to access than memory, allowing for faster data processing and computation.

    Rate this question:

  • 4. 

    ___________ act as an intermediate between the user and the computer 

    • A.

      PROM

    • B.

      Application

    • C.

      Operating System

    • D.

      RAM

    Correct Answer
    C. Operating System
    Explanation
    An operating system acts as an intermediate between the user and the computer. It manages the computer's hardware and software resources, providing an interface for the user to interact with the computer. The operating system handles tasks such as managing files, running applications, and controlling input/output devices. It allows users to execute commands, access files, and perform various operations on the computer system, making it an essential component for user-computer interaction.

    Rate this question:

  • 5. 

    Name the pane is Spyder window:____________ pane

    Correct Answer
    Editor
    Explanation
    The correct answer is "Editor". In Spyder window, the pane that is being referred to is the one where the code is written and edited. This pane is commonly known as the "Editor" pane in Spyder. It is where users can write and modify their code before executing it.

    Rate this question:

  • 6. 

    ___________ system consists of 10 numerals in the number system

    Correct Answer
    decimal, Decimal
    Explanation
    The decimal system consists of 10 numerals (0, 1, 2, 3, 4, 5, 6, 7, 8, and 9) that are used to represent numbers. This system is widely used in everyday life and is based on the concept of place value, where the position of a digit determines its value.

    Rate this question:

  • 7. 

    ____________ operators requires only one operand to operate up on

    • A.

      Binary

    • B.

      Unary

    • C.

      Shift

    • D.

      Ternary

    Correct Answer
    B. Unary
    Explanation
    Unary operators require only one operand to operate upon. Unlike binary operators, which require two operands, unary operators perform operations on a single operand. Examples of unary operators include increment (++), decrement (--), logical negation (!), and bitwise complement (~). These operators are commonly used in programming languages to manipulate the value of a single variable or to perform logical or arithmetic operations on a single value.

    Rate this question:

  • 8. 

    __________ represents any legal combination of symbol that represents a value

    • A.

      Expressions

    • B.

      Statements

    • C.

      Functions

    • D.

      Blocks

    Correct Answer
    A. Expressions
    Explanation
    Expressions represent any legal combination of symbols that represents a value. In programming, expressions are used to perform calculations, evaluate conditions, or manipulate data. They can consist of variables, constants, operators, and function calls. Expressions can be used within statements or as standalone entities. They are an essential part of programming as they allow for the manipulation and transformation of data in order to achieve desired outcomes.

    Rate this question:

  • 9. 

    X=20 y=10 x,y=y,x print(x,y) result?

    Correct Answer
    10,20, 10 20
    Explanation
    The code assigns the value of y to x and the value of x to y using tuple packing and unpacking. Therefore, the value of x becomes 10 and the value of y becomes 20. The print statement then displays the values of x and y, resulting in the output 10,20.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Sep 23, 2024
    Quiz Edited by
    ProProfs Editorial Team
  • Jun 19, 2020
    Quiz Created by
    Priyahg Dharshini
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.