Python and SQL Quiz

Python and SQL Quiz

12th Grade

25 Qs

quiz-placeholder

Similar activities

Higher Admin Revision

Higher Admin Revision

11th - 12th Grade

20 Qs

Planning Your Financial Fut

Planning Your Financial Fut

10th - 12th Grade

20 Qs

Admin and IT Theory Nat 5

Admin and IT Theory Nat 5

11th - 12th Grade

21 Qs

PRACTICAL RESEARCH 2 QUIZ

PRACTICAL RESEARCH 2 QUIZ

12th Grade

20 Qs

N6 AIT - Benefits of Database Storage

N6 AIT - Benefits of Database Storage

12th Grade

20 Qs

Ujian Akhir Semester

Ujian Akhir Semester

12th Grade

20 Qs

Disney all time Triva

Disney all time Triva

KG - Professional Development

20 Qs

Diagnostic Test (HTML, CSS, Javascript)

Diagnostic Test (HTML, CSS, Javascript)

12th Grade

20 Qs

Python and SQL Quiz

Python and SQL Quiz

Assessment

Quiz

Other

12th Grade

Practice Problem

Hard

Created by

Snehal Jadhav

FREE Resource

AI

Enhance your content in a minute

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

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code? python CopyEdit import pandas as pd A = pd.Series(data=[35,45,55,40]) print(A == data)

True

False

[35,45,55,40]

Error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code? python CopyEdit s = pd.Series([1,2,3,4,5], index=['akram','brijesh','charu','deepika','era']) print(s['charu'])

1

2

3

4

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which clause is used to group result of an SQL query?

Order by

Group in

Groups by

Group by

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the correct code to print the shape of a Series S1. python CopyEdit S1 = pd.Series([5,6,7,8,10], index=['v','w','x','y','z'])

print(S1.shape())

print(S1.shape)

print(S1.values)

print(S1.size())

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which import statement is invalid in Python?

import pandas as CLASS12

import pandas as 1pd

import pandas as pd1

import pandas as pd

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Command to install pandas library using pip:

install pip pandas

install pandas

pip pandas

pip install pandas

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Purpose of the WHERE clause in SQL is to:

Create a table

Filter rows based on condition

Specify columns to display

Sort result

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

Already have an account?