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

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Priyahg Dharshini
P
Priyahg Dharshini
Community Contributor
Quizzes Created: 1 | Total Attempts: 263
| Attempts: 263
SettingsSettings
Please wait...
  • 1/10 Questions

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

    • String
    • Int
    • Float
    • None
Please wait...
About This Quiz

This quiz for Grade 11 at Delta English School focuses on Python programming, covering topics like data types, CPU architecture, operating systems, and numeric systems.

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

Quiz Preview

  • 2. 

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

    • 5,17

    • 17,5

    • 16,4

    • 4,16

    Correct Answer
    A. 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

    • CU

    • Registers

    • ALU

    • Memory

    Correct Answer
    A. 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 

    • PROM

    • Application

    • Operating System

    • RAM

    Correct Answer
    A. 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

    • Binary

    • Unary

    • Shift

    • Ternary

    Correct Answer
    A. 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

    • Expressions

    • Statements

    • Functions

    • 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 (Updated): Sep 23, 2024 +

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.