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)
26 views
Cs
Uploaded by
kssajmal786
AI-enhanced title
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save cs For Later
Download
Save
Save cs For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
26 views
Cs
Uploaded by
kssajmal786
AI-enhanced title
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save cs For Later
Carousel Previous
Carousel Next
Save
Save cs For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 3
Search
Fullscreen
NANDHA CENTRAL SCHOOL XI - COMPUTER SCIENCE (083) I st 50% ASSESMENT EXAMINATION-23 aRRSZ : TIME: 3 Hrs ATE: 26 -0§ 2023, - WARKS | Q.NO Section -A ALLOCATED T |The operators that act on one operand are referred to as ‘a)Binary operator b)Unary operator c)Relation operator d) Arithmetic operator 2 |ifa=18.9 & b=3 .then all b will be evaluated as as Ja) 6.0 b) 6.3 c)0.3%d)none of these +6.3) &j=4"6 3j.then what will be the value of print (==), ‘a)True b) False e) 1 di] iUwill be the output of the Tollow' 4 Ja=bool (' ') and 5<8 then print (a) a)False b)True c) answer may vary d) none of these \ 3 |ira=2*°2 then prini(a) will be “To | 1a) 64 b) 12 ¢)256*d) none of these I | 6 {ifathellot.b~"boys!then the expression a and b wil yi a)true byfatse ejhello I boys | 7 [python files are saved with the extension as, a.python by.pe €)-py @)-pi 7 it. "7 Which ofthe following isthe correct way tgjntialize multiple variables withacommon value? | 8 |ays=yynd5 byxy=z—ds®rqziy=znd5: dhRaeyder=45, \ 9 [Error due to logic of the program |h)semantic error b)syntax error ¢)runtime error d)AIl type of errors [An appropriate statement for a loop to be repeated 50 times fa) for jin range (0,50): b ) for iin range (1,50): €)) for in range (1.51): d)) None of these 10 ! |What will be the output of the following code: i=1 11 hileGi< 10): print" Bi.end="_") =i" 2)1248 )1369 6)369 d)36 suppose a=2 ~ 2 write what will be the ouput af print ("%d" %a(a+5)) fa) 7 b)8 ©)9 d) None of these| The equivalent for loop for the following while loop is i=l philerie=20) 2 ator iin range (1 efor Lin (1.20.2): |b} for Lin range (0.20.2): _» djNone of these IF variable sum is equal to 20 and total less than 50 The above statement expressed in python as: a) if (sum==20) and (total <30): by if -20) and (total <50): jc) if (sum==20) and (total +50): $e) if (sum==20) and (total <50): Predict the output of the following code or x in range (3): \prints) 1234 8) OL ©) 012345 d) 12345 [Find the out the following : For tr in range (-600.0.200) [print trend =" *) 16 4a)-6010 400-200 }-200-400-600 e}-200-600 )-400-600 1 [17 Fhe Toop that is best suited to handle iterations is| 1 $2) while loop 6) for loop €) if d) ifelse “Tifa break statements is written inside a nested loop .on execution it will ‘aystop the |exccution of outer loop. b) stop the execution of inner loop i yver may vary - . Section-B ine looping, Write two Tooping statements that are used in python. 2 | ag. | Whats statement 2 called as? fier executing the all the given statements what will be the % | 7° Wvatue ot y? i Dhow bella _od{ fond che Ba || Write the conditional statements for the following situations: | ay jis is greater than or equal to y 2 | i) x is fess than y and x is less than z. - — - 5 5 i \Write an appropriate for oF while loop for the following situations: | |i) A toop is to be repeated 200 times. | 59 [ity A loop is tobe repeated 200 times,but the loop is to be terminated if the value of variable | 2 | |becomes 175 | | }What output Will be the following code fragment produce? n=1000 | ‘val=int(input( "enter & value:")) res=400 if (n+val>1750)else200 print(res) | ‘vif the input is 2 : | 23. jit the input is 2 | ! t [723] What is script?where can you write the python code? 2 a 2 2 What are the keywords? Write some commonly used keywords in python?Section -C What will be the output of the following ? Also state the reason, i) print (“introduction to python \n programming") ii)print("100=200") iii)print( 100/11) avelllad Write python statements for the follow [b)To print the character variable letter, ))To read a float variable into the variable discount_rate +a)To print the walue of the integer variable sum, [Find the output of the following #1 print(x) i +5-7*8/5%10 %.26"%x) ii =IHANS -3+4-78/5%10 print("%.2P"%a) [What is the difference between logical and syntactical error?give examples. | Rewrite the following program using for loop: isum=I.0 | while(i<=10): sum=sum+l i+=1 Iprint("sum is :%d % sum) —___L Find the error (s).,fany in the following program: i(("enter value of a:")) u=10.0 Iwhile(ac=3) a=a++ u=uta print("%d %a) prine(".2¢".9%u) Section-D Write a program to enter three subject marks and calculate the total of entered marks and grades lt the total marks are more than 250 then grade is’ other wise'B’ fwrite a program to calculate the factorial of a number. Write a program to check whether a number is prime or not, [A library issues books on rentall basis as 1% charge on the cost pi can be issued for 5 days without any late fee.tf the book is returned after 5 days a late fee will be charged for the above 5 days as per the given table Issue days Late fee per day 1tos 3 | 6 to 10 35 | more than 10 55 ce of the book per day A book |
You might also like
Ch-1,2,3 Back Exercises
PDF
No ratings yet
Ch-1,2,3 Back Exercises
8 pages
Worksheet 2 (Revision Tour 1 & 2)
PDF
No ratings yet
Worksheet 2 (Revision Tour 1 & 2)
9 pages
Assignment IP Looping, Funbda
PDF
No ratings yet
Assignment IP Looping, Funbda
4 pages
Python Paper - BR - Revised
PDF
No ratings yet
Python Paper - BR - Revised
3 pages
Class 11 Bio CS 26122023
PDF
No ratings yet
Class 11 Bio CS 26122023
5 pages
C Sc Grade 11 QP Annual Exam March 2024_Final
PDF
No ratings yet
C Sc Grade 11 QP Annual Exam March 2024_Final
7 pages
Xi Hy 2023 CS 18112023
PDF
No ratings yet
Xi Hy 2023 CS 18112023
6 pages
Delhi Public School, Gandhinagar Half Yearly Examination (2023-24) Computer Science (Set-1)
PDF
No ratings yet
Delhi Public School, Gandhinagar Half Yearly Examination (2023-24) Computer Science (Set-1)
8 pages
QP - Xi CS Hy083 2024-25 Set-1
PDF
No ratings yet
QP - Xi CS Hy083 2024-25 Set-1
6 pages
Xi Cs Hye Jpr Qp s1
PDF
No ratings yet
Xi Cs Hye Jpr Qp s1
6 pages
Sqp-Computer Science-Xi-Hy (2023-24)
PDF
No ratings yet
Sqp-Computer Science-Xi-Hy (2023-24)
5 pages
Chemwrk
PDF
No ratings yet
Chemwrk
3 pages
Computer Sc 24
PDF
No ratings yet
Computer Sc 24
4 pages
Co Cs Qpaper Class11 NeetA Fp AA T
PDF
No ratings yet
Co Cs Qpaper Class11 NeetA Fp AA T
5 pages
XI AnnualExam CS-coimbtore
PDF
No ratings yet
XI AnnualExam CS-coimbtore
8 pages
914201799chapter 4, 5 and 6 Practice Questions PDF
PDF
67% (3)
914201799chapter 4, 5 and 6 Practice Questions PDF
9 pages
GR-11-CS - Sa-2024
PDF
No ratings yet
GR-11-CS - Sa-2024
6 pages
Xi QP Hy CS 231116 210839
PDF
No ratings yet
Xi QP Hy CS 231116 210839
7 pages
CHAPTER 1
PDF
No ratings yet
CHAPTER 1
5 pages
Class 8 Chapter 7 Answers
PDF
No ratings yet
Class 8 Chapter 7 Answers
5 pages
Grade 11 Computer Science HY - QP
PDF
No ratings yet
Grade 11 Computer Science HY - QP
6 pages
CLASS XI (COMPUTER SCIENCE) HALF YEARLY QP Bhopal Region Set-II
PDF
No ratings yet
CLASS XI (COMPUTER SCIENCE) HALF YEARLY QP Bhopal Region Set-II
4 pages
Class Xi (Computer Science) Half Yearly Ms Jaipur Region
PDF
No ratings yet
Class Xi (Computer Science) Half Yearly Ms Jaipur Region
8 pages
Worksheet For Ip
PDF
No ratings yet
Worksheet For Ip
5 pages
REVISION WORKSHEET Term1
PDF
No ratings yet
REVISION WORKSHEET Term1
6 pages
Ics104 Midterm v1 Key 211
PDF
No ratings yet
Ics104 Midterm v1 Key 211
17 pages
Standard: X: Chapter 8: PYTHON REVISION
PDF
No ratings yet
Standard: X: Chapter 8: PYTHON REVISION
10 pages
CS Class 11 2024
PDF
No ratings yet
CS Class 11 2024
31 pages
Looping Test - 20 marks
PDF
No ratings yet
Looping Test - 20 marks
2 pages
XI_CS_HYE_AHMD_QP_S1 (1)
PDF
No ratings yet
XI_CS_HYE_AHMD_QP_S1 (1)
6 pages
Class 11 - I Terminal Exam Final Paper-Answer Key
PDF
No ratings yet
Class 11 - I Terminal Exam Final Paper-Answer Key
7 pages
Informatics Practices (Part-2)
PDF
No ratings yet
Informatics Practices (Part-2)
28 pages
XII Cs
PDF
No ratings yet
XII Cs
3 pages
Ms 2
PDF
No ratings yet
Ms 2
7 pages
XIComp SC S E 456
PDF
No ratings yet
XIComp SC S E 456
7 pages
Student Support Material Class Xii - Cs
PDF
No ratings yet
Student Support Material Class Xii - Cs
150 pages
XI_AnnualExam_CS
PDF
No ratings yet
XI_AnnualExam_CS
6 pages
11 CS Hy Sample Paper 2022
PDF
No ratings yet
11 CS Hy Sample Paper 2022
4 pages
Delhi Public School, Gandhinagar Half Yearly Examination (2023-24) Computer Science (Set-2: Answer Key)
PDF
No ratings yet
Delhi Public School, Gandhinagar Half Yearly Examination (2023-24) Computer Science (Set-2: Answer Key)
8 pages
XI CS Question
PDF
No ratings yet
XI CS Question
3 pages
XIComp SC H Y 371-2
PDF
No ratings yet
XIComp SC H Y 371-2
4 pages
12 CS WorkSheet - Fundamental
PDF
No ratings yet
12 CS WorkSheet - Fundamental
6 pages
As WS CS G7 Ch 7 Python- Conditions and Loops
PDF
No ratings yet
As WS CS G7 Ch 7 Python- Conditions and Loops
4 pages
XIIComp.Sc.PT2466
PDF
No ratings yet
XIIComp.Sc.PT2466
11 pages
XII_CS_WC_SET2 QP
PDF
No ratings yet
XII_CS_WC_SET2 QP
9 pages
SAMPLE PAPER - 1-Copy
PDF
No ratings yet
SAMPLE PAPER - 1-Copy
5 pages
Xi Half Yearly Qp 2023 Cs (1)
PDF
No ratings yet
Xi Half Yearly Qp 2023 Cs (1)
9 pages
Class 12 CS Model 1 QST
PDF
No ratings yet
Class 12 CS Model 1 QST
4 pages
11 Usp Computer Science 05 PDF
PDF
No ratings yet
11 Usp Computer Science 05 PDF
4 pages
RT-1 Mat Cs(Ch1,2) Ans
PDF
No ratings yet
RT-1 Mat Cs(Ch1,2) Ans
4 pages
QP_XI_CS_HY_2024-25 SET-3
PDF
No ratings yet
QP_XI_CS_HY_2024-25 SET-3
3 pages
Cs Notes File Handling_240815_080015
PDF
No ratings yet
Cs Notes File Handling_240815_080015
59 pages
QP 11 CS
PDF
No ratings yet
QP 11 CS
6 pages
11CS T2 2022 23SetAMS
PDF
No ratings yet
11CS T2 2022 23SetAMS
7 pages
12_CS_REV 2_QP_2024-2025
PDF
No ratings yet
12_CS_REV 2_QP_2024-2025
9 pages
JosephB CSC120 Solution.
PDF
No ratings yet
JosephB CSC120 Solution.
14 pages
CS Worksheet
PDF
No ratings yet
CS Worksheet
6 pages
Programming With Python - PGDBDA - Feb20
PDF
No ratings yet
Programming With Python - PGDBDA - Feb20
26 pages
Std 12 Cs Quaterly Exam 2023 2024 Wa
PDF
No ratings yet
Std 12 Cs Quaterly Exam 2023 2024 Wa
11 pages
M-1 NEET Chemistery
PDF
No ratings yet
M-1 NEET Chemistery
184 pages
Complex Number
PDF
No ratings yet
Complex Number
27 pages
Chem
PDF
No ratings yet
Chem
1 page
Chemical Bonding 2
PDF
No ratings yet
Chemical Bonding 2
32 pages