SlideShare a Scribd company logo
Periodic Test-II
Class-XII
Time: 1 hour M.M:25
Find Out the errors, if any, in the following C++
Statements.
Q.1 cout<<”=” a;
Q.2 m=5,n=12;o=15
Q.3 cin>>y;>>j;
Q.4 cout>>”n “abc”;
Q.5 break=x*y;
Q.6 Explain what is the tokens.
Q.7 what is the variables?
Q.8 what is recursion?
Q.9 What is array?
Q.10 Observe the following c++ code carefully and rewrite the
same after removing all the syntax errors
#include<iostream.h>
void main()
{
First=10,Second=20;
Jumpto(First;Second);
Jumpto(second0;
}
void Jumpto(int N1,int N2=20)
{
N1=N1+N2
cout<<N1>>N2;
}
Q.11 Write a program swap two values.
Q.12 Write a program Display Two Dimension array of 3*3.

More Related Content

DOCX
Answers+of+C+sample+exam.docx
ismailaboshatra
 
DOCX
Bti1022 lab sheet 9 10
alish sha
 
DOCX
Technical questions
Kirthan S Holla
 
PDF
26. composite l2qtouchpad
Media4math
 
PDF
[Question Paper] Object Oriented Programming With C++ (Revised Course) [June ...
Mumbai B.Sc.IT Study
 
PDF
Tech Talks @NSU: DLang: возможности языка и его применение
Tech Talks @NSU
 
DOCX
C __paper.docx_final
Sumit Sar
 
DOC
C test
Smita Agarwal
 
Answers+of+C+sample+exam.docx
ismailaboshatra
 
Bti1022 lab sheet 9 10
alish sha
 
Technical questions
Kirthan S Holla
 
26. composite l2qtouchpad
Media4math
 
[Question Paper] Object Oriented Programming With C++ (Revised Course) [June ...
Mumbai B.Sc.IT Study
 
Tech Talks @NSU: DLang: возможности языка и его применение
Tech Talks @NSU
 
C __paper.docx_final
Sumit Sar
 

What's hot (19)

PDF
J unit introduction
Radim Pavlicek
 
PDF
Minimal Introduction to C++ - Part I
Michel Alves
 
DOCX
Introduction to java Programming, Addition, Substraction, Multiplication, Div...
Laxminarayan Sharma
 
PDF
C mcq practice test 1
Aman Kamboj
 
PDF
verilog interview
Maitrik Shah
 
PDF
Chapter 1 : Balagurusamy_ Programming ANsI in C
BUBT
 
DOCX
C quiz
hardeep01
 
PDF
[Question Paper] Introduction To C++ Programming (Revised Course) [January / ...
Mumbai B.Sc.IT Study
 
DOC
Shan
mohdshanu
 
PPT
Oop lecture1
Shahriar Robbani
 
PDF
N_Asm Assembly recursion (sol)
Selomon birhane
 
PDF
[Question Paper] Object Oriented Programming With C++ (Revised Course) [April...
Mumbai B.Sc.IT Study
 
PPT
Concept of c
Rohan Gajre
 
PDF
[C++ korea] effective modern c++ study item 4 - 6 신촌
Seok-joon Yun
 
DOCX
Program persamaan kuadrat
linda_rosalina
 
PDF
C Building Blocks
imtiazalijoono
 
PDF
Cc 16
Web Developer
 
PDF
Scheme 核心概念(一)
維然 柯維然
 
PPTX
MFC Rect2
Razvan Raducanu, PhD
 
J unit introduction
Radim Pavlicek
 
Minimal Introduction to C++ - Part I
Michel Alves
 
Introduction to java Programming, Addition, Substraction, Multiplication, Div...
Laxminarayan Sharma
 
C mcq practice test 1
Aman Kamboj
 
verilog interview
Maitrik Shah
 
Chapter 1 : Balagurusamy_ Programming ANsI in C
BUBT
 
C quiz
hardeep01
 
[Question Paper] Introduction To C++ Programming (Revised Course) [January / ...
Mumbai B.Sc.IT Study
 
Shan
mohdshanu
 
Oop lecture1
Shahriar Robbani
 
N_Asm Assembly recursion (sol)
Selomon birhane
 
[Question Paper] Object Oriented Programming With C++ (Revised Course) [April...
Mumbai B.Sc.IT Study
 
Concept of c
Rohan Gajre
 
[C++ korea] effective modern c++ study item 4 - 6 신촌
Seok-joon Yun
 
Program persamaan kuadrat
linda_rosalina
 
C Building Blocks
imtiazalijoono
 
Scheme 核心概念(一)
維然 柯維然
 
Ad

More from Amit Mishra (6)

PDF
We all know that Computer is a very useful machine. It is very important to p...
Amit Mishra
 
PPTX
computer network lesson class 12 CN Part 1.pptx
Amit Mishra
 
PDF
03-database-management-system-important-questions-answers.pdf
Amit Mishra
 
PDF
03-database-management-system-revision-notes.pdf
Amit Mishra
 
PDF
03-database-management-system-important-questions-answers.pdf
Amit Mishra
 
PDF
5444e9539abc6 1294389-sample (3)
Amit Mishra
 
We all know that Computer is a very useful machine. It is very important to p...
Amit Mishra
 
computer network lesson class 12 CN Part 1.pptx
Amit Mishra
 
03-database-management-system-important-questions-answers.pdf
Amit Mishra
 
03-database-management-system-revision-notes.pdf
Amit Mishra
 
03-database-management-system-important-questions-answers.pdf
Amit Mishra
 
5444e9539abc6 1294389-sample (3)
Amit Mishra
 
Ad

Recently uploaded (20)

PPTX
Kanban Cards _ Mass Action in Odoo 18.2 - Odoo Slides
Celine George
 
PPTX
Five Point Someone – Chetan Bhagat | Book Summary & Analysis by Bhupesh Kushwaha
Bhupesh Kushwaha
 
PDF
Health-The-Ultimate-Treasure (1).pdf/8th class science curiosity /samyans edu...
Sandeep Swamy
 
PPTX
Measures_of_location_-_Averages_and__percentiles_by_DR SURYA K.pptx
Surya Ganesh
 
PPTX
An introduction to Dialogue writing.pptx
drsiddhantnagine
 
PPTX
INTESTINALPARASITES OR WORM INFESTATIONS.pptx
PRADEEP ABOTHU
 
PDF
Module 2: Public Health History [Tutorial Slides]
JonathanHallett4
 
DOCX
Unit 5: Speech-language and swallowing disorders
JELLA VISHNU DURGA PRASAD
 
PDF
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 
PPTX
How to Track Skills & Contracts Using Odoo 18 Employee
Celine George
 
PDF
RA 12028_ARAL_Orientation_Day-2-Sessions_v2.pdf
Seven De Los Reyes
 
PPTX
20250924 Navigating the Future: How to tell the difference between an emergen...
McGuinness Institute
 
PDF
Virat Kohli- the Pride of Indian cricket
kushpar147
 
PDF
BÀI TẬP TEST BỔ TRỢ THEO TỪNG CHỦ ĐỀ CỦA TỪNG UNIT KÈM BÀI TẬP NGHE - TIẾNG A...
Nguyen Thanh Tu Collection
 
PDF
The-Invisible-Living-World-Beyond-Our-Naked-Eye chapter 2.pdf/8th science cur...
Sandeep Swamy
 
DOCX
pgdei-UNIT -V Neurological Disorders & developmental disabilities
JELLA VISHNU DURGA PRASAD
 
PPTX
Introduction to pediatric nursing in 5th Sem..pptx
AneetaSharma15
 
PDF
Review of Related Literature & Studies.pdf
Thelma Villaflores
 
PPTX
HISTORY COLLECTION FOR PSYCHIATRIC PATIENTS.pptx
PoojaSen20
 
PPTX
Artificial-Intelligence-in-Drug-Discovery by R D Jawarkar.pptx
Rahul Jawarkar
 
Kanban Cards _ Mass Action in Odoo 18.2 - Odoo Slides
Celine George
 
Five Point Someone – Chetan Bhagat | Book Summary & Analysis by Bhupesh Kushwaha
Bhupesh Kushwaha
 
Health-The-Ultimate-Treasure (1).pdf/8th class science curiosity /samyans edu...
Sandeep Swamy
 
Measures_of_location_-_Averages_and__percentiles_by_DR SURYA K.pptx
Surya Ganesh
 
An introduction to Dialogue writing.pptx
drsiddhantnagine
 
INTESTINALPARASITES OR WORM INFESTATIONS.pptx
PRADEEP ABOTHU
 
Module 2: Public Health History [Tutorial Slides]
JonathanHallett4
 
Unit 5: Speech-language and swallowing disorders
JELLA VISHNU DURGA PRASAD
 
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 
How to Track Skills & Contracts Using Odoo 18 Employee
Celine George
 
RA 12028_ARAL_Orientation_Day-2-Sessions_v2.pdf
Seven De Los Reyes
 
20250924 Navigating the Future: How to tell the difference between an emergen...
McGuinness Institute
 
Virat Kohli- the Pride of Indian cricket
kushpar147
 
BÀI TẬP TEST BỔ TRỢ THEO TỪNG CHỦ ĐỀ CỦA TỪNG UNIT KÈM BÀI TẬP NGHE - TIẾNG A...
Nguyen Thanh Tu Collection
 
The-Invisible-Living-World-Beyond-Our-Naked-Eye chapter 2.pdf/8th science cur...
Sandeep Swamy
 
pgdei-UNIT -V Neurological Disorders & developmental disabilities
JELLA VISHNU DURGA PRASAD
 
Introduction to pediatric nursing in 5th Sem..pptx
AneetaSharma15
 
Review of Related Literature & Studies.pdf
Thelma Villaflores
 
HISTORY COLLECTION FOR PSYCHIATRIC PATIENTS.pptx
PoojaSen20
 
Artificial-Intelligence-in-Drug-Discovery by R D Jawarkar.pptx
Rahul Jawarkar
 

Periodic test

  • 1. Periodic Test-II Class-XII Time: 1 hour M.M:25 Find Out the errors, if any, in the following C++ Statements. Q.1 cout<<”=” a; Q.2 m=5,n=12;o=15 Q.3 cin>>y;>>j; Q.4 cout>>”n “abc”; Q.5 break=x*y; Q.6 Explain what is the tokens. Q.7 what is the variables? Q.8 what is recursion? Q.9 What is array? Q.10 Observe the following c++ code carefully and rewrite the same after removing all the syntax errors #include<iostream.h> void main()
  • 2. { First=10,Second=20; Jumpto(First;Second); Jumpto(second0; } void Jumpto(int N1,int N2=20) { N1=N1+N2 cout<<N1>>N2; } Q.11 Write a program swap two values. Q.12 Write a program Display Two Dimension array of 3*3.