MTA 98-381 Quiz

MTA 98-381 Quiz

8th Grade

10 Qs

quiz-placeholder

Similar activities

All About Credit

All About Credit

7th - 8th Grade

10 Qs

BHS General Knowledge Test Quiz

BHS General Knowledge Test Quiz

8th - 12th Grade

10 Qs

MAPEH 8 - MUSIC QUIZ

MAPEH 8 - MUSIC QUIZ

8th Grade

10 Qs

SYNCHRONOUS VS ASYNCHRONOUS

SYNCHRONOUS VS ASYNCHRONOUS

8th Grade

10 Qs

Identifying carpentry tools and materials

Identifying carpentry tools and materials

8th Grade

10 Qs

QUIZ 1 - RIZAL

QUIZ 1 - RIZAL

KG - Professional Development

10 Qs

Do You Really Know ME?

Do You Really Know ME?

5th Grade - University

13 Qs

Who Wants To Be A Millionaire

Who Wants To Be A Millionaire

1st Grade - University

15 Qs

MTA 98-381 Quiz

MTA 98-381 Quiz

Assessment

Quiz

Other

8th Grade

Medium

Created by

John Khoury

Used 1+ times

FREE Resource

AI

Enhance your content

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Python?

Python is a database management system used for storing and retrieving data.

Python is a markup language used for creating web pages.

Python is a high-level programming language known for its simplicity and readability.

Python is a low-level programming language used for system programming.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a data type in Python?

int

str

list

bool

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax for error handling in Python?

try: except ExceptionType:

try: except:

try: except ErrorType:

try: # code that may raise an exception except ExceptionType: # code to handle the exception

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code? x = 5 y = '10' print(x + y)

510

TypeError

TypeError: unsupported operand type(s) for +: 'int' and 'str'

SyntaxError: invalid syntax

15

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a valid data type in Python?

string

boolean

integer

character

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to handle an exception in Python?

Using if-else statements.

Using for loops.

Using switch statements.

Using try-except blocks

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code? x = 'Hello' print(x[2:])

llo

lo

ell

llo

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?