Padasalai.Net Half Yearly Exam Model Question Paper

Size: px
Start display at page:

Download "Padasalai.Net Half Yearly Exam Model Question Paper"

Transcription

1 et et Padasalai.Net Half Yearly Exam Model Question Paper COMPUTER SCIENCE XII STANDARD Time: 2.30 Hrs] [Max Marks: 70 Part I Choose the correct answer: 15 1 = 15 et et 1. is used to create Text Document in the Star Office Application (A)Star Office Base (B) Star Office Calc (C) Star Office Writer (D) Star Office Impress 2. Command is used to indent paragraphs. et et (A)Tools Paragraph (C) Tools Character (B) Format Paragraph (D) Format Character 3. This key is used to move forward through the cell: et et (A)Shift + Tab (B) Tab (C) Arrow (D) Esc 4. In Star Office Writer, the default Top, Bottom, Left and Right Margins are inches. et (A)1.25,1 (B) 1,1.25 (C) 1.25,1.25 (D) 1,1 et 5. This symbol is used to make absolute cell address in StarOffice Calc: (A)% (B) $ (C) & (D) # 6. A continues group of cells in a worksheet is called: et et (A)Range (B) Pointer (C) Cell (D) Field 7. DBMS supports the Language et (A)SQL (B) C (C) C++ (D) Java et 8. GIF means et (A) Graphic Information Format (C)Graphic Interchange File et 9. How many ways there to declare the methods of a class (A) 2 (B) 4 (C) 6 (D) 1 (B) Graphic Information File (D) Graphic Interchange Format. 10. This qualifier specifies that the value of a variable will not change during the run time of a program: et et (A)const (B) static (C) short (D) signed 11. Predict the output #include < iostream.h> et et void main( ) int i=25; et cout << i << i++ << ++i; et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et 1 et et et et et et et et et et et et et et et et et et et et et et

2 (A) (B) (C) (D) Which of the following prototype returns integer and receives one integer, one float value? et et (A) void fun(char m); (C)int max (int m, float x); (B) int max (float x); (D) int max (char m; float x); 13. Which of the following statements is false in case of operator overloading? et et et a) Only existing operators can be overloaded b) Binary operators overloaded through member function takes one explicit argument et c) The overloaded function definition are permitted to all the data types d) The overloaded operator must have at least one operand of user defined type 14. Pick odd one from the following: et et (A)Public (C) Pointer (B) Private (D) Protected 15. Ten Commandments of Computer Ethics was written at et et a) Microsoft Corporation b) AT & T Laboratory c)sun Micro Systems d) Computer Ethics Institute Part II Answer to any SIX questions Question number 23 is compulsory 6 2 = 12 et et 16. Define Word Wrap 17. What are the types of Line Spacing? et 18. How to delete the entire table in the Star Office Writer? et 19. What are the Arithmetic Operators used in the Star Office Calc? 20. Differentiate between Flat File Database and Relational Database? 21. What are the Several Elements involved in the Video? et et 22. What are the Rules for the Nested Loop? 23. Write the C++ code for the following output. Output et et T Te Ten et et Tend Tendu et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et 2 et et et et et et et et et et et et et et et et et et et et et et

3 Tendul Tendulk Tendulka et Tendulkar. et 24. What is physical security? et et PART III Answer to any SIX questions Question number 30 is compulsory 6 3 = Difference between Hard Return and Soft Return? 26. Write the procedure check spelling while typing a document in StarOffice Writer. et et 27. Write the advantages of using Electronic SpreadSheet. 28. Differentiate Morphing and Warping 29. What is custom Animation? Explain the process of animating objects in a slide. et et 30. Write short note on conditional operator with example. x = 10 f = 20 et et c = x f Value stored in the variable c is et et x is f is 31. Write the syntax of switch case statement. et et 32. What are the rules for destructor definition and usage? 33. What are the uses of computers in education? Explain. et et Answer to ALL questions 5 5 = Explain the steps to save the document. et et PART IV Explain detail about various operators in StarOffice calc. 35. Explain detail about filters in StarOffice base. et et How to print a range of slides and also explain how to print a slide to fit a paper size? Explain 36. Write a C++ program for the following (i) Leap year or non-leap year (ii) Factorial of given positive integer. et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et 3 et et et et et et et et et et et et et et et et et et et et et et

4 Explain call by reference method. Write the C++ program to interchange two numbers using call by reference method. 37. Write short note on string functions. Write a C++ program to check whether the given number is palindrome et or not (using string functions). et What is class? Write a C++ program to calculate the average of marks of the student using class concept. 38. Write the output for the following C++ program. et et # include<iostream.h> #include<conio.h> class add et et int num1, num2, sum; et et add() et cout<< \n Constructor without parameters.. ; et num1= 0; num2= 0; sum = 0; et et add ( int s1, int s2 ) et et cout<< \n Parameterized constructor... ; num1= s1; num2=s2; et et sum=null; add (add &a) et et cout<< \n Copy Constructor... ; num1= a.num1; et et num2=a.num2; sum = NULL; et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et et 4 et et et et et et et et et et et et et et et et et et et et et et

5 voidgetdata() cout<< Enter data... ; cin>>num1>>num2; et et void addition() et et sum=num1+num2; voidputdata() et et cout<< \n The numbers are.. ; cout<<num1<< \t <<num2; et et cout<< \n The sum of the numbers are.. << sum; ; et et void main() add a, b (20, 30), c(b); et et a.getdata(); a.addition(); b.addition(); et et c.addition(); cout<< \n Object a : ; a.putdata(); et et cout<< \n Object b : ; b.putdata(); cout<< \n Object c.. ; et et c.putdata(); et et et et et et et et et et et et et et et et et et et et et et et et et et et Consider the following declarations and answer the questions given below et et et et et et et et et et et et et et et et et et et et et et 5 et et et et et et et et et et et et et et et et et et et et et et

6 class vehicle int wheels; et et voidinputdata( int, int); voidoutputdata(); protected : et et int passenger; ; et classheavy_vehicle : protected vehicle et intdiesel_petrol; protected: et et int load; voidreaddata( int, int); et et voidwritedata(); ; et class bus: private _heavy_vehicle et char marks[20]; et et voidfetchdata( char ); voiddisplaydata(); ; et et et et et et et et et et et et et et et et et et et et et et et Name the base class and derived class of the class heavy_vehicle Name the data members that can be accessed from the function displaydata() Name the data members that can be accessed by an object of bus class et et et et Name the data members that can be accessed from the function fetchdata() Is the member function output data accessible to the objects of heavy_vehicleclass et et et et et et et et et et et et et et et ALL THE BEST Prepared by Mr. MOHAMED FAKRUDEEN, PGT-COMPUTER SCIENCE, et SHAMROCK MAT. HR. SEC. SCHOOL, MOGAPPAIR, CHENNAI 37 et et et et et et et et et et 6 et et et et et et et et et et et et et et et et et et et et et et

SRE VIDYASAAGAR HIGHER SECONDARY SCHOOL

SRE VIDYASAAGAR HIGHER SECONDARY SCHOOL SRE VIDYASAAGAR HIGHER SECONDARY SCHOOL Sub : Computer Science Full Portion Exam Max. Mark : 150 Class : XII - EM Time : 3.00 Hrs PART - I I. Choose the correct answer. 75 x 1 = 75 1. Cut, copy, paste,

More information

cout<< \n Enter values for a and b... ; cin>>a>>b;

cout<< \n Enter values for a and b... ; cin>>a>>b; CHAPTER 8 CONSTRUCTORS AND DESTRUCTORS 8.1 Introduction When an instance of a class comes into scope, a special function called the constructor gets executed. The constructor function initializes the class

More information

SRI SARASWATHI MATRIC HR SEC SCHOOL PANAPAKKAM +2 IMPORTANT 2 MARK AND 5 MARK QUESTIONS COMPUTER SCIENCE VOLUME I 2 MARKS

SRI SARASWATHI MATRIC HR SEC SCHOOL PANAPAKKAM +2 IMPORTANT 2 MARK AND 5 MARK QUESTIONS COMPUTER SCIENCE VOLUME I 2 MARKS SRI SARASWATHI MATRIC HR SEC SCHOOL PANAPAKKAM +2 IMPORTANT 2 MARK AND 5 MARK QUESTIONS COMPUTER SCIENCE VOLUME I 2 MARKS 1. How to work with multiple documents in StarOffice Writer? 2. What is meant by

More information

Higher Secondary Second Year COMPUTER SCIENCE Model question Paper - 3

Higher Secondary Second Year COMPUTER SCIENCE Model question Paper - 3 Higher Secondary Second Year COMPUTER SCIENCE Model question Paper - 3 Time : 2.30 Hrs] [Max Marks : 70 Part I Choose the correct answer: 15 1 = 15 1. Which of the following key deletes the characters

More information

SRE VIDYASAAGAR HIGHER SECONDARY SCHOOL

SRE VIDYASAAGAR HIGHER SECONDARY SCHOOL SRE VIDYASAAGAR HIGHER SECONDARY SCHOOL Sub : Computer Science Full Portion Exam Max. Mark : 150 Class : XII - EM Time : 3.00 Hrs PART - I I. Choose the correct answer. 75 x 1 = 75 1. In Save As dialog

More information

SRE VIDYASAAGAR HIGHER SECONDARY SCHOOL. TWO MARKS

SRE VIDYASAAGAR HIGHER SECONDARY SCHOOL. TWO MARKS SRE VIDYASAAGAR HIGHER SECONDARY SCHOOL. COMPUTER SCIENCE - STAR OFFICE TWO MARKS LESSON I 1. What is meant by text editing? 2. How to work with multiple documents in StarOffice Writer? 3. What is the

More information

COMMON QUARTERLY EXAMINATION SEPTEMBER 2018

COMMON QUARTERLY EXAMINATION SEPTEMBER 2018 i.ne COMMON QUARTERLY EXAMINATION SEPTEMBER 2018 1. a) 12 2. a) Delete 3. b) Insert column 4. d) Ruler 5. a) F2 6. b) Auto fill 7. c) Label 8. c) Master page 9. b) Navigator 10. d) Abstraction 11. d) Void

More information

CHAPTER 9 INHERITANCE. 9.1 Introduction

CHAPTER 9 INHERITANCE. 9.1 Introduction CHAPTER 9 INHERITANCE 9.1 Introduction Inheritance is the most powerful feature of an object oriented programming language. It is a process of creating new classes called derived classes, from the existing

More information

XII CS(EM) Minimum Question List N.KANNAN M.Sc., B.Ed COMPUTER SCIENCE IMPORTANT QUESTION (TWO MARKS) CHAPTER 1 TO 5 ( STAR OFFICE WRITER)

XII CS(EM) Minimum Question List N.KANNAN M.Sc., B.Ed COMPUTER SCIENCE IMPORTANT QUESTION (TWO MARKS) CHAPTER 1 TO 5 ( STAR OFFICE WRITER) COMPUTER SCIENCE IMPORTANT QUESTION (TWO MARKS) CHAPTER 1 TO 5 ( STAR OFFICE WRITER) 1. Selecting text with keyboard 2. Differ copying and moving 3. Text Editing 4. Creating a bulleted list 5. Creating

More information

PART - I 75 x 1 = The building blocks of C++ program are (a) functions (b) classes (c) statements (d) operations

PART - I 75 x 1 = The building blocks of C++ program are (a) functions (b) classes (c) statements (d) operations OCTOBER 2007 COMPUTER SCIENCE Choose the best answer: PART - I 75 x 1 = 75 1. Which of the following functions will be executed first automatically, when a C++ Program is (a) void (b) Main (c) Recursive

More information

HIGHER SECONDARY COMPUTER SCIENCE

HIGHER SECONDARY COMPUTER SCIENCE PUGAL PRESENTS HIGHER SECONDARY COMPUTER SCIENCE 2 MARK & 5 MARK IMPORTANT QUESTIONS PREPARED BY P.CHANDRASEKARAN. M.C.A., B.ED ERODE(DT) FOR ¼ : 95781 90256. XII COMPUTER SCIENCE Star Office 2 MARK QUESTIONS:

More information

- HALF YEARLY EXAM ANSWER KEY DEC-2016 COMPUTER SCIENCE ENGLISH MEDIUM

- HALF YEARLY EXAM ANSWER KEY DEC-2016 COMPUTER SCIENCE ENGLISH MEDIUM www.padasalai.net - HALF YEARLY EXAM ANSWER KEY DEC-2016 COMPUTER SCIENCE ENGLISH MEDIUM 1 A 26 D 51 C 2 C 27 D 52 D 3 C 28 C 53 B 4 A 29 B 54 D 5 B 30 B 55 B 6 A 31 C 56 A 7 B 32 C 57 D 8 C 33 B 58 C

More information

LORD P.C.A.A LIONS MAT.HR.SEC SCHOOL, RESERVE LINE, SIVAKASI

LORD P.C.A.A LIONS MAT.HR.SEC SCHOOL, RESERVE LINE, SIVAKASI www.p COMMON HALF YEARLY EXAMINATION DECEMBER 2018 Standard 12 ( Virudhunagar ) Computer Science Answer Key Section I Choose the correct answer : 15 X 1 = 15 www.p 1. d) Ctrl + A 2. d) Fajita 3. d) MM/DD/YY

More information

COIMBATORE EDUCATIONAL DISTRICT

COIMBATORE EDUCATIONAL DISTRICT COIMBATORE EDUCATIONAL DISTRICT REVISION EXAMINATION JANUARY 2015 STD-12 COMPUTER SCIENCE ANSEWR KEY PART-I Choose the Correct Answer QNo Answer QNo Answer 1 B Absolute Cell Addressing 39 C Void 2 D

More information

HIGHER SECONDARY HALF YEARLY EXAMINATION DEC 07 XII - COMPUTER SCIENCE ANSWER KEY Q.NO. ANSWER Q.NO. ANSWER D 4 B D 4 A 3 A 43 B 4 D 44 C C 4 D 6 B 46 A 7 C 47 B 8 A 48 C 9 D 49 A 0 C 0 B C D A A 3 C 3

More information

Sample Paper Class XI Subject Computer Sience UNIT TEST II

Sample Paper Class XI Subject Computer Sience UNIT TEST II Sample Paper Class XI Subject Computer Sience UNIT TEST II (General OOP concept, Getting Started With C++, Data Handling and Programming Paradigm) TIME: 1.30 Hrs Max Marks: 40 ALL QUESTIONS ARE COMPULSURY.

More information

C++ 8. Constructors and Destructors

C++ 8. Constructors and Destructors 8. Constructors and Destructors C++ 1. When an instance of a class comes into scope, the function that executed is. a) Destructors b) Constructors c) Inline d) Friend 2. When a class object goes out of

More information

HIGER SECONDARY FIRST YEAR COMPUTER SCIENCE

HIGER SECONDARY FIRST YEAR COMPUTER SCIENCE HIGER SECONDARY FIRST YEAR COMPUTER SCIENCE VOLUME I Chapter 1 : Introduction to computers and Number Systems 1.1 Introduction to Computers 1.1.1 History of Computers 1.1.2 Data, Information and program

More information

Padasalai.Net s Model Question Paper

Padasalai.Net s Model Question Paper Padasalai.Net s Model Question Paper STD: XII VOLUME - 2 MARKS: 150 SUB: COMPUTER SCIENCE TIME: 3 HRS PART I Choose the correct answer: 75 X 1 = 75 1. Which of the following is an object oriented programming

More information

HIGHER SECONDARY SECOND YEAR

HIGHER SECONDARY SECOND YEAR HIGHER SECONDARY SECOND YEAR STD: 12 COMPUTER SCIENCE TIME : 2.30 HRS MODEL QUESTION PAPER - 1 MAX MARKS : 70 Part I Choose the correct answer: 15 * 1 = 15 1. A flashing vertical bar is called: (A) Mouse

More information

1. FIBONACCI SERIES. Write a C++ program to generate the Fibonacci for n terms. To write a C++ program to generate the Fibonacci for n terms.

1. FIBONACCI SERIES. Write a C++ program to generate the Fibonacci for n terms. To write a C++ program to generate the Fibonacci for n terms. PROBLEM: 1. FIBONACCI SERIES Write a C++ program to generate the Fibonacci for n terms. AIM: To write a C++ program to generate the Fibonacci for n terms. PROGRAM CODING: #include #include

More information

Scheme G. Sample Test Paper-I. Course Name : Computer Engineering Group Course Code : CO/CD/CM/CW/IF Semester : Second Subject Tile : Programming in C

Scheme G. Sample Test Paper-I. Course Name : Computer Engineering Group Course Code : CO/CD/CM/CW/IF Semester : Second Subject Tile : Programming in C Sample Test Paper-I Marks : 25 Time:1 Hrs. Q1. Attempt any THREE 09 Marks a) State four relational operators with meaning. b) State the use of break statement. c) What is constant? Give any two examples.

More information

SURA's Guides for 3rd to 12th Std for all Subjects in TM & EM Available MARCH [1]

SURA's Guides for 3rd to 12th Std for all Subjects in TM & EM Available MARCH [1] 12 th STD. MARCH - 2017 [Time Allowed : 3 hours] COMPUTER SCIENCE with Answers [Maximum Marks : 150] PART-I Choose the most suitable answer from the given four alternatives and write the option code and

More information

3.Constructors and Destructors. Develop cpp program to implement constructor and destructor.

3.Constructors and Destructors. Develop cpp program to implement constructor and destructor. 3.Constructors and Destructors Develop cpp program to implement constructor and destructor. Constructors A constructor is a special member function whose task is to initialize the objects of its class.

More information

SURA BOOKS OCTOBER Choose the most appropriate answer : [75 1 = 75] (1) PART-I

SURA BOOKS OCTOBER Choose the most appropriate answer : [75 1 = 75] (1) PART-I OCTOBER - 2016 [Time : 3 hours] XII STD COMPUTER SCIENCE (With Answers) [Marks : 150] PART-I Choose the most appropriate answer : [75 1 = 75] 1. What value is stored in the variable c, if a = 5; c = a++;

More information

I BCS-031 BACHELOR OF COMPUTER APPLICATIONS (BCA) (Revised) Term-End Examination. June, 2015 BCS-031 : PROGRAMMING IN C ++

I BCS-031 BACHELOR OF COMPUTER APPLICATIONS (BCA) (Revised) Term-End Examination. June, 2015 BCS-031 : PROGRAMMING IN C ++ No. of Printed Pages : 3 I BCS-031 BACHELOR OF COMPUTER APPLICATIONS (BCA) (Revised) Term-End Examination 05723. June, 2015 BCS-031 : PROGRAMMING IN C ++ Time : 3 hours Maximum Marks : 100 (Weightage 75%)

More information

Two marks & Five Marks. 7. What is Operator, Character Constant, Integer Constant, Floating point Constant?

Two marks & Five Marks. 7. What is Operator, Character Constant, Integer Constant, Floating point Constant? Volume-II Object Oriented Programming-C++ Two marks & Five Marks 1. What is polymorphism? 2. What is Encapsulation? TWO MARKS 3. What is Object? What is Significance of an object? 4. What is class? 5.

More information

CREATED BY P. SUBRAMANIAN M.Sc(I.T.)., B.Ed., COMPUTER INSTRUCTOR, KUM

CREATED BY P. SUBRAMANIAN M.Sc(I.T.)., B.Ed., COMPUTER INSTRUCTOR, KUM CREATED BY P. SUBRAMANIAN M.Sc(I.T.)., B.Ed., COMPUTER INSTRUCTOR, KUM VOLUME I STAR OFFICE S.NO COMMANDS AND SHORTCUTS DESCRIPTION 1. Start Programs Star Office8 Star Office Writer To Open the Star Office

More information

STD: XII VOLUME - I MARKS: 150

STD: XII VOLUME - I MARKS: 150 STD: XII VOLUME - I MARKS: 150 SUB: COMPUTER SCIENCE TIME: 3 HRS I. Choose the correct answer: 75 X 1 = 75 1. Which key is used to copy the selected text in the document? a) Ctrl + X b) Ctrl + V c) Ctrl

More information

LORD PCAA LIONS Mat.Hr.Sec School, Reserve Line, Sivakasi

LORD PCAA LIONS Mat.Hr.Sec School, Reserve Line, Sivakasi Virudhunagar District schools Common First Mid Term Test, July 2018 Standard 12 - computer science Part - I I. Choose the correct answer for the following : 10 X 1 = 10 1. Shift + Tab key is used to move

More information

THE NAME OF THE CONSTRUCTOR AND DESTRUCTOR(HAVING (~) BEFORE ITS NAME) FUNCTION MUST BE SAME AS THE NAME OF THE CLASS IN WHICH THEY ARE DECLARED.

THE NAME OF THE CONSTRUCTOR AND DESTRUCTOR(HAVING (~) BEFORE ITS NAME) FUNCTION MUST BE SAME AS THE NAME OF THE CLASS IN WHICH THEY ARE DECLARED. Constructor and Destructor Member Functions Constructor: - Constructor function gets invoked automatically when an object of a class is constructed (declared). Destructor:- A destructor is a automatically

More information

1. An Introduction to StarOffice Writer

1. An Introduction to StarOffice Writer 1. An Introduction to StarOffice Writer Two Mark Questions :- 01. List the Functions/Applications of Star Office? The various Functions / Applications of Star Office are as follows, StarOffice Writer,

More information

Introduction to Computer Science Midterm 3 Fall, Points

Introduction to Computer Science Midterm 3 Fall, Points Introduction to Computer Science Fall, 2001 100 Points Notes 1. Tear off this sheet and use it to keep your answers covered at all times. 2. Turn the exam over and write your name next to the staple. Do

More information

---

--- Bharathi Hr. Sec. School, Reddipatty..1.. A. Prabhakar, M.C.A.,B.Ed., Enter the given text: Heaven from all creatures hides the book of fate. All but the page prescribe the present state. A hero perishes

More information

FORM 2 (Please put your name and form # on the scantron!!!!)

FORM 2 (Please put your name and form # on the scantron!!!!) CS 161 Exam 2: FORM 2 (Please put your name and form # on the scantron!!!!) True (A)/False(B) (2 pts each): 1. Recursive algorithms tend to be less efficient than iterative algorithms. 2. A recursive function

More information

INTERNATIONAL INDIAN SCHOOL, RIYADH. Ch 1 C++ Revision tour

INTERNATIONAL INDIAN SCHOOL, RIYADH. Ch 1 C++ Revision tour Grade- XII Computer Science Worksheet Ch 1 C++ Revision tour 1) Explain in brief the purpose of function prototype with the help of a suitable example. 2) What is the benefit of using default parameter/argument

More information

Object Oriented Programming. Solved MCQs - Part 2

Object Oriented Programming. Solved MCQs - Part 2 Object Oriented Programming Solved MCQs - Part 2 Object Oriented Programming Solved MCQs - Part 2 It is possible to declare as a friend A member function A global function A class All of the above What

More information

CS201 Some Important Definitions

CS201 Some Important Definitions CS201 Some Important Definitions For Viva Preparation 1. What is a program? A program is a precise sequence of steps to solve a particular problem. 2. What is a class? We write a C++ program using data

More information

Name :. Roll No. :... Invigilator s Signature : INTRODUCTION TO PROGRAMMING. Time Allotted : 3 Hours Full Marks : 70

Name :. Roll No. :... Invigilator s Signature : INTRODUCTION TO PROGRAMMING. Time Allotted : 3 Hours Full Marks : 70 Name :. Roll No. :..... Invigilator s Signature :.. 2011 INTRODUCTION TO PROGRAMMING Time Allotted : 3 Hours Full Marks : 70 The figures in the margin indicate full marks. Candidates are required to give

More information

Come and join us at WebLyceum

Come and join us at WebLyceum Come and join us at WebLyceum For Past Papers, Quiz, Assignments, GDBs, Video Lectures etc Go to http://www.weblyceum.com and click Register In Case of any Problem Contact Administrators Rana Muhammad

More information

CS 6456 OBJCET ORIENTED PROGRAMMING IV SEMESTER/EEE

CS 6456 OBJCET ORIENTED PROGRAMMING IV SEMESTER/EEE CS 6456 OBJCET ORIENTED PROGRAMMING IV SEMESTER/EEE PART A UNIT I 1. Differentiate object oriented programming from procedure oriented programming. 2. Define abstraction and encapsulation. 3. Differentiate

More information

Introduction to Programming Using Java (98-388)

Introduction to Programming Using Java (98-388) Introduction to Programming Using Java (98-388) Understand Java fundamentals Describe the use of main in a Java application Signature of main, why it is static; how to consume an instance of your own class;

More information

Darshan Institute of Engineering & Technology for Diploma Studies

Darshan Institute of Engineering & Technology for Diploma Studies 1. Explain Call by Value vs. Call by Reference Or Write a program to interchange (swap) value of two variables. Call By Value In call by value pass value, when we call the function. And copy this value

More information

For Teacher's Use Only Q No Total Q No Q No

For Teacher's Use Only Q No Total Q No Q No Student Info Student ID: Center: Exam Date: FINALTERM EXAMINATION Spring 2010 CS201- Introduction to Programming Time: 90 min Marks: 58 For Teacher's Use Only Q No. 1 2 3 4 5 6 7 8 Total Marks Q No. 9

More information

POINTERS - Pointer is a variable that holds a memory address of another variable of same type. - It supports dynamic allocation routines. - It can improve the efficiency of certain routines. C++ Memory

More information

Object Oriented Pragramming (22316)

Object Oriented Pragramming (22316) Chapter 1 Principles of Object Oriented Programming (14 Marks) Q1. Give Characteristics of object oriented programming? Or Give features of object oriented programming? Ans: 1. Emphasis (focus) is on data

More information

+2 Volume II OBJECT TECHNOLOGY OBJECTIVE QUESTIONS R.Sreenivasan SanThome HSS, Chennai-4. Chapter -1

+2 Volume II OBJECT TECHNOLOGY OBJECTIVE QUESTIONS R.Sreenivasan SanThome HSS, Chennai-4. Chapter -1 Chapter -1 1. Object Oriented programming is a way of problem solving by combining data and operation 2.The group of data and operation are termed as object. 3.An object is a group of related function

More information

CS201- Introduction to Programming Current Quizzes

CS201- Introduction to Programming Current Quizzes CS201- Introduction to Programming Current Quizzes Q.1 char name [] = Hello World ; In the above statement, a memory of characters will be allocated 13 11 12 (Ans) Q.2 A function is a block of statements

More information

Data type of a pointer must be same as the data type of the variable to which the pointer variable is pointing. Here are a few examples:

Data type of a pointer must be same as the data type of the variable to which the pointer variable is pointing. Here are a few examples: Unit IV Pointers and Polymorphism in C++ Concepts of Pointer: A pointer is a variable that holds a memory address of another variable where a value lives. A pointer is declared using the * operator before

More information

C:\Temp\Templates. Download This PDF From The Web Site

C:\Temp\Templates. Download This PDF From The Web Site 11 2 2 2 3 3 3 C:\Temp\Templates Download This PDF From The Web Site 4 5 Use This Main Program Copy-Paste Code From The Next Slide? Compile Program 6 Copy/Paste Main # include "Utilities.hpp" # include

More information

2. Distinguish between a unary, a binary and a ternary operator. Give examples of C++ operators for each one of them.

2. Distinguish between a unary, a binary and a ternary operator. Give examples of C++ operators for each one of them. 1. Why do you think C++ was not named ++C? C++ is a super set of language C. All the basic features of C are used in C++ in their original form C++ can be described as C+ some additional features. Therefore,

More information

PREPARED BY VOLUME I IMPORTANT ONE WORD QUESTION AND ANSWERS

PREPARED BY VOLUME I IMPORTANT ONE WORD QUESTION AND ANSWERS PREPARED BY D. SANDHIYA, M.Sc, M.Ed (COMPUTER SCIENCE), COMPUTER INSTRUCTOR, SRI SARASWATHI MATRIC HR SEC SCHOOL, PANAPAKKAM 631 052, VELLORE DISTRICT. VOLUME I IMPORTANT ONE WORD QUESTION AND ANSWERS

More information

DHA Suffa University CS 103 Object Oriented Programming Fall 2015 Lab #01: Introduction to C++

DHA Suffa University CS 103 Object Oriented Programming Fall 2015 Lab #01: Introduction to C++ DHA Suffa University CS 103 Object Oriented Programming Fall 2015 Lab #01: Introduction to C++ Objective: To Learn Basic input, output, and procedural part of C++. C++ Object-orientated programming language

More information

LECTURE 02 INTRODUCTION TO C++

LECTURE 02 INTRODUCTION TO C++ PowerPoint Slides adapted from *Starting Out with C++: From Control Structures through Objects, 7/E* by *Tony Gaddis* Copyright 2012 Pearson Education Inc. COMPUTER PROGRAMMING LECTURE 02 INTRODUCTION

More information

OBJECT ORIENTED PROGRAMMING USING C++ CSCI Object Oriented Analysis and Design By Manali Torpe

OBJECT ORIENTED PROGRAMMING USING C++ CSCI Object Oriented Analysis and Design By Manali Torpe OBJECT ORIENTED PROGRAMMING USING C++ CSCI 5448- Object Oriented Analysis and Design By Manali Torpe Fundamentals of OOP Class Object Encapsulation Abstraction Inheritance Polymorphism Reusability C++

More information

SECTION - A ANSWER ALL THE QUESTIONS

SECTION - A ANSWER ALL THE QUESTIONS THIRU GVCHSS, ARCOT VOLUME I (1 TO 9) 12th Standard Computer Science Time : 03:00:00 Hrs Total Marks : 150 SECTION - A 75 x 1 = 75 ANSWER ALL THE QUESTIONS 1) 2) 3) 4) 5) 6) 7) 8) 9) The word to be used

More information

1- Write a single C++ statement that: A. Calculates the sum of the two integrates 11 and 12 and outputs the sum to the consol.

1- Write a single C++ statement that: A. Calculates the sum of the two integrates 11 and 12 and outputs the sum to the consol. 1- Write a single C++ statement that: A. Calculates the sum of the two integrates 11 and 12 and outputs the sum to the consol. B. Outputs to the console a floating point number f1 in scientific format

More information

Constructor - example

Constructor - example Constructors A constructor is a special member function whose task is to initialize the objects of its class. It is special because its name is same as the class name. The constructor is invoked whenever

More information

Department of Computer science and Engineering Sub. Name: Object oriented programming and data structures Sub. Code: EC6301 Sem/Class: III/II-ECE Staff name: M.Kavipriya Two Mark Questions UNIT-1 1. List

More information

OBJECT ORIENTED PROGRAMMING. Ms. Ajeta Nandal C.R.Polytechnic,Rohtak

OBJECT ORIENTED PROGRAMMING. Ms. Ajeta Nandal C.R.Polytechnic,Rohtak OBJECT ORIENTED PROGRAMMING Ms. Ajeta Nandal C.R.Polytechnic,Rohtak OBJECT ORIENTED PARADIGM Object 2 Object 1 Data Data Function Function Object 3 Data Function 2 WHAT IS A MODEL? A model is an abstraction

More information

An Object Oriented Programming with C

An Object Oriented Programming with C An Object Oriented Programming with C By Tanmay Kasbe Dr. Ravi Singh Pippal IDEA PUBLISHING WWW.ideapublishing.in i Publishing-in-support-of, IDEA PUBLISHING Block- 9b, Transit Flats, Hudco Place Extension

More information

Chapter 2: Introduction to C++

Chapter 2: Introduction to C++ Chapter 2: Introduction to C++ Copyright 2010 Pearson Education, Inc. Copyright Publishing as 2010 Pearson Pearson Addison-Wesley Education, Inc. Publishing as Pearson Addison-Wesley 2.1 Parts of a C++

More information

Final exam. Final exam will be 12 problems, drop any 2. Cumulative up to and including week 14 (emphasis on weeks 9-14: classes & pointers)

Final exam. Final exam will be 12 problems, drop any 2. Cumulative up to and including week 14 (emphasis on weeks 9-14: classes & pointers) Review Final exam Final exam will be 12 problems, drop any 2 Cumulative up to and including week 14 (emphasis on weeks 9-14: classes & pointers) 2 hours exam time, so 12 min per problem (midterm 2 had

More information

About this exam review

About this exam review Final Exam Review About this exam review I ve prepared an outline of the material covered in class May not be totally complete! Exam may ask about things that were covered in class but not in this review

More information

Kapil Sehgal PGT Computer. Science Ankleshwar Gujarat Chapter 6 Inheritance Extending a Class

Kapil Sehgal PGT Computer. Science Ankleshwar Gujarat Chapter 6 Inheritance Extending a Class Chapter 6 Inheritance Extending a Class Introduction; Need for Inheritance; Different form of Inheritance; Derived and Base Classes; Inheritance and Access control; Multiple Inheritance Revisited; Multilevel

More information

Chapter 2: Special Characters. Parts of a C++ Program. Introduction to C++ Displays output on the computer screen

Chapter 2: Special Characters. Parts of a C++ Program. Introduction to C++ Displays output on the computer screen Chapter 2: Introduction to C++ 2.1 Parts of a C++ Program Copyright 2009 Pearson Education, Inc. Copyright 2009 Publishing Pearson as Pearson Education, Addison-Wesley Inc. Publishing as Pearson Addison-Wesley

More information

COMPUTER SCIENCE PRACTICAL GUIDE [ ENGLISH MEDIUM ]

COMPUTER SCIENCE PRACTICAL GUIDE [ ENGLISH MEDIUM ] +2 COMPUTER SCIENCE PRACTICAL GUIDE 2018-19 [ ENGLISH MEDIUM ] NAME : SUBJECT: SCHOOL : Sastra Matriculation Higher Secondary School 1 Kilpennathur, Tiruvannamalai INSTRUCTIONS FOR THE CONDUCT OF PRACTICAL

More information

Creating a C++ Program

Creating a C++ Program Program A computer program (also software, or just a program) is a sequence of instructions written in a sequence to perform a specified task with a computer. 1 Creating a C++ Program created using an

More information

PROGRAMMING IN C AND C++:

PROGRAMMING IN C AND C++: PROGRAMMING IN C AND C++: Week 1 1. Introductions 2. Using Dos commands, make a directory: C:\users\YearOfJoining\Sectionx\USERNAME\CS101 3. Getting started with Visual C++. 4. Write a program to print

More information

CSC 210, Exam Two Section February 1999

CSC 210, Exam Two Section February 1999 Problem Possible Score 1 12 2 16 3 18 4 14 5 20 6 20 Total 100 CSC 210, Exam Two Section 004 7 February 1999 Name Unity/Eos ID (a) The exam contains 5 pages and 6 problems. Make sure your exam is complete.

More information

PROGRAMMING IN C++ COURSE CONTENT

PROGRAMMING IN C++ COURSE CONTENT PROGRAMMING IN C++ 1 COURSE CONTENT UNIT I PRINCIPLES OF OBJECT ORIENTED PROGRAMMING 2 1.1 Procedure oriented Programming 1.2 Object oriented programming paradigm 1.3 Basic concepts of Object Oriented

More information

2 2

2 2 1 2 2 3 3 C:\Temp\Templates 4 5 Use This Main Program 6 # include "Utilities.hpp" # include "Student.hpp" Copy/Paste Main void MySwap (int Value1, int Value2); int main(int argc, char * argv[]) { int A

More information

SECONDARY SCHOOL, L-IMRIEĦEL HALF YEARLY EXAMINATIONS 2016/2017

SECONDARY SCHOOL, L-IMRIEĦEL HALF YEARLY EXAMINATIONS 2016/2017 SECONDARY SCHOOL, L-IMRIEĦEL HALF YEARLY EXAMINATIONS 2016/2017 YEAR: 10 Computing Time: 1½ Hr. Name: Class: Instructions: 1. Answer all the questions in the space provided on this paper. 2. Calculators

More information

AN OVERVIEW OF C++ 1

AN OVERVIEW OF C++ 1 AN OVERVIEW OF C++ 1 OBJECTIVES Introduction What is object-oriented programming? Two versions of C++ C++ console I/O C++ comments Classes: A first look Some differences between C and C++ Introducing function

More information

Mock Test Paper-2. CBSE XII : Computer Science. Duration : 3hrs Max Marks : 70

Mock Test Paper-2. CBSE XII : Computer Science. Duration : 3hrs Max Marks : 70 Mock Test Paper-2 CBSE XII : Computer Science Mock Test Paper-2 1 Duration : 3hrs Max Marks : 70 1. (a) What is the difference between Object Oriented Programming and Procedural programming? 2 (b) Write

More information

I Mid Semester May 2012 : Class XII : Computer Science Max Mark 50 : Time 2 Hrs. 1. a) What is macro in C++? Give example 2

I Mid Semester May 2012 : Class XII : Computer Science Max Mark 50 : Time 2 Hrs. 1. a) What is macro in C++? Give example 2 I Mid Semester May 01 : Class XII : Computer Science Max Mark 50 : Time Hrs 1. a) What is macro in C++? Give example b) Give the Header file for the following functions:- i) gets ( ) ii) tolower( ) 1 c)

More information

ADARSH VIDYA KENDRA NAGERCOIL COMPUTER SCIENCE. Grade: IX C++ PROGRAMMING. Department of Computer Science 1

ADARSH VIDYA KENDRA NAGERCOIL COMPUTER SCIENCE. Grade: IX C++ PROGRAMMING. Department of Computer Science 1 NAGERCOIL COMPUTER SCIENCE Grade: IX C++ PROGRAMMING 1 C++ 1. Object Oriented Programming OOP is Object Oriented Programming. It was developed to overcome the flaws of the procedural approach to programming.

More information

VALLIAMMAI ENGINEERING COLLEGE

VALLIAMMAI ENGINEERING COLLEGE VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur 603 203 DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK B.E. - Electrical and Electronics Engineering IV SEMESTER CS6456 - OBJECT ORIENTED

More information

Short Notes of CS201

Short Notes of CS201 #includes: Short Notes of CS201 The #include directive instructs the preprocessor to read and include a file into a source code file. The file name is typically enclosed with < and > if the file is a system

More information

AFN-1255 PCA131 P.G.D.C.A. DIPLOMA EXAMINATION, MAY 2011 First Semester Computer Applications FUNDAMENTALS OF DIGITAL COMPUTER (Non-CBCS 2004 onwards) Time : 3 Hours Maximum : 100 Marks Part A (15 1 =

More information

ADTs & Classes. An introduction

ADTs & Classes. An introduction ADTs & Classes An introduction Quick review of OOP Object: combination of: data structures (describe object attributes) functions (describe object behaviors) Class: C++ mechanism used to represent an object

More information

1. Describe History of C++? 2. What is Dev. C++? 3. Why Use Dev. C++ instead of C++ DOS IDE?

1. Describe History of C++? 2. What is Dev. C++? 3. Why Use Dev. C++ instead of C++ DOS IDE? 1. Describe History of C++? The C++ programming language has a history going back to 1979, when Bjarne Stroustrup was doing work for his Ph.D. thesis. One of the languages Stroustrup had the opportunity

More information

CS 376b Computer Vision

CS 376b Computer Vision CS 376b Computer Vision 09 / 25 / 2014 Instructor: Michael Eckmann Today s Topics Questions? / Comments? Enhancing images / masks Cross correlation Convolution C++ Cross-correlation Cross-correlation involves

More information

CS201 - Introduction to Programming Glossary By

CS201 - Introduction to Programming Glossary By CS201 - Introduction to Programming Glossary By #include : The #include directive instructs the preprocessor to read and include a file into a source code file. The file name is typically enclosed with

More information

DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING REWRAP TEST I CS6301 PROGRAMMING DATA STRUCTURES II

DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING REWRAP TEST I CS6301 PROGRAMMING DATA STRUCTURES II DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING REWRAP TEST I CS6301 PROGRAMMING DATA STRUCTURES II Year / Semester: III / V Date: 08.7.17 Duration: 45 Mins

More information

UNIT- 3 Introduction to C++

UNIT- 3 Introduction to C++ UNIT- 3 Introduction to C++ C++ Character Sets: Letters A-Z, a-z Digits 0-9 Special Symbols Space + - * / ^ \ ( ) [ ] =!= . $, ; : %! &? _ # = @ White Spaces Blank spaces, horizontal tab, carriage

More information

CSCE 2004 Final Exam Spring Version A

CSCE 2004 Final Exam Spring Version A CSCE 2004 Final Exam Spring 2017 Version A Student Name: Student UAID: Instructions: This is a two-hour closed book final exam. Students are allowed one 8.5 by 11 page of notes. No calculators or cell

More information

OOP THROUGH C++(R16) int *x; float *f; char *c;

OOP THROUGH C++(R16) int *x; float *f; char *c; What is pointer and how to declare it? Write the features of pointers? A pointer is a memory variable that stores the address of another variable. Pointer can have any name that is legal for other variables,

More information

Quiz Start Time: 09:34 PM Time Left 82 sec(s)

Quiz Start Time: 09:34 PM Time Left 82 sec(s) Quiz Start Time: 09:34 PM Time Left 82 sec(s) Question # 1 of 10 ( Start time: 09:34:54 PM ) Total Marks: 1 While developing a program; should we think about the user interface? //handouts main reusability

More information

CS201 Latest Solved MCQs

CS201 Latest Solved MCQs Quiz Start Time: 09:34 PM Time Left 82 sec(s) Question # 1 of 10 ( Start time: 09:34:54 PM ) Total Marks: 1 While developing a program; should we think about the user interface? //handouts main reusability

More information

CHRIST THE KING BOYS MATRIC HR. SEC. SCHOOL, KUMBAKONAM CHAPTER 9 C++

CHRIST THE KING BOYS MATRIC HR. SEC. SCHOOL, KUMBAKONAM CHAPTER 9 C++ CHAPTER 9 C++ 1. WRITE ABOUT THE BINARY OPERATORS USED IN C++? ARITHMETIC OPERATORS: Arithmetic operators perform simple arithmetic operations like addition, subtraction, multiplication, division etc.,

More information

IT 1003 Introduction to Programming (New)

IT 1003 Introduction to Programming (New) [All Rights Reserved] SLIATE SRI LANKA INSTITUTE OF ADVANCED TECHNOLOGICAL EDUCATION (Established in the Ministry of Higher Education, vide in Act No. 29 of 1995) Instructions for Candidates: Answer five

More information

Volume I Star Office. Chapter 1 Text Editing

Volume I Star Office. Chapter 1 Text Editing Board Portions - For Moderators - 2016 Volume 2 marks 5 marks Volume I Chapters 1, 2, 3, 6, 7 & 8 Chapters 1, 4, 6 & 7 Volume II Chapters 2, 5, 6, 9, 10, 11 & 12 Chapters 3, 4, 8 & 9 Objectives All Board

More information

INHERITANCE. PART I Choose the correct answers

INHERITANCE. PART I Choose the correct answers m m Unit - IV CHAPTER 16 m m INHERITANCE m m PART I Choose the correct answers m m 1. Which of the followingis the process of creating new classes from an existing class (a) Polymorphism (b) Inheritance

More information

STAR OFFICE STAR WRITER

STAR OFFICE STAR WRITER CLASS: XII VOLUME I STAR OFFICE STAR WRITER www.padasalai.net *1. What is mean by Text editing? Entering a new text or modifying the existing text in a document is known as text editing. The insertion

More information

LORD P.C.A.A Lions Mat.Hr.Sec School, Lions Nagar, Reserve Line, Sivakasi. 7.Data Base. PART A I. Choose the correct Answer : 15 X 1 = 15

LORD P.C.A.A Lions Mat.Hr.Sec School, Lions Nagar, Reserve Line, Sivakasi. 7.Data Base. PART A I. Choose the correct Answer : 15 X 1 = 15 7.Data Base PART A I. Choose the correct Answer : 15 X 1 = 15 1. Which of the following is not a valid data type in star office base? a) Text b) time c) project d) integer 2. Which field is used to uniquely

More information

CHRIST THE KING BOYS MATRIC HR. SEC. SCHOOL, KUMBAKONAM CHAPTER 2 TEXT FORMATTING

CHRIST THE KING BOYS MATRIC HR. SEC. SCHOOL, KUMBAKONAM CHAPTER 2 TEXT FORMATTING CHAPTER 2 TEXT FORMATTING 1. Explain how to create a Bulleted and Numbered List in Star Office Writer? One way to create a list of points or topics in a document is to create a bulleted list. A bullet

More information

BEng (Hons) Electronic Engineering. BEng (Hons) Telecommunications. Examinations for / Semester 2

BEng (Hons) Electronic Engineering. BEng (Hons) Telecommunications. Examinations for / Semester 2 BEng (Hons) Electronic Engineering BEng (Hons) Telecommunications Cohort: BEE/16B/FT & BTEL/16B/FT Examinations for 2016-2017 / Semester 2 Resit Examinations for BTEL/15B/FT, BEE/13B/FT, BTEL/14B/FT &

More information

COMPUTER SCIENCE (083)

COMPUTER SCIENCE (083) Roll No. Code : 112011-083-A Please check that this question paper contains 7 questions and 6 printed pages. CLASS-XI COMPUTER SCIENCE (083) Time Allowed : 3 Hrs. Maximum Marks : 70 General Instructions

More information

For Solved Question Papers of UGC-NET/GATE/SET/PGCET in Computer Science, visit

For Solved Question Papers of UGC-NET/GATE/SET/PGCET in Computer Science, visit For Solved Question Papers of UGC-NET/GATE/SET/PGCET in Computer Science, visit http://victory4sure.weebly.com/ For Solved Question Papers of UGC-NET/GATE/SET/PGCET in Computer Science, visit http://victory4sure.weebly.com/

More information