Chuyên đề 1. Các kiến thức cơ bản_Python

Quiz
•
Computers
•
12th Grade
•
Easy
Sỹ Minh
Used 5+ times
FREE Resource
59 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following Python script.
When you click on the file using a Windows file explorer, the script executes but you are unable to see the output. How would you fix that?
D. There is nothing to output
E. None of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
A. JamesJamesJamesJamesJamesJames
B. JamesJamesJamesJamesJames
C. JamesJamesJamesJames
D. JamesJamesJames
E. Error: invalid syntax
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4 is 100 in binary and 11 is 1011. What is the output of the following bitwise operators?
A. 15
1
B. 14
1
C. 11
4
D. 15
2
E. 14
2
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a correct syntax to output "Hello World" in Python?
A. echo("Hello World");
B. p("Hello World")
C. print("Hello World")
D. echo "Hello World"
E. None of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of “Hello”.upper().capitalize()?
A. “Hello”
B. “hello”
C. “HELLO”
D. Runtime Error
E. None of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the statement evaluates the same to the statement below?
A. print ( 2*27*4)
B. print ( 2*3*4)
C. print ( 2*3**4)
D. print ( 2*3*3*4)
E. None of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method can be used to replace parts of a string?
A. replaceString()
B. replace()
C. repl()
D. switch()
E. replaceStr()
Create a free account and access millions of resources
Similar Resources on Wayground
58 questions
Network Devices and Protocols Quiz

Quiz
•
12th Grade
62 questions
Tech Future of Tech

Quiz
•
12th Grade
54 questions
INFORMATICA II- SEGUNDO PARCIAL-2023 A

Quiz
•
12th Grade
55 questions
2021 SAMPLE PAPER 1 (TERM 1)

Quiz
•
11th - 12th Grade
62 questions
CSP CMU Unit 2 - Student Created Questions

Quiz
•
9th - 12th Grade
55 questions
Bài 6 - Bài 8

Quiz
•
12th Grade
64 questions
Lesson 5: Identifying the Default Gateway

Quiz
•
9th - 12th Grade
58 questions
Computer Software Quiz

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade