Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

Computer Science – Class 12 - Question Paper

Beoordeling
-
Verkocht
-
Pagina's
9
Cijfer
A+
Geüpload op
09-09-2024
Geschreven in
2024/2025

Computer Science – Class 12 - Question Paper – Multiple Choice Questions and Subjective Questions – 35 Questions – 1 2 3 4 & 5 marks Questions - 9 Pages – Helpful for Students appearing Board Examination and Teachers

Instelling
Vak

Voorbeeld van de inhoud

CLASS : XII (SET – 3) TIME ALOTTED : 3HRS
SUBJECT :COMPUTER SCIENCE (083) MAXIMUM MARKS : 70


General instructions:
• This question paper contains five sections, Section A to E.
• All questions are compulsory.
• Section A have 18 questions carrying 01 mark each.
• Section B has 07 Very Short Answer type questions carrying 02 marks each.
• Section C has 05 Short Answer type questions carrying 03 marks each.
• Section D has 03 Long Answer type questions carrying marks 05 each.
• Section E has 02 questions carrying 04 marks each. One internal choice is given in Q34
against part C only.
• All programming questions are to be answered using Python Language only.
SECTION – A
1. say true or false : [1]
“ A dictonary key must be of a data type that is mutable


2. Which of the following statements is True? [1]
a) There can be only one Foreign Key in a table.
b) There can be only one Unique key is a table
c) There can be only one Primary Key in a Table
d) A table must have a Primary Key.
3. The correct syntax of seek()is: [1]
(a) file_object.seek(offset [, reference_point]) (b) seek(offset [,reference_point])
(c) seek(offset, file_object) (d)seek.file_object(offset)

4. What will be the output of the following python expression?print(2**3**2) [1]
a) 64 b) 256 c) 512 d) 32

5. The statement which is used to get the numbers of rows fetched by execute() method of
cursor [1]
a)cursor.rowcount b) cursor.rowcount() c)cursor.allrows() d) cursor.countrows()

6. is a non-key attribute, whose values are derived from the primary key of some other
table. [1]
(A) Primary Key (B) Candidate Key (C) Foreign Key (D) Alternate Key

7. The SELECT statement when combined with clause, returns records without
repetition. [1]
(A) DISTINCT (B) DESCRIBE (C) UNIQUE (D) NULL

08.which statement in SQL allows to change the definition of the table is [1]
a) alter b) update c)create d) select

, 9. Which functions is used to close a file in python? [1]
(A) close (B) cloose() (C) Close() (D) close()


10. Which of the following is not a valid python operator? [1]
a) % b) in c) # d) **
11. Select the correct output of the following python Code: [1]
str="My program is program for you"
t = str.partition("program")
print(t)
a) ('My ', 'program', ' is ', 'program', ' for you')
b) ('My ', 'program', ' is program for you')
c) ('My ', ' is program for you')
d) ('My ', ' is ', ' for you')

12. Which of the following is used to receive emails over Internet? [1]
a) a) SMTP b) POP3 c) PPP d) VoIP 8.

13. protocol provides access to command line interface on a remote computer.
b) (a) FTP (b) PPP (c) Telnet (d) SMTP [1]

14. Which of the following is not a legal method for fetching records from a database from
within aPython program? [1]
(a) fetchone() b)fetchtwo() (c) fetchall() (d) fetchmany()

15. What will the following code do? [1]

dict={"Exam":"AISSCE", "Year":2022}
dict.update({"Year”:2023})
a.It will create new dictionary dict={” Year”:2023}and old dictionary will be deleted
b. It will throw an error and dictionary cannot updated
c. It will make the content of dictionary as dict={"Exam":"AISSCE","Year":2023}
d. It will throw an error and dictionary and do nothing

16. Q16 and 17 are ASSERTION AND REASONING based questions. Mark the correct
choice as [1]
(a) Both A and R are true and R is the correct explanation for A
(b) Both A and R are true and R is not the correct explanation for A
(c) A is True but R is False (d) A is false but R is True

16. Assertion (A):- If the arguments in a function call statement match the number and order
of arguments as defined in the function definition, such arguments are called positional
arguments.
Reasoning (R):- During a function call, the argument list first contains default argument(s)
followed by positional argument(s).

17. Assertion (A): CSV (Comma Separated Values) is a file format for data storage which
looks like atext file.
Reason (R): The information is organized with one record on each line and each field is
separatedby comma

18. Consider the given expression: not ((True and False) or True) [1]
Which of the following will be correct output if the given expression is evaluated?
(A) True (B) False (C) NONE (D) NULL

Geschreven voor

Instelling
Middelbare school
School jaar
5

Documentinformatie

Geüpload op
9 september 2024
Aantal pagina's
9
Geschreven in
2024/2025
Type
Tentamen (uitwerkingen)
Bevat
Alleen vragen

Onderwerpen

€3,05
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper
Seller avatar
kbzone

Maak kennis met de verkoper

Seller avatar
kbzone ICSE
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
-
Lid sinds
3 jaar
Aantal volgers
0
Documenten
284
Laatst verkocht
-
Notes On All Subjects

A Store where Notes, Presentations, Questions & Answers, Classnotes, Study mqaterials and Studyguides are available at a very nominal preice. The notes are very useful for both the Students and Teachers.

0,0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen