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

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

12th Grade

59 Qs

quiz-placeholder

Similar activities

ICT SPM : LA4 (Multimedia)

ICT SPM : LA4 (Multimedia)

10th - 12th Grade

54 Qs

2425_ÔN TẬP TIN HỌC 9

2425_ÔN TẬP TIN HỌC 9

9th Grade - University

54 Qs

#2 CIW Data Analyst - Certification Prep

#2 CIW Data Analyst - Certification Prep

9th Grade - University

54 Qs

Week 12 - Even More Lists

Week 12 - Even More Lists

9th - 12th Grade

58 Qs

CBT - Revision # 3

CBT - Revision # 3

12th Grade - University

54 Qs

CSD Unit 3 Review

CSD Unit 3 Review

9th - 12th Grade

60 Qs

Domain 2 Test RETAKE

Domain 2 Test RETAKE

9th - 12th Grade

57 Qs

INFORMATICA II- SEGUNDO PARCIAL-2023 A

INFORMATICA II- SEGUNDO PARCIAL-2023 A

12th Grade

54 Qs

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

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

Assessment

Quiz

Computers

12th Grade

Practice Problem

Easy

Created by

Sỹ Minh

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

59 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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?

Media Image
Media Image
Media Image

D. There is nothing to output

E. None of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

Media Image

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

Media Image

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

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?