
Python and SQL Quiz

Quiz
•
Other
•
12th Grade
•
Hard
Snehal Jadhav
FREE Resource
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
Similar Resources on Wayground
23 questions
Nascar 2021

Quiz
•
KG - Professional Dev...
25 questions
Grade XII-IP Self Evaluation (Python Series)

Quiz
•
12th Grade
20 questions
Employment

Quiz
•
9th - 12th Grade
20 questions
Season 5 #Spaic Python Weekly Quiz

Quiz
•
KG - Professional Dev...
20 questions
Remedial Elektropneumatik kelas XII

Quiz
•
12th Grade
23 questions
The Ramayana quiz

Quiz
•
2nd - 12th Grade
27 questions
Career Research Vocabulary

Quiz
•
6th Grade - University
20 questions
Me

Quiz
•
4th Grade - University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Chaffey

Quiz
•
9th - 12th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
12 questions
Macromolecules

Lesson
•
9th - 12th Grade
12 questions
Classifying Polys - 1.1

Quiz
•
10th - 12th Grade
20 questions
1.1 (b) Add / Sub/ Multiply Polynomials

Quiz
•
12th Grade