Python and SQL Quiz

Python and SQL Quiz

12th Grade

25 Qs

quiz-placeholder

Similar activities

LE 300 Chp 3 Lesson 1--CN Quiz 3- AY 2018-2019

LE 300 Chp 3 Lesson 1--CN Quiz 3- AY 2018-2019

9th - 12th Grade

20 Qs

ICEV-Forensics-I-Final(Mr K)

ICEV-Forensics-I-Final(Mr K)

9th - 12th Grade

20 Qs

Accounting for Partnership Firms - Fundamentals

Accounting for Partnership Firms - Fundamentals

12th Grade

20 Qs

beyblade quiz

beyblade quiz

11th - 12th Grade

20 Qs

OIL FOWAG PERTEMUAN II

OIL FOWAG PERTEMUAN II

12th Grade

20 Qs

YouTuber trivia (2021)

YouTuber trivia (2021)

KG - Professional Development

20 Qs

Vocabulary questions - Test review collection

Vocabulary questions - Test review collection

10th - 12th Grade

20 Qs

BF05: 3.05-3.07 Review Questions

BF05: 3.05-3.07 Review Questions

9th - 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

Access all questions and much more by creating a free account

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?