Pre tes dan Post test

Pre tes dan Post test

12th Grade

10 Qs

quiz-placeholder

Similar activities

Basic Python Coding

Basic Python Coding

11th - 12th Grade

15 Qs

Python Final Assessment

Python Final Assessment

4th - 12th Grade

10 Qs

Python File Handling

Python File Handling

12th Grade

15 Qs

Python Function

Python Function

11th - 12th Grade

11 Qs

file handling

file handling

12th Grade

12 Qs

CUET Level - II Computer Science(7/11/2023)

CUET Level - II Computer Science(7/11/2023)

12th Grade

15 Qs

Javascript

Javascript

10th - 12th Grade

15 Qs

Loops

Loops

9th - 12th Grade

10 Qs

Pre tes dan Post test

Pre tes dan Post test

Assessment

Quiz

Computers

12th Grade

Hard

Created by

nafsur rokhman

Used 18+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

What will be the result of the following code:
x = 'Welcome'
print(x[3])

Wel

c

Welcome Welcome Welcome

2.

FILL IN THE BLANK QUESTION

1 min • 10 pts

Use the len function to print the length of the string.

print ( )

3.

FILL IN THE BLANK QUESTION

1 min • 10 pts

Get the first character of the string txt.

txt = "Hello World"

x =

4.

FILL IN THE BLANK QUESTION

1 min • 10 pts

Insert the correct keyword to check if the word 'free' is present in the text:

txt = 'The best things in life are free!'
if 'free' txt:..............
  print('Yes, free is present in the text.')

5.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

What will be the result of the following code:
x = 'Welcome'
print(x[3:5])

lcome

come

com


co

6.

FILL IN THE BLANK QUESTION

1 min • 10 pts

Get the characters from index 2 to index 4 (llo).

txt = "Hello World"

x =

7.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

What will be the result of the following code:
x = 'Welcome'
print(x[3:])

lcome

come

com

co

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?