Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

Python (Tuples + Dictionary), SQL Assignment

Rating
-
Sold
-
Pages
3
Grade
A+
Uploaded on
25-12-2025
Written in
2023/2024

Computer Science assignment on python topics - Tuples and Dictionary, basic theory and commands in SQL (Structured Query Language)

Institution
Course

Content preview

1. What is the full form of SQL?
(a) Structured Query Language (b) Structured Query List
(c) Simple Query Language (d) Data Derivation Language

2. What does DML stand for?
(a) Different Mode Level (b) Data Model Language
(c) Data Mode Lane (d) Data Manipulation Language

3. The __________clause of SELECT query allows us to select only those rows in the results that satisfy a
specified condition.
(a) Where (b) from (c) having (d) like

4. Which of the following function is used to FIND the largest value from the given data in MYSQL?
(a) MAX () (b) MAXIMUM () (c) LARGEST () (d) BIG ()

5. The term ___________ is used to refer to a record in a table.
(a) Attribute (b) Tuple (c) Row (d) Instance

6. A relational database consists of a collection of
(a) Tables (b) Fields (c) Records (d) Keys

7. What is the full form of DDL?
(a) Dynamic Data Language (b) Detailed Data Language
(c) Data Definition Language (d) Data Derivation Language

8. Consider the following table namely employee:
Employee_i Nam Salar
d e y
5001 Amit 60000

5009 Sumi 45000
t
5020 Arpit 70000


Which of the names will not be displayed by the below given query?
SELECT name FROM employee WHERE employee_id>5009;
(a) Amit, Sumit (b) Sumit, Arpit (c) Arpit (d) Amit, Arpit

9. What will be the output
>>>d1={‘rohit’:56,”Raina”:99}
>>>print(“Raina” in d1)
i. True ii. False iii. No output iv. Error

10. >>>t=(1,2,3,4)
Write the statement that should be used to print the first three elements 3 times
i. >>>print(t*3) ii. >>>t*3 iii. >>>t[:3]*3 iv. >>>t+t

11. Which of the following will delete key-value pair for key=’red’ form a dictionary D1?
i. Delete D1(“red”) ii. del. D1(“red”) iii. del D1[“red”] iv. del D1

Written for

Institution
Secondary school
School year
4

Document information

Uploaded on
December 25, 2025
Number of pages
3
Written in
2023/2024
Type
Exam (elaborations)
Contains
Only questions

Subjects

Free
Get access to the full document:
Download

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
erleen

Get to know the seller

Seller avatar
erleen Amity University Punjab
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
6 months
Number of followers
0
Documents
4
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions