This document contains a sample paper for Class 11 Computer Science with 7 questions covering topics like characteristics of computers, operating systems, data vs information, RAM vs ROM, loops, arrays, functions, structures, unions, and different types of errors. The paper has 70 total marks and is focused on testing knowledge of basic C++ programming concepts through multiple choice and code writing questions.
this is good question set for CCAT exam and alos for CCEE
for more details please visit
http://acts.cdac.in
http://cdacguru.wordpress.com
http://fb.com/cdacguru
this is good question set for CCAT exam and alos for CCEE
for more details please visit
http://acts.cdac.in
http://cdacguru.wordpress.com
http://fb.com/cdacguru
Python for class 11 (CBSE Computer science sub code 083)Nitin Kumar
Right now I am in mid of completing this book. Just uploaded first and part of second chapter. Will upload whole once I am done.
Can contact me at nitin_k@outlook.com for more details or to get a copy of this book.
Exam
Name___________________________________
MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.
1) Analyze the following program fragment:
int x;
double d = 1.5;
switch (d) {
case 1.0: x = 1;
case 1.5: x = 2;
case 2.0: x = 3;
}
1)
A) The switch control variable cannot be double.
B) The program has a compile error because the required break statement is missing in the
switch statement.
C) The program has a compile error because the required default case is missing in the switch
statement.
D) No errors.
2) Analyze the following code:
boolean even = false;
if (even = true) {
System.out.println("It is even!");
}
2)
A) The program runs fine, but displays nothing.
B) The program runs fine and displays It is even!.
C) The program has a runtime error.
D) The program has a compile error.
3) What is the printout of the following switch statement?
char ch = 'a';
switch (ch) {
case 'a':
case 'A':
System.out.print(ch); break;
case 'b':
case 'B':
System.out.print(ch); break;
case 'c':
case 'C':
System.out.print(ch); break;
case 'd':
case 'D':
System.out.print(ch);
}
3)
A) abc B) abcd C) ab D) aa E) a
1
4) The order of the precedence (from high to low) of the operators +, *, &&, ||, & is: 4)
A) *, +, &, &&, ||
B) *, +, &&, ||, &
C) &&, ||, &, *, +
D) &, ||, &&, *, +
E) *, +, &, ||, &&
5) The statement System.out.printf("%10s", 123456) outputs ________. (Note: * represents a space) 5)
A) ****123456 B) 12345***** C) 123456**** D) 23456*****
6) The following code displays ________.
double temperature = 50;
if (temperature >= 100)
System.out.println("too hot");
else if (temperature <= 40)
System.out.println("too cold");
else
System.out.println("just right");
6)
A) too cold B) too hot
C) too hot too cold just right D) just right
7) Which of the following code displays the area of a circle if the radius is positive? 7)
A) if (radius >= 0) System.out.println(radius * radius * 3.14159);
B) if (radius != 0) System.out.println(radius * radius * 3.14159);
C) if (radius > 0) System.out.println(radius * radius * 3.14159);
D) if (radius <= 0) System.out.println(radius * radius * 3.14159);
8) ________ is the code with natural language mixed with Java code. 8)
A) A flowchart diagram B) Java program
C) Pseudocode D) A Java statement
9) Analyze the following code:
if (x < 100) && (x > 10)
System.out.println("x is between 10 and 100");
9)
A) The statement compiles fine.
B) The statement has compile errors because (x<100) & (x > 10) must be enclosed inside
parentheses and the println(…) statement must be put inside a block.
C) The statement compiles fine, but has a runtime error.
D) The statement has compile errors because (x<100) & (x > 10) must be enclosed inside
parentheses.
10) In Java, the word true is ________. 10)
A) same as value 1 B) same as value 0
C) a Boolean literal D) a Java keyword
2
11) How many time ...
Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601
Similar to Sample Paper 2 Class XI (Computer Science) (20)
Model Attribute Check Company Auto PropertyCeline George
In Odoo, the multi-company feature allows you to manage multiple companies within a single Odoo database instance. Each company can have its own configurations while still sharing common resources such as products, customers, and suppliers.
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
Palestine last event orientationfvgnh .pptxRaedMohamed3
An EFL lesson about the current events in Palestine. It is intended to be for intermediate students who wish to increase their listening skills through a short lesson in power point.
The Roman Empire A Historical Colossus.pdfkaushalkr1407
The Roman Empire, a vast and enduring power, stands as one of history's most remarkable civilizations, leaving an indelible imprint on the world. It emerged from the Roman Republic, transitioning into an imperial powerhouse under the leadership of Augustus Caesar in 27 BCE. This transformation marked the beginning of an era defined by unprecedented territorial expansion, architectural marvels, and profound cultural influence.
The empire's roots lie in the city of Rome, founded, according to legend, by Romulus in 753 BCE. Over centuries, Rome evolved from a small settlement to a formidable republic, characterized by a complex political system with elected officials and checks on power. However, internal strife, class conflicts, and military ambitions paved the way for the end of the Republic. Julius Caesar’s dictatorship and subsequent assassination in 44 BCE created a power vacuum, leading to a civil war. Octavian, later Augustus, emerged victorious, heralding the Roman Empire’s birth.
Under Augustus, the empire experienced the Pax Romana, a 200-year period of relative peace and stability. Augustus reformed the military, established efficient administrative systems, and initiated grand construction projects. The empire's borders expanded, encompassing territories from Britain to Egypt and from Spain to the Euphrates. Roman legions, renowned for their discipline and engineering prowess, secured and maintained these vast territories, building roads, fortifications, and cities that facilitated control and integration.
The Roman Empire’s society was hierarchical, with a rigid class system. At the top were the patricians, wealthy elites who held significant political power. Below them were the plebeians, free citizens with limited political influence, and the vast numbers of slaves who formed the backbone of the economy. The family unit was central, governed by the paterfamilias, the male head who held absolute authority.
Culturally, the Romans were eclectic, absorbing and adapting elements from the civilizations they encountered, particularly the Greeks. Roman art, literature, and philosophy reflected this synthesis, creating a rich cultural tapestry. Latin, the Roman language, became the lingua franca of the Western world, influencing numerous modern languages.
Roman architecture and engineering achievements were monumental. They perfected the arch, vault, and dome, constructing enduring structures like the Colosseum, Pantheon, and aqueducts. These engineering marvels not only showcased Roman ingenuity but also served practical purposes, from public entertainment to water supply.
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
2024.06.01 Introducing a competency framework for languag learning materials ...Sandy Millin
http://sandymillin.wordpress.com/iateflwebinar2024
Published classroom materials form the basis of syllabuses, drive teacher professional development, and have a potentially huge influence on learners, teachers and education systems. All teachers also create their own materials, whether a few sentences on a blackboard, a highly-structured fully-realised online course, or anything in between. Despite this, the knowledge and skills needed to create effective language learning materials are rarely part of teacher training, and are mostly learnt by trial and error.
Knowledge and skills frameworks, generally called competency frameworks, for ELT teachers, trainers and managers have existed for a few years now. However, until I created one for my MA dissertation, there wasn’t one drawing together what we need to know and do to be able to effectively produce language learning materials.
This webinar will introduce you to my framework, highlighting the key competencies I identified from my research. It will also show how anybody involved in language teaching (any language, not just English!), teacher training, managing schools or developing language learning materials can benefit from using the framework.
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
This presentation provides a briefing on how to upload submissions and documents in Google Classroom. It was prepared as part of an orientation for new Sainik School in-service teacher trainees. As a training officer, my goal is to ensure that you are comfortable and proficient with this essential tool for managing assignments and fostering student engagement.
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...Levi Shapiro
Letter from the Congress of the United States regarding Anti-Semitism sent June 3rd to MIT President Sally Kornbluth, MIT Corp Chair, Mark Gorenberg
Dear Dr. Kornbluth and Mr. Gorenberg,
The US House of Representatives is deeply concerned by ongoing and pervasive acts of antisemitic
harassment and intimidation at the Massachusetts Institute of Technology (MIT). Failing to act decisively to ensure a safe learning environment for all students would be a grave dereliction of your responsibilities as President of MIT and Chair of the MIT Corporation.
This Congress will not stand idly by and allow an environment hostile to Jewish students to persist. The House believes that your institution is in violation of Title VI of the Civil Rights Act, and the inability or
unwillingness to rectify this violation through action requires accountability.
Postsecondary education is a unique opportunity for students to learn and have their ideas and beliefs challenged. However, universities receiving hundreds of millions of federal funds annually have denied
students that opportunity and have been hijacked to become venues for the promotion of terrorism, antisemitic harassment and intimidation, unlawful encampments, and in some cases, assaults and riots.
The House of Representatives will not countenance the use of federal funds to indoctrinate students into hateful, antisemitic, anti-American supporters of terrorism. Investigations into campus antisemitism by the Committee on Education and the Workforce and the Committee on Ways and Means have been expanded into a Congress-wide probe across all relevant jurisdictions to address this national crisis. The undersigned Committees will conduct oversight into the use of federal funds at MIT and its learning environment under authorities granted to each Committee.
• The Committee on Education and the Workforce has been investigating your institution since December 7, 2023. The Committee has broad jurisdiction over postsecondary education, including its compliance with Title VI of the Civil Rights Act, campus safety concerns over disruptions to the learning environment, and the awarding of federal student aid under the Higher Education Act.
• The Committee on Oversight and Accountability is investigating the sources of funding and other support flowing to groups espousing pro-Hamas propaganda and engaged in antisemitic harassment and intimidation of students. The Committee on Oversight and Accountability is the principal oversight committee of the US House of Representatives and has broad authority to investigate “any matter” at “any time” under House Rule X.
• The Committee on Ways and Means has been investigating several universities since November 15, 2023, when the Committee held a hearing entitled From Ivory Towers to Dark Corners: Investigating the Nexus Between Antisemitism, Tax-Exempt Universities, and Terror Financing. The Committee followed the hearing with letters to those institutions on January 10, 202
Francesca Gottschalk - How can education support child empowerment.pptxEduSkills OECD
Francesca Gottschalk from the OECD’s Centre for Educational Research and Innovation presents at the Ask an Expert Webinar: How can education support child empowerment?
Francesca Gottschalk - How can education support child empowerment.pptx
Sample Paper 2 Class XI (Computer Science)
1. Sample Paper 2
CLASS-XI
Subject : Computer Science (083)
Time: 3Hours Max. Marks: 70
Note. (i) All questions are compulsory.
(ii) Programming Language: C++
Q1.
a) What is computer? What are the characteristics of Computers? 2
b)What is an operating system? What are its functions? 2
c) What is the difference between Data and Information? 2
d) (i) Storage of 2 MB means the following number of kilobytes : 2
1) 2000 2) 1964 3) 2082 4) 2048
(ii) One Terabyte (TB) is equivalent to
1) 210 Bytes 2)220 Bytes 3) 230 Bytes 4) None of these.
e) What is difference between RAM and ROM? 2
f) Define System Software and what are its two main types?
Give examples. 2
g) What is Booting? 1
h) Which of the following are hardware and software? 1
(i) Transistor (ii) Internet Explorer (iii) Compiler (iv) FORTRAN 1
i) Expand the following: 2
i) CPU ii) EPROM iii) MICR iv) DVD-RW
Q2
a) What is the difference between Local Variable and Global Variable? 2
b) What is the difference between entry control and exit control loop
and give the example of each ? 2
c) What will be the size of following constants? 0.5x2=1
i) “class11tha1” ii) ‘n’
d) Write the corresponding C++ expressions for the following mathematical
expressions: 0.5x2=1
i) ut+ ft2 (ii) v-w/(a+b)9
e)Evaluate the following, where a, b, c are integers and d, f are floating point
numbers. 0.5x2=1
The value of a=16, b=4 and d=5
i) f = a * b + a/b ii) c = d+a + b % a
2. Q3
a) What is the output of the following? 2
i) # include<iostream.h>
void main ( )
{
int i=0;
for (i=1; i<=30;i++)
{
cout<<i<<endl;
i=i+2;
}
}
ii) #include<iostream.h> 2
void main()
{
int j=1,s=0;
while(j<10)
{
cout<<j<<”+”;
s=s+j;
j=j+j%3;
}
cout<<”=”<<s;
}
iii) What will be the output of the following program segment? 2
If input is as: (a) u (b) s (c) a (d) v
cin >>ch;
switch (ch)
{ case ‘u’: cout<<”Computer Science”;
case ‘s’: cout<<”Mathematics”;
break;
case ‘a’:
cout<<”Accoutant”; break;
default: cout<<” wrong choice”;
}
3. iv) Determine the output: 2
for(i=10;i<=100;i+=10)
{
j=i/2;
cout<<j<<””;
}
v)What output will be the following code fragment produce?
void main( )
{
int val, res, n=2000;
cin>>val;
res = n+val >2750 ? 1400:1200;
cout<<res;
}
(i) if val=3000 (ii) if val=2000 (iii) if val=1500 3
Q4.
a) Find the error from the following code segment and rewrite the corrected
code underlining the correction made. 2
# include<iostream.h>
#include<stdio.h>
void main ( )
{
struct Movie
{ char movie_name[20];
char movie_type;
int cost=100;
}M;
gets(movie_name);
gets(movie_type);
}
4. b) Convert the following code segment into switch case construct. 2
void main( )
{
int ch;
cin>>ch;
if(ch = = ‘p’)
{
cout<<“ Physics”;
}
else if(ch = = ‘e’)
{
cout<<“English ”;
}
else if(ch= =’c’)
{
cout<<“Computer Science”;
}
else
{
cout<<“Invalid Choice”;
}
}
c) Convert the following code segment into do while loop. 2
#include<iostream.h>
void main()
{ int i,sum=0;
for(i=1;i<=10;++i)
{
sum=sum+i;
cout<<”n”<<i;
}
cout<<”sum of all numbers:”<<sum<<endl;
}
Q5
a)Which header files are required for the following?Write their 4
5. use also
i)puts () ii) sqrt( ) iii) isalpha( ) iv) strlen( )
Q6
a) Write a C++ program to calculate the simple interest using function. 2
b) Write a C++ program to check a number for Armstrong or not. 2
c) Write a C++ program to enter any 20 number and find the sum of only
odd number by using array 2
d) Write a C++ program to design a menu for calculator and calculate the
following operations : 3
1 for addition, 2 for subtraction,3 for multiplication, 4 for division,
5 for exit the program.
e) What is difference between structure and union. 2
f) An array stores details of 20 students(rollno,name and marks in five
subjects).Write a program to create such an array and print out a list
of students who failed in more than one subjects.
Assume 40% as pass marks 2
Q7.
a)What do you mean by syntax error and semantics errors? 2
b)Why are logical errors harder to locate? 2
c)Define source code and object code? 2
d). What is bug in program? 1
e)What is prettyprinting ? 1
f)What is the significance of documentation in program? 1
g)What do you understand by run time error and give example? 1