Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
119 views
10 pages
Xii Cs em Public Exam Important Question 2023 2024
Uploaded by
м.ѕυяуαα X C 29
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save Xii Cs Em Public Exam Important Question 2023 2024 For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
119 views
10 pages
Xii Cs em Public Exam Important Question 2023 2024
Uploaded by
м.ѕυяуαα X C 29
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save Xii Cs Em Public Exam Important Question 2023 2024 For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save Xii Cs Em Public Exam Important Question 2023 2024 For Later
You are on page 1
/ 10
Search
Fullscreen
J. BASKARAN MSc,, B.E¢, Lecturer in Computer Science SPI ABEENE XII - COMPUTER SCIENCE PUBLIC EXAM IMPORTANT QUESTION 2028 - 2024 IMPORTANT 2 MARK QUESTION What is a subroutine? Define Function with respect to Programming language. Differentiate interface and implementation. What is abstract data type? What is a Pair? Give an example What is a Tuple? Give an example. What is a scope? What is Mapping? What is an Algorithm? What is searching? Write its types What are the different modes that can be used to test Python Program? . Write short notes on Tokens. List the control structures in Python. . Write note on break statement. Write note on range () in loop What are the main advantages of function? What is String? How will you delete a string in Python? . What is List in Python? |. Write the syntax of creating a Tuple with n number of elements. What is set in Python? What is data consistency? . Differentiate Unique and Primary Key constraint. Write the difference between table constraint and column constraint? What is CSV File? Mention the two ways to read a CSV file using Python. . What is the theoretical difference between Scripting language and other programming language? What is Data Visualization? IMPORTANT 3 MARK QUESTION Define Local scope with an example. List the characteristics of an algorithm. Write a note on Asymptotic notation. Write short notes on Arithmetic operator with examples. What are string literals? Explain. Write note on if..else structure. List the differences between break and continue statements. Write the rules of local variable. What is composition in functions? httpsificsknowledgeopener.com 1 ty Iw. youtube.com/clesknowledgeopenerJ. BASKARAN MSc,, B.E¢, Lecturer in Computer Science 10. lL. 12. 13. 14. 15. 16, 17, 18, 19. 17, 18, 19, 20. 21. 22, aeeene What are the difference between List and Dictionary? What are class members? How do you define it? What is the role of DBA? Write any three DDL commands. Write a SQL statement using DISTINCT keyword. What is the difference between the write mode and append mode. Differentiate PYTHON and C++ What is sys.argv? What does it contain? What is the use of Where Clause. Give a python statement Using the where clause. Write any three uses of data visualization IMPORTANT 5 MARK QUESTION What are called Parameters and write a note on (i) Parameter without Type (ii) Parameter with Type How will you facilitate data abstraction. Explain it with suitable example Explain the types of scopes for variable or LEGB rule with example. What is Binary search? Discuss with example. Explain the Bubble sort algorithm with example. Explain input() and print() functions with examples, Discuss in detail about Tokens in Python Write a detail note on for loop Explain the scope of variables with an example. . Explain about string operators in python with’ suitable example. What the different ways to insert an element in a list. Explain with suitable example. What is the purpose of range()? Explain with an example. | . Explain the different set operations supported by python with suitable example. Explain the characteristics of RDBMS. . Write the different types of constraints and their functions. ». Construct the following SQL statements in the student table- (1) SELECT statement using GROUP BY clause. (ii) SELECT statement using ORDER BY clause. Differentiate Excel file and CSV file. Write the different methods to read a File in Python. Write any 5 features of Python. Explain each word of the following command Python
-
Explain the purpose of the following functions: a. plt.xlabel b. pltylabel c. plisitle d. pltlegend() _e. pltshow() Write in brief about SQLite and the steps used to use it. EXTRA 2 MARK QUESTION Write the phases of performance evaluation of an algorithm. Write short notes on Exponent data? What is function? What is normalization? What is use of next() function? Write the expansion of (i) SWIG (ii) MinGW EXTRA 3 MARK QUESTION What is the side effect of impure function. Give example. httpsificsknowledgeopener.com 2 http:/www.youtube.comic/esknowledgeopenerJ. BASKARAN MSc,, B.E¢, Lecturer in Computer Science What are the different ways to access the elements of alist. Give example Why access control is required? What are the factors that influence time and space complexity. Explain Ternary operator with examples. Write short notes on Escape sequences with examples, Differentiate ceil() and floor() function? Write a short about the followings with suitable example: (a) capitalize () (b) swapease( ) 9. How to define constructor and destructor in Python? 10. What is MinGW? What is its use? 11. Mention the difference between fetchone() and fetchmany() EXTRA 5 MARK QUESTION Explain the characteristics of an algorithm. PASAALN 2. Explain the following built-in functions. (a) id) (b) chr() (c) round() (d) type() (©) pow() 3. Explain about constructor and destructor with suitable example. 4, Explain the different types of data model 5. Write the rules to be followed to format the data in a CSV file. 6. What is the purpose of sys,os,getopt module in Python. Explain 7. Explain the various buttons in a matplotlib window. TOP IMPORTANT 5 MARK QUESTION 1, What are called Parameters and write a note on (i) Parameter without Type (ii) Parameter with Type Explain the types of scopes for variable or LEGB rule with example. What is Binary search? Discuss with example Explain input() and print() functions with examples: Explain the different set operations supported by python with suitable example Write in brief about SQLite and the steps used to use it Write the different methods to read a File in Python. Explain about constructor and destructor with suitable example. Explain the various buttons in a matplotlib window. 0. Differentiate Excel file and CSV file MODEL PROGRAM QU 1. What will be output of the given python program? Str= “COMPUTER SCIENCE” a) pimnt(str*2) ') print(str{0:7]) 2. What will be the output of the following code? list=[3**x for x in range(5)] print(list) 3. Write the output of the following program. Class hosting: def_ init__(self, name) sclf__name-name def display(selt): print(“Welcome to”, self._name) obj=hosting(“Python programming) obj.display() ZO PAAMEeD httpsificsknowledgeopener.com 3 http:/www.youtube.comic/esknowledgeopenerJ. BASKARAN MSc,, B.E¢, Lecturer in Computer Science 4. What will be the output of the given python program? “computer” b= “science” x=af:4]+b[len(b)-3:] 5. Write a program (o display all 3 digit even nun 6. Write the output for the following program. while(i<=6): for j in range(|,i) print, end="\t’) print(end=“\n’) =I 7. Write the output for the following python commands Strl= “Welcome to Python” i) print(str1) ii) print(strl [11:17}) )) print(str1[11:17:2]) iv) print(str2[: :4]) -y) print(str1[: : -4]) 8. Write the output for the following python programs: i) jn1s while(>=10). print(j, end= “\A”) Fl else print(“\ end of the loop) 1) k=15 while(k<=9): for i in range(1,k): print(i, end~ “\t\’) kekH 9. Debug the following program to get the given output: Outp Inside add() function x value is:10 In main x value is:10 globally x: x=xH10 print(“inside add()function x value is:”) add print(“In main x value is:”) 10. Program to check if the accepted number odd or even a= int(input("Enter any number :")) httpsificsknowledgeopener.com 4 http:/www.youtube.comic/esknowledgeopenerJ. BASKARAN MSc,, B.E¢, Lecturer in Computer Science if a%2: print (a, else: print (a, "is an odd number") 11. program to illustrate the use of while loop - to print all numbers from 10 to 15 i=10 while (i<=15): print (iend="\t’) 12. program to illustrate the use nested loop -for within while loop 1 12 123 1234 12345 13, Write a program to check whether the given character is a vowel or not. 14, Using if..else..elif statement check smallest of three numbers. 15, Write a program to check if a number is Positive, Negative or zero. 16, Write a program to display Fibonacci series 0 1123 4.5... (upto n terms) 17. Write a program to display sum of natural numbers, upto n. 18, Write a program to check if the given number is a palindrome or not. 19. Write a program to print the following pattern is an even number") 20. Write a program to check if the year is leap year or not. 21. What is the antput of the fallawing snippet? i=1 while True: if i%3 ==0: break print(1,end=") its 22. What is the output of the following snippet? T=1 while T: print(True) break 23, Write a program to display A AB ABC ABCD ABCDE 24, Write a program to display all 3 digit odd numbers. 25. Write a program to display multiplication table for a given number. httpsificsknowledgeopener.com 5 http:/www.youtube.comic/esknowledgeopenerJ. BASKARAN MSc,, B.E¢, Lecturer in Computer Science 26. Write a Python code to find the L.C.M. of two numbers. 27. Program to access each character with its positive subscript of a giving string str = input ("Enter a string: ") index=0 for iin str1: print ("Subscript[",index,"] :", i) index += 1 print (str [:index+1]) index+=1 29, Program to display the following pattern * 30, Write a python program to find the length ofa string. 31. Write a program to count the occurrences of each word in a given string. 32, Write a program to add a prefix text to all the lines in a string. 33, Write a program to print integers with *’ on the right of specified width. 34, Write a program to create a mirror image of the given string. For example, “wel” = “lew”. 35. Write a program to removes all the occurrences of a give character in a string. 36. Write a program to append a string to another string without using += operator. 37. Write a program to swap two strings. 38. Write a program to replace a string with another string without using replace(). 39, Write a program to count the number of characters, words and lines in a given string. 40. Which of the following is the output of the following python code? stri="TamilNadu" print(str1[::-1]) 41. What will be the output of the following code? str1 = "Chennai Schools" str1[7| 42. Wrile a Python program Lo display the given pattern, COMPUTER COMPUTE COMPUT COMPU COMP COM co c 43. Generating squares of first 10 natural numbers using the concept of List comprehension squares = [x ** 2 for x in range(1,11) ] httpsificsknowledgeopener.com 6 http:/www.youtube.comic/esknowledgeopenerJ. BASKARAN MSc,, B.E¢, Lecturer in Computer Science print (squares) 44. write a program that creates a list of numbers from 1 to 20 that are divisible by 4 45, Write a program to remove duplicates from a list. 46, Write a program that prints the maximum value in a Tuple. 47. Write a program that finds the sum of all the numbers in a Tuples using while loop. 48, Write a program that finds sum of all even numbers ina list. 49, Write a program that reverse a list using a loop. 50. Write a program to insert a value In a list at the specified location. 51. Write a program that creates a list of numbers from 1 to 50 that are either divisible by 3 or divisible by 6. 52. Write a program to create a list of numbers in the range 1 to 20. Then delete all the numbers from the list that are ble by 3 53. Write a program that counts the number of times a value appears in the list. Use a loop to do the same. 54, What will be the output of the following code? list = [2**x for x in range(5)] print(list) 55, Write a program to calculate area and circumference of a circle 56. Write a program using class to store name and marks of students in list and print total marks. 57, Write a program using class to accept three sides ofa triangle and print its area. 58, Write a menu driven program to read, display, add and subtract two distances. 59, What is the output of the following program? class Sample: _num=10 def disp(self): print(self_num) S=Sample() S.disp0) print(S._num) 60. Find the error in the following program to get the given output? class Fruits: def _i it_(self, F1, £2): self.f1=f1 self.f2=f2 def display(self) print("Fruit 1 = %s, Fruit 2 = %s" %(self1, self.f2)) F = Fruits (‘Apple’, 'Mango’) del F.display FdisplayQ) Output Fruit 1 = Apple, Fruit 2 = Mango What is the output of the following program? httpsificsknowledgeopener.com 7 http:/www.youtube.comic/esknowledgeopenerJ. BASKARAN MSc,, B.E¢, Lecturer in Computer Science class Greeting: def _init_{(self, name): self._name = name def display(self): print("Good Morning ", self,_name) obj=Greeting(‘Bindu Madhavan’) obj.displayQ) 61. Consider the following tuple declaration: >>>Mytuple=tuple([x*#2 for x in range(2,11,2)]) What will be the output of the following print statements? i) >>> print(Mytuple{2:3}) ii) >>> print(Mytuple[3:]) iii) >>> print(Mytuple{:]) 62, Write a simple python program with list of five marks and print the sum of all the marks using while loop. 63. What will be the output of the following snippet? alpha = list(range(65,70)) for x in alpha: print(chr(x), end= “\t") 64, What will be the output of the following python program? Ne{] } for x in range(1,11): Nappend(x) Num=tuple(N) primum) for index, i in enumerate(N): ifi%2==1): del Nlindex| print(N) 65, What will be the output of the following python program? strl="weleome” str2"to school” str3=strl [:3}+str2[len(str2)-1:] print(str3) 66. What will be output of the following python snippet? Strl—"THOLKAPPIY AM” Print(str1 [4:]) Print(str1 [42:2]) Print(str1(::3]) Print(strl[---3]) 67. Draw the chart for the given python snippet. Import matplotlib. Pyplot as plt httpsificsknowledgeopener.com 8 http:/www.youtube.comic/esknowledgeopenerJ. BASKARAN MSc,, B.E¢, Lecturer in Computer Science Plt-plot({1,2,3,], [1.4,9,16]) Plt.show() 68, Draw the output for the following python code Import matplotlib .pyplot as plt a=[1,2,3] b-[5,7.4] x=[1,2,3] y-[10,14,12] plt.plot(a,b label="Lable 1”) pluplot(a,y label—’Lable 2”) plt.xlable(“X-Axis’) plt.xlable(“Y-Axis’) Pitlegend() Pltshow() 69. What will be the output of the following Python snippet? a=I5 while (a<=20): print(a%a, end="") aratl 70. Write execution table for the following python code Marks=[10,20,30,40,50] i-0 sum=0 while i<4: sum +=marksfi] i=1 71, What will be the output of the following code? Sub=[“Tamil”, “English”, “Comp Sci”, “Maths”] =O while I< len(sub): print (subfi]) itl 1 be the output of the following Python code? x 72. What Str xl while x<=5: print (str1*x) xt=l else: print(“END”) 73. What will be the output of the following Python code? setA={x for x in range (4)} setB={x*2 for x in range (4)} httpsificsknowledgeopener.com 9 http:/www.youtube.comic/esknowledgeopenerJ. BASKARAN MSc,, B.E¢, Lecturer in Computer Science setC=setA &setB print(setC) 74, What will be the output of the following Python code? Numbers=(5, -8, 6, 8, -4, 3, 1) Positive=( ) for x in Numbers: if x0: Positive +-(x, ) print(*Positive Numbers:”, sitive) 75. Identify Which of the following are constructors and selectors? (a) Ni:snumber)) —(b) accetnum(nt) —(c) displaynum(n1) (@) eval(a/b) ©x, 76. Identify Which of the following are List, Tuple and class? (a) arr [1, 2, 34] (b) arr (1, 2, 34) (c) student [rmo, name, mark] (d) day:= (‘sun’, ‘mon’, ‘tue’, ‘wed’) () x= [2, 5, 6.5, [5, 6], 82] () employee [eno, ename, esal, eaddress] nakeslope (m), makeslope(n) _(f) display() 77. Which of the following is a normal function definition and which is recursive function definition i) let sum x y: return x+y | ii) let disp : print ‘welcome’ iii) let rec sum num: if (num!-0) then return num | sum (num-1) else return num PREPARED BY J. BASKARAN M‘SSc., B.Ed. Lecturer in Computer Science httpsificsknowledgeopener.com 10 http:/imww.youtube.comic/esknowledgeopener
You might also like
10 Hy QP Solution Ip Xi
PDF
No ratings yet
10 Hy QP Solution Ip Xi
17 pages
12th Computer Repeated Questions
PDF
No ratings yet
12th Computer Repeated Questions
5 pages
COMPUTERS-CLASS12-SAMPLE Q PAPER, Ans - MID TERM EXAM (2024-25)
PDF
No ratings yet
COMPUTERS-CLASS12-SAMPLE Q PAPER, Ans - MID TERM EXAM (2024-25)
20 pages
12th-Computer-Science-EM-Important-2,3, 5-Mark-Questions-English-Medium-PDF-Download
PDF
No ratings yet
12th-Computer-Science-EM-Important-2,3, 5-Mark-Questions-English-Medium-PDF-Download
12 pages
5Sets&MS Kerala
PDF
No ratings yet
5Sets&MS Kerala
103 pages
Kendriya Vidyalaya Sangathan Bhubaneswar Region Session Ending Examination 2019-20 CLASS XI - Computer Science
PDF
No ratings yet
Kendriya Vidyalaya Sangathan Bhubaneswar Region Session Ending Examination 2019-20 CLASS XI - Computer Science
3 pages
SQP 11 - QP
PDF
No ratings yet
SQP 11 - QP
12 pages
IPQuepaper 1
PDF
No ratings yet
IPQuepaper 1
5 pages
Computer Science QP - Set 1
PDF
No ratings yet
Computer Science QP - Set 1
12 pages
March 2020 Merged
PDF
No ratings yet
March 2020 Merged
27 pages
12 Cs Slow Learners Mat 2023-24
PDF
No ratings yet
12 Cs Slow Learners Mat 2023-24
19 pages
Namma Kalvi 12th Computer Science Question Bank em 216955
PDF
No ratings yet
Namma Kalvi 12th Computer Science Question Bank em 216955
12 pages
XII COM Sci IV Revission Test
PDF
No ratings yet
XII COM Sci IV Revission Test
2 pages
Len Count
PDF
No ratings yet
Len Count
29 pages
CS Practical File
PDF
No ratings yet
CS Practical File
35 pages
MS-Computer Science-XII
PDF
67% (3)
MS-Computer Science-XII
13 pages
12th Computer Science EM 1st Revision Test 2024 Question Paper Madurai District English Medium PDF Download
PDF
No ratings yet
12th Computer Science EM 1st Revision Test 2024 Question Paper Madurai District English Medium PDF Download
2 pages
Set 9
PDF
No ratings yet
Set 9
9 pages
CS - Xii - PB - Ii - Set-A
PDF
No ratings yet
CS - Xii - PB - Ii - Set-A
13 pages
12th C S Half Yearly Model QP
PDF
No ratings yet
12th C S Half Yearly Model QP
18 pages
Section A: Computer Science (083) Class Xii
PDF
No ratings yet
Section A: Computer Science (083) Class Xii
9 pages
12 CS Half Yearly 2023-24
PDF
No ratings yet
12 CS Half Yearly 2023-24
2 pages
4171348-Class 12 CS - A1 - 2023-24
PDF
No ratings yet
4171348-Class 12 CS - A1 - 2023-24
6 pages
Xii CS 3 Sets
PDF
No ratings yet
Xii CS 3 Sets
6 pages
Pre-Board Xii CS QP
PDF
No ratings yet
Pre-Board Xii CS QP
14 pages
12th Computer Science Preboard Dec24
PDF
No ratings yet
12th Computer Science Preboard Dec24
13 pages
Xii Comp Sci MQP 16
PDF
No ratings yet
Xii Comp Sci MQP 16
6 pages
Question Paper
PDF
No ratings yet
Question Paper
12 pages
Namma Kalvi 12th Computer Science Model Question Papers em 2020 217201
PDF
No ratings yet
Namma Kalvi 12th Computer Science Model Question Papers em 2020 217201
54 pages
Class 12th Computer Science
PDF
No ratings yet
Class 12th Computer Science
11 pages
XII Physics Question Bank
PDF
No ratings yet
XII Physics Question Bank
13 pages
XIComp SC S E 89-Merged-Merged
PDF
No ratings yet
XIComp SC S E 89-Merged-Merged
86 pages
12 CS 2024-25 SQP 3
PDF
No ratings yet
12 CS 2024-25 SQP 3
7 pages
Xii - Cs em Public Exam Important Question 2024-2025
PDF
No ratings yet
Xii - Cs em Public Exam Important Question 2024-2025
2 pages
12 CS Sample Paper 2022-23
PDF
No ratings yet
12 CS Sample Paper 2022-23
9 pages
Sol CS Pre BRD 2 2024-25 5thsub
PDF
No ratings yet
Sol CS Pre BRD 2 2024-25 5thsub
15 pages
12PB24CS04AK
PDF
No ratings yet
12PB24CS04AK
15 pages
12Cs Halfyearly2024
PDF
No ratings yet
12Cs Halfyearly2024
2 pages
Xii Cs Practicals
PDF
No ratings yet
Xii Cs Practicals
21 pages
QP Class Xii CS PB 2022
PDF
No ratings yet
QP Class Xii CS PB 2022
8 pages
Book Back Questions
PDF
No ratings yet
Book Back Questions
2 pages
SQP 41 - QP
PDF
No ratings yet
SQP 41 - QP
8 pages
Maximum Marks: 70 Time Allowed: 3 Hours General Instructions
PDF
No ratings yet
Maximum Marks: 70 Time Allowed: 3 Hours General Instructions
13 pages
CS-Sample QP-DAV Bandhabahal
PDF
No ratings yet
CS-Sample QP-DAV Bandhabahal
12 pages
Maximum Marks: 70 Time Allowed: 3 HRS.: Part - A SECTION I - Attempt All 15 Questions
PDF
No ratings yet
Maximum Marks: 70 Time Allowed: 3 HRS.: Part - A SECTION I - Attempt All 15 Questions
7 pages
12th Computer Science EM Public Exam 2023 Model Question Paper English Medium PDF Download 1
PDF
No ratings yet
12th Computer Science EM Public Exam 2023 Model Question Paper English Medium PDF Download 1
2 pages
Grade XII CS Holiday Assignment
PDF
No ratings yet
Grade XII CS Holiday Assignment
7 pages
Cs Paper-1
PDF
No ratings yet
Cs Paper-1
12 pages
Kendriya Vidyalaya Sangathan Kolkata Region Pre-Board Examination 2020-21 Class - Xii Subject:Computer Science Time: 3Hrs M.M.-70
PDF
No ratings yet
Kendriya Vidyalaya Sangathan Kolkata Region Pre-Board Examination 2020-21 Class - Xii Subject:Computer Science Time: 3Hrs M.M.-70
8 pages
Python Question Bank
PDF
100% (1)
Python Question Bank
7 pages
Cs Paper-5
PDF
No ratings yet
Cs Paper-5
16 pages
BCC 302 QB
PDF
No ratings yet
BCC 302 QB
5 pages
Set 1 PDF
PDF
No ratings yet
Set 1 PDF
15 pages
Assign CS
PDF
No ratings yet
Assign CS
9 pages
Question Bank
PDF
No ratings yet
Question Bank
9 pages