Getting Started with EduBlocks Python Basics

  • Grade 6th
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 Alfredhook3
A
Alfredhook3
Community Contributor
Quizzes Created: 4574 | Total Attempts: 3,098,089
| Questions: 15 | Updated: Aug 22, 2026
Please wait...
Question 1 / 15
🏆 Rank #--
0 %
0/100
Score 0/100

1. What is the output of print(10 + 3) in Python/EduBlocks?

Explanation

In Python, the expression `10 + 3` performs a simple arithmetic addition. The numbers 10 and 3 are added together, resulting in 13. Therefore, when the `print()` function is called with this expression, it outputs the sum, which is 13. This demonstrates basic addition in Python programming.

Submit
Please wait...
About This Quiz
Getting Started With Edublocks Python Basics - Quiz

This assessment focuses on fundamental concepts in Python programming, covering arithmetic operations, user input, and data types. It helps learners solidify their understanding of essential Python skills, making it a valuable resource for anyone starting with EduBlocks. Enhance your coding proficiency with this targeted Python Basics assessment.

2. What is the output of print(10 * 3) in EduBlocks?

Explanation

In EduBlocks, the expression `10 * 3` performs multiplication. The operator `*` signifies that the two numbers, 10 and 3, should be multiplied together. When you multiply 10 by 3, the result is 30. Therefore, the output of the print statement will display this result.

Submit

3. What is the output of print(10 ** 3) in EduBlocks?

Explanation

In EduBlocks, the expression `10 ** 3` represents exponentiation, where 10 is raised to the power of 3. This means multiplying 10 by itself three times: 10 × 10 × 10. The calculation results in 1000, as 10 multiplied by itself three times equals 1000. Thus, the output of the print statement is 1000.

Submit

4. What is the output of print(10 % 3) in EduBlocks?

Explanation

In Python, the modulus operator (%) returns the remainder of a division operation. When calculating 10 % 3, we divide 10 by 3, which goes 3 times (3 x 3 = 9) with a remainder of 1. Therefore, the output of print(10 % 3) in EduBlocks is 1, as it represents the remainder of the division.

Submit

5. Which function is used to take input from the user in EduBlocks/Python?

Explanation

In EduBlocks/Python, the `input()` function is specifically designed to take input from the user. When called, it pauses the program's execution and waits for the user to enter data via the keyboard. Once the user submits their input, the function captures it as a string, which can then be used in the program for various purposes, such as calculations or decision-making. Other options like `print()` are used for output, while `scan()` and `read()` are not standard Python functions for user input.

Submit

6. What does int(input()) do in Python/EduBlocks?

Explanation

In Python, `input()` prompts the user for input, which is captured as a string. When wrapped with `int()`, it converts that string input into an integer type. This is useful for ensuring that numerical data can be processed mathematically. If the input string cannot be converted to an integer (for example, if it contains non-numeric characters), a ValueError will be raised. Thus, this combination allows for user input to be safely transformed into a format suitable for numerical operations.

Submit

7. Which of the following is the correct output of: a=5, b=6, c=a+b, print(c)?

Explanation

In the given code, variables are assigned values: `a` is set to 5 and `b` to 6. The expression `c=a+b` calculates the sum of `a` and `b`, which is 11. When the `print(c)` function is called, it outputs the value of `c`, which is 11. Therefore, the correct output of the operation is 11. The reference to `c` indicates that the variable is being printed, but the actual output is the numerical value, which is 11.

Submit

8. Which operator is used for floor division in Python/EduBlocks?

Explanation

In Python and EduBlocks, the operator for floor division is `//`. This operator divides two numbers and returns the largest integer less than or equal to the result. Unlike regular division, which may produce a floating-point number, floor division ensures that the output is always an integer by discarding any fractional part. For example, `5 // 2` results in `2`, as it rounds down to the nearest whole number. This operator is particularly useful when working with integer values where the exact whole number result is required.

Submit

9. What data type does the input() function return by default in Python?

Explanation

The input() function in Python reads user input as a string by default. This means that regardless of what the user types, the output will always be in string format. If numeric input is needed, it must be explicitly converted using functions like int() or float(). This design allows for flexibility in handling different types of data, as strings can easily be processed or converted as required.

Submit

10. Which block in EduBlocks is used to display output on the screen?

Explanation

The `print()` block in EduBlocks is specifically designed to output text or values to the screen. It allows users to display messages, variables, or results of calculations, making it essential for debugging and providing feedback in programming. Other options like `input()` are used for receiving user input, while `show()` and `display()` are not standard functions for output in this context. Thus, `print()` is the correct choice for displaying output.

Submit

11. What is the output of print("15+3") in EduBlocks?

Explanation

In EduBlocks, the print function outputs the exact string provided within the quotes. Since "15+3" is enclosed in quotation marks, it is treated as a literal string rather than an expression to be evaluated. Therefore, the output will be the string itself, which is "15+3", rather than performing any arithmetic operation.

Submit

12. Match the Python operators with their correct operations.

Submit

13. In EduBlocks, which conversion block would you use to convert the string '25' into a number for calculation?

Explanation

To convert the string '25' into a number for calculation in EduBlocks, the int() function is used. This function takes a string representation of an integer and converts it into an actual integer type, allowing for mathematical operations. While float() could also be used for decimal conversions, int() is specifically designed for whole numbers, making it the appropriate choice in this scenario.

Submit

14. The EduBlocks editor has a blocks panel on the left and a _____ panel on the right where Python code is shown.

Explanation

The EduBlocks editor is designed to help users learn programming by providing a visual interface. On the left side, the blocks panel allows users to drag and drop coding blocks to create programs visually. On the right side, the corresponding Python code is displayed, allowing users to see the actual code that corresponds to the blocks they have used. This dual-panel setup enhances understanding by linking visual programming concepts with traditional coding syntax, making it easier for beginners to grasp programming fundamentals.

Submit

15. In EduBlocks, the print() block belongs to the Output category of blocks.

Explanation

In EduBlocks, the print() block is designed to display output, making it part of the Output category. This block allows users to send messages or results to the screen, which is a fundamental aspect of programming for providing feedback or information to the user. By categorizing it under Output, EduBlocks helps users easily locate and utilize blocks that serve the purpose of displaying data or results in their coding projects.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (15)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
What is the output of print(10 + 3) in Python/EduBlocks?
What is the output of print(10 * 3) in EduBlocks?
What is the output of print(10 ** 3) in EduBlocks?
What is the output of print(10 % 3) in EduBlocks?
Which function is used to take input from the user in...
What does int(input()) do in Python/EduBlocks?
Which of the following is the correct output of: a=5, b=6, c=a+b,...
Which operator is used for floor division in Python/EduBlocks?
What data type does the input() function return by default in Python?
Which block in EduBlocks is used to display output on the screen?
What is the output of print("15+3") in EduBlocks?
Match the Python operators with their correct operations.
In EduBlocks, which conversion block would you use to convert the...
The EduBlocks editor has a blocks panel on the left and a _____ panel...
In EduBlocks, the print() block belongs to the Output category of...
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!