PROGRAMS. EXCELLENT ACADEMY OF ENGINEERING. Telephone: / NORMAL PROGRAM

Size: px
Start display at page:

Download "PROGRAMS. EXCELLENT ACADEMY OF ENGINEERING. Telephone: / NORMAL PROGRAM"

Transcription

1 PROGRAMS NORMAL PROGRAM 1. Wap to display months in words where month in number is input. 2. Wap to print Fibonacci series till n elements. 3. Wap to reverse 4 digit numbers. 4. Wap to accept a number separate out digits and print sum of all digits and also print separated digits. 5. Wap to check whether given input in even and odd. 6. Wap a menu driven program to calculate sin(x), cos(x), tan(x) and exit to dos. 7. Wap to take input as a number and calculate/print its square, cube, and forth power without any unnecessary calculations. 8. Wap to print 4 s table. 9. Wap to reverse a given number. 10. Wap to print all the prime no between r1 and r2.(where r1<r2). 11. Wap to calculate GCD and LCM. 12. Wap to calculate y where y=x n where y, x are real and n is natural no. 13. Wap to find factorial of given number. 14. menu driven program to 1.add 2.sud 3.mul 4.exit Program will quit when 4 is inputted else cal respective function to perform given operation. Page 1

2 ARRAYS 1. Wap to find largest in given list of n elements and also print its position. 2. Wap to delete specified element in array. 3. Wap to accept n multiply 20 real numbers. 4. Take an array (100), compute sum and average. then count the number of values Of x greater than the average and the number less than the average. print the Values, the average and the two counts. 5. Wap to take names and marks of 50 students and print them out in descending order of marks. 6. Wap to print the largest and the second largest elements in an array of n elements. 7. Wap to calculate distance s of an object in free fall. the formula is S=S1+V!*t+1/2at 2 Make the table of s for t=1, 5, 10, 15, 20, 25, Wap that builds tables of the tip speed of propeller having diameter d (an input value) for various shrank speeds, measured in revolutions per minute. Let s= 1000, 2000, store the tip speeds and shrank speed in the table then print the tables. The formula for computing the angular velocity in radians/second. W=2 s/60 and the speed= (w*d)/2. 9. Wap to accept A(amount deposited),i(interest rate per year) and n (no. of years) from user and print F. F=A[(1+i/100) 1 +(1+i/100) 2 +(1+i/100) 3 +(1+i/100) n ] 10. Wap to calculate mean, variance and standard deviation of a set of numbers using the following formula. n Mean=1/n xi i=1 n Variance= 1/n (xi-mean) 2 i=1 Standard deviation=squareroot (variance) 11. One dimensional array a[j] has n elements. o Wap to cyclically permutes the values of A so that a[2] contains a[1],a[3] o Wap to interchange a[1]and a[2] if a[1]>a[2]and a[3]>a[4] so on Page 2

3 STRING OPERATION RELATED PROGRAM 1. Check whether the given string is palindrome or not. 2. Wap to remove extra blank places. 3. Wap to concate two strings in one. 4. Wap to reverse the given string. 5. Wap to accept no. in format 1,000 and print Wap to find duplicate in the array and print the array without duplicate. 7. Wap to count the frequency of a given character in the string. 8. Wap to check whether given substring s2 exists in the string s1. 9. Wap to find all permutation of string. MATRIX RELATED PROGRAMS 1. Wap to make a magic square matrix of 3,5,7,9,11,13, wap to take n x m matrix and print back only even rows elements row wise. 3. Wap to check that whether (A*B)^t=A^t*B^t Where matrix a is of M*L and matrix b is of L*N. 4. Wap to check whether matrix in symmetric or not. (A=A T ). 5. Wap to check whether given matrix is diagonal or not. 6. Wap to print only even no. of rows. 7. Wap to add, subtract, multiply two matrixes. 8. Find all the minmax or Saddle point in the given matrix. (Saddle point or minmax point is the point which is minimum in its row and Maximum in its column) Page 3

4 FUNCTIONS 1. wap to illustrate parameter passing technique to add two numbers. Call add (a,b, c) where a, b are parameters and c is reference to store answer. 1. Wap to print Fibonacci series till n elements using fibo(). 2. Wap recursive function to calculate GCD of given no. 3. Wap recursive function to calculate factorial of a given number. 4. Wap to calculate bio where bio=n! /(r!*(n-r)!) r,n are natural numbers. Use functions bio (). STRUCTURES 1. Wap to declare c structure for computer configuration having cpu type,sdrae-size, clock speed, hdd size, cdrome type(rom,r/w), cd rom speed, mouse-type, keyboard type, SVGA_monitor_make. Read info of 50 computers and list computers more than 8GB. 2. Wap to accept player s name, country, no of matches played and batting average. And print the list in descending order of the batting average. 3. Wap to accept records n students with structure name, date of birth, total marks obtained also use structure DOB to represent date of birth. Print the list in descending order of total marks. 4. Wap to declare structure for employee having name, e-code, salary. Read information for 30 employees and list only having salary greater than Page 4

5 OTHER PROGRAMS 1. Wap to print A B C D C B A A B C B A A B A A 2. Wap to print Pascal s triangle Floyd's triangle Page 5

6 FROM THE CONCEPTS OF OOPS 1) Write a program in C++ to download + = operator to add 2 distances given in feet and inches. (10 Marks) 2) An educational institution wishes to maintain a database of its employees. The database is divided into a number of classes, as shown below. Specify all the classes and define functions to create a database and retrieve individual information as and when required. Assume necessary data. (10 Marks) Staff Code name Teacher Officer Subject Typist Grade experience Speed dept. experience Regular Basic sal. Casual Duration 3) Using constructor write a program in C++ to generate first n terms of Fibonacci Series. Fibonacci Series is 0,1. 1,2,3,5,8.. (10 Marks) Page 6

7 4) Create a class Float that contains one Float data member, overloaded all the four arithmetic operators so that they operate on the objects of FLOAT. 5) Create a base class Rectangle that contains Length and Width as data members. From this class drive a class named Box that has additional data members named depth. The function members of base Rectangle class should consist of a constructor and an area () function. The derived Box class should have a constructor and an override function named area () that returns the surface area of Box and a Volume function. Write a C++ program on above class calling all the member functions. (10 Marks) 6) Write a class to represent a vector (a series of float values) include member functions to perform the following task: i) To create the vector ii) To modify the value of a given element iii) To multiply by a scalar value iv) To display the vector in the form (10,20,30 ) (10 Marks) 7) Create a base class called shape. Use this class to store two double type values that could be used to compute the area of figures. Derive two specific classes called triangle and rectangle from the base shape. Add to the base class, a member function get_data () to initialize base class data members and another member function display_area () to compute and display the area of figures. Make display_area () as a virtual function and redefine this function in the derived classes to suit their requirements. Using these 3 classes, design a program that will accept dimensions of a rectangle and display the area. Remember the two values given as input will be trated as lengths of two sides in the case of rectangles, and as base and height in the case of triangles, and used as follows: Area of rectangle = x*y Area of triangle = (1/2)*x*y (9 Marks) 8) Write programs to evaluate different functions to % accuracy: 1) sin x = x- (x3/3!)+(x5/5!)-(x7/7!)+.. 2) cos x = 1-(x2/2!)+(x4/4!)-(x6/6!)+ (5 Marks) Page 7

8 9) An educational institution wishes to maintain a database of its students. The database is divided into number of classes, whose relationships are shown below. Fig. below also shows the minimum information required for each class. Specify all the classes and define functions to create the database and retrieve individual information as and when required. (12 Marks) Student Roll no. Sports Score Test Mark 1 Mark 2 Results Score 10) Develop a class for linked list (Dynamic data structure) with the following member functions to carryout the following: (20 Marks) (i) Create a linked list of store set of integer data. (ii) Display the Linked list. (iii) Insert a node containing data in a sorted list (iv) Delete a node from the list containing a specific data. Use object as node rather than using a struct variable to model a node. Page 8

9 SEMESTER 2 CP II JAVA PROF. JOIN SOON Page 9

Subject: Computer Science

Subject: Computer Science Subject: Computer Science Topic: Data Types, Variables & Operators 1 Write a program to print HELLO WORLD on screen. 2 Write a program to display output using a single cout statement. 3 Write a program

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

[6] [6] [6] [5] [5] [6] [5] [5]

[6] [6] [6] [5] [5] [6] [5] [5] M.K. Institute of Computer Studies,Bharuch Programming Language-I Programs April/May - 2005. Write a C program to find the factorial of a user inputted number. 2. Write a program to find the sum of 4 digits

More information

Suggestive List of C++ Programs

Suggestive List of C++ Programs Suggestive List of C++ Programs 1. Write a C++ program to display Hello World! on the output screen. 2. Write a program to display Multiplication Table of a number inputted by the user. 3. Write a program

More information

Object Oriented Programming 2012

Object Oriented Programming 2012 1. Write a program to display the following output using single cout statement. Maths = 90 Physics =77 Chemestry =69 2. Write a program to read two numbers from the keyboard and display the larger value

More information

B. V. Patel Institute of Business Management, Computer & Information Technology, UTU 2013

B. V. Patel Institute of Business Management, Computer & Information Technology, UTU 2013 Information Technology, UTU 203 030000 Fundamentals of Programming Problems to be solved in laboratory Note: Journal should contain followings for all problems given below:. Problem Statement 2. Algorithm

More information

INDIAN SCHOOL MUSCAT COMPUTER SCIENCE(083) CLASS XI

INDIAN SCHOOL MUSCAT COMPUTER SCIENCE(083) CLASS XI INDIAN SCHOOL MUSCAT COMPUTER SCIENCE(083) CLASS XI 2017-2018 Worksheet No. 1 Topic : Getting Started With C++ 1. Write a program to generate the following output: Year Profit% 2011 18 2012 27 2013 32

More information

UNIVERSITY OF ENGINEERING & MANAGEMENT, KOLKATA C ASSIGNMENTS

UNIVERSITY OF ENGINEERING & MANAGEMENT, KOLKATA C ASSIGNMENTS UNIVERSITY OF ENGINEERING & MANAGEMENT, KOLKATA C ASSIGNMENTS All programs need to be submitted on 7th Oct 206 by writing in hand written format in A4 sheet. Flowcharts, algorithms, source codes and outputs

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

Rani Durgavati Vishwavidyalaya Jabalpur (M.P.) (UICSA) Master of Computer Application (MCA) Practical List of. MCA III SEM Session -2010

Rani Durgavati Vishwavidyalaya Jabalpur (M.P.) (UICSA) Master of Computer Application (MCA) Practical List of. MCA III SEM Session -2010 Rani Durgavati Vishwavidyalaya Jabalpur (M.P.) (UICSA) Master of Computer Application (MCA) Practical List of MCA III SEM Session -2010 MCA-301 - Object Oriented Programming in C++ 1. WAP to generate Fibonacci

More information

Downloaded from

Downloaded from CLASS 11 COMPUTER SCIENCE (83) PRACTICAL LIST 1. Write a C++ Program to find area & circumference of circle. 2. Write a C++ Program to display ASCII character & vice versa. 3. Write a C++ Program to find

More information

Practical List of. MCA IV SEM Session -2010

Practical List of. MCA IV SEM Session -2010 1. WAP to create own exception. Rani Durgavati Vishwavidyalaya Jabalpur (M.P.) (UICSA) Master of Computer Application (MCA) Practical List of MCA IV SEM Session -2010 MCA-401 - Internet and Java Programming

More information

Syllabus of Diploma Engineering. Computer Engineering. Semester: II. Subject Name: Computer Programming. Subject Code: 09CE1104

Syllabus of Diploma Engineering. Computer Engineering. Semester: II. Subject Name: Computer Programming. Subject Code: 09CE1104 Semester: II Subject Name: Computer Programming Subject Code: 09CE1104 Objective: This Course will help to develop programming skills in the students, using a structured programming language `C'. Students

More information

Week 0. Net Salary =Earnings- deductions; Read the employee number, Basic Print employee Number, Earnings,Deductions and Net salary.

Week 0. Net Salary =Earnings- deductions; Read the employee number, Basic Print employee Number, Earnings,Deductions and Net salary. Week 0. 1. Write a C program that evaluate the following expressions. Assume suitable values for various variables and print the left hand side variable. a) D=ut+1/2 ut 2 b) B=a*e kt c) P=RT/v d) Val=ax

More information

Lab Manual. Program Design and File Structures (P): IT-219

Lab Manual. Program Design and File Structures (P): IT-219 Lab Manual Program Design and File Structures (P): IT-219 Lab Instructions Several practicals / programs? Whether an experiment contains one or several practicals /programs One practical / program Lab

More information

CP I LAB MANUAL. Expt No 2 To Check Whether A Year Is A Leap Year Using if-else-if.

CP I LAB MANUAL. Expt No 2 To Check Whether A Year Is A Leap Year Using if-else-if. CP I LAB MANUAL Expt No: 1 To find roots of quadratic equation if-else statement Sample Output Enter the coefficients 1-4 4 The roots are 2 & 2 A 1) start 2) declare the required variables 3) read the

More information

Algorithms 4. Odd or even Algorithm 5. Greatest among three numbers Algorithm 6. Simple Calculator Algorithm

Algorithms 4. Odd or even Algorithm 5. Greatest among three numbers Algorithm 6. Simple Calculator Algorithm s 4. Odd or even Step 3 : If number divisible by 2 then Print "Number is Even" Step 3.1 : else Print "Number is Odd" Step 4 : Stop 5. Greatest among three numbers Step 2 : Read values of a, b and c Step

More information

Object Oriented Programming Using C ++ Page No. : 1. ASSIGNMENT SHEET WITHOUT USING OBJECT AND CLASSES

Object Oriented Programming Using C ++ Page No. : 1. ASSIGNMENT SHEET WITHOUT USING OBJECT AND CLASSES Object Oriented Programming Using C ++ Page No. : 1. ASSIGNMENT SHEET WITHOUT USING OBJECT AND CLASSES 1. Write a program to calculate the sum of two numbers using function. 2. Write a program to calculate

More information

Question Bank (SPA SEM II)

Question Bank (SPA SEM II) Question Bank (SPA SEM II) 1. Storage classes in C (Refer notes Page No 52) 2. Difference between function declaration and function definition (This question is solved in the note book). But solution is

More information

C- PROGRAMMING (3:0:0) Sub code : CS1C01/CS2C01 CIE : 50%Marks Hrs/week : 03 SEE : 50%Marks SEE Hrs : 03 Hours Max. Marks: 100 Course Outcomes:

C- PROGRAMMING (3:0:0) Sub code : CS1C01/CS2C01 CIE : 50%Marks Hrs/week : 03 SEE : 50%Marks SEE Hrs : 03 Hours Max. Marks: 100 Course Outcomes: C- PROGRAMMING (3:0:0) Sub code : CS1C01/CS2C01 CIE : 50%Marks Hrs/week : 03 SEE : 50%Marks SEE Hrs : 03 Hours Max. Marks: 100 Course Outcomes: On successful completion of the course, the students will

More information

Write a java program to prints the count of odd and even no s entered.

Write a java program to prints the count of odd and even no s entered. Dated: 27-01-2014 ALIGARH MUSLIM UNIVERSITY Department of Computer Science CS-2P1: Object Oriented Programming Using JAVA Java Lab Assignment Course: MCA (Semester-II nd ) Academic Session: 2013-2014 Note:

More information

UNIVERSITY OF MUMBAI T.Y.B.Sc.( INFORMATION TECHNOLOGY) (Semester V) (Practical) EXAMINATION OCTOBER ASP.NET with C# Seat No. : Max.

UNIVERSITY OF MUMBAI T.Y.B.Sc.( INFORMATION TECHNOLOGY) (Semester V) (Practical) EXAMINATION OCTOBER ASP.NET with C# Seat No. : Max. 1. Write an application that receives the following information from a set of students: Student Id: Student Name: Course Name: Date of Birth: The application should also display the information of all

More information

VALLIAMMAI ENGINEERING COLLEGE SRM NAGAR, KATTANGULATHUR

VALLIAMMAI ENGINEERING COLLEGE SRM NAGAR, KATTANGULATHUR VALLIAMMAI ENGINEERING COLLEGE SRM NAGAR, KATTANGULATHUR 603 203 FIRST SEMESTER B.E / B.Tech., (Common to all Branches) QUESTION BANK - GE 6151 COMPUTER PROGRAMMING UNIT I - INTRODUCTION Generation and

More information

Babaria Institute of Technology Computer Science and Engineering Department Practical List of Object Oriented Programming with C

Babaria Institute of Technology Computer Science and Engineering Department Practical List of Object Oriented Programming with C Practical -1 Babaria Institute of Technology LEARN CONCEPTS OF OOP 1. Explain Object Oriented Paradigm with figure. 2. Explain basic Concepts of OOP with example a. Class b. Object c. Data Encapsulation

More information

PROGRAMMING IN C LAB MANUAL FOR DIPLOMA IN ECE/EEE

PROGRAMMING IN C LAB MANUAL FOR DIPLOMA IN ECE/EEE PROGRAMMING IN C LAB MANUAL FOR DIPLOMA IN ECE/EEE 1. Write a C program to perform addition, subtraction, multiplication and division of two numbers. # include # include int a, b,sum,

More information

ALIGARH MUSLIM UNIVERSITY Department of Computer Science. JAVA Lab Assignment Course: MCA II nd Semester Academic Session:

ALIGARH MUSLIM UNIVERSITY Department of Computer Science. JAVA Lab Assignment Course: MCA II nd Semester Academic Session: ALIGARH MUSLIM UNIVERSITY Department of Computer Science Dated: 25-01-2016 JAVA Lab Assignment Course: MCA II nd Semester Academic Session: 2015-2016 CSM-241: Object Oriented Programming Using JAVA Note:

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

Questions Bank. 14) State any four advantages of using flow-chart

Questions Bank. 14) State any four advantages of using flow-chart Questions Bank Sub:PIC(22228) Course Code:-EJ-2I ----------------------------------------------------------------------------------------------- Chapter:-1 (Overview of C Programming)(10 Marks) 1) State

More information

List of Practical for Master in Computer Application (5 Year Integrated) (Through Distance Education)

List of Practical for Master in Computer Application (5 Year Integrated) (Through Distance Education) List of Practical for Master in Computer Application (5 Year Integrated) (Through Distance Education) Directorate of Distance Education Guru Jambeshwar University of Science & Technology, Hissar First

More information

Lesson Plan. Subject: OBJECT ORIENTED PROGRAMMING USING C++ :15 weeks (From January, 2018 to April,2018)

Lesson Plan. Subject: OBJECT ORIENTED PROGRAMMING USING C++ :15 weeks (From January, 2018 to April,2018) Lesson Plan Name of the Faculty Discipline Semester :Mrs. Reena Rani : Computer Engineering : IV Subject: OBJECT ORIENTED PROGRAMMING USING C++ Lesson Plan Duration :15 weeks (From January, 2018 to April,2018)

More information

Loops / Repetition Statements

Loops / Repetition Statements Loops / Repetition Statements Repetition statements allow us to execute a statement multiple times Often they are referred to as loops C has three kinds of repetition statements: the while loop the for

More information

CSE 212 : JAVA PROGRAMMING LAB. IV Sem BE (CS&E) (2013) DEPT OF COMPUTER SCIENCE & ENGG. M. I. T., MANIPAL. Prepared By : Approved by :

CSE 212 : JAVA PROGRAMMING LAB. IV Sem BE (CS&E) (2013) DEPT OF COMPUTER SCIENCE & ENGG. M. I. T., MANIPAL. Prepared By : Approved by : 1 CODE: CSE212 CSE 212 : JAVA PROGRAMMING LAB IV Sem BE (CS&E) (2013) DEPT OF COMPUTER SCIENCE & ENGG. M. I. T., MANIPAL Prepared By : Approved by : Dr. Harish S. V. Mr. Chidananda Acharya Ms. Roopashri

More information

LOOPS. 1- Write a program that prompts user to enter an integer N and determines and prints the sum of cubes from 5 to N (i.e. sum of 5 3 to N 3 ).

LOOPS. 1- Write a program that prompts user to enter an integer N and determines and prints the sum of cubes from 5 to N (i.e. sum of 5 3 to N 3 ). LOOPS 1- Write a program that prompts user to enter an integer N and determines and prints the sum of cubes from 5 to N (i.e. sum of 5 3 to N 3 ). 2-Give the result of the following program: #include

More information

Tribhuvan University Institute of Science and Technology 2065

Tribhuvan University Institute of Science and Technology 2065 1CSc.102-2065 2065 Candidates are required to give their answers in their own words as for as practicable. 1. Draw the flow chart for finding largest of three numbers and write an algorithm and explain

More information

UNIT I : OVERVIEW OF COMPUTERS AND C-PROGRAMMING

UNIT I : OVERVIEW OF COMPUTERS AND C-PROGRAMMING SIDDARTHA INSTITUTE OF SCIENCE AND TECHNOLOGY:: PUTTUR Siddharth Nagar, Narayanavanam Road 517583 QUESTION BANK (DESCRIPTIVE) Subject with Code : PROGRAMMING FOR PROBLEM SOLVING (18CS0501) Course & Branch

More information

Hrs Hrs Hrs Hrs Hrs Marks Marks Marks Marks Marks

Hrs Hrs Hrs Hrs Hrs Marks Marks Marks Marks Marks Subject Code: CC103-N Subject Title: FUNDAMENTALS OF PROGRAMMING Teaching scheme Total L T P Total Theory Credit Evaluation Scheme Mid Sem Exam CIA Pract. Total Hrs Hrs Hrs Hrs Hrs Marks Marks Marks Marks

More information

AHLCON PUBLIC SCHOOL, MAYUR VIHAR I, DELHI ASSIGNMENT CLASS XI Session Chapter 1: Computer Overview

AHLCON PUBLIC SCHOOL, MAYUR VIHAR I, DELHI ASSIGNMENT CLASS XI Session Chapter 1: Computer Overview AHLCON PUBLIC SCHOOL, MAYUR VIHAR I, DELHI - 110091 ASSIGNMENT CLASS XI Session 2018-19 Chapter 1: Computer Overview 1. 2. 3. What is the difference between data and information. What is CPU. Explain the

More information

PDS Lab (Assignment 1) Date: 31 st July, 2017 (2-6 pm)

PDS Lab (Assignment 1) Date: 31 st July, 2017 (2-6 pm) PDS Lab (Assignment 1) Date: 31 st July, 2017 (2-6 pm) (1) Write a C program to print your name. (2) Write a C program to convert the temparature from Fahrenheit to Celsius. Take the temparature in Fahrenheit

More information

Practical Exercise 1 Question 1: The Hello World Program Write a Fortran 95 program to write out Hello World on the screen.

Practical Exercise 1 Question 1: The Hello World Program Write a Fortran 95 program to write out Hello World on the screen. Practical Exercise Question : The Hello World Program Write a Fortran 95 program to write out Hello World on the screen. Question : Some Division One Results A particular number can be expressed as the

More information

GEOMETRY. slide #3. 6th Grade Math Unit 7. 6th Grade Unit 7: GEOMETRY. Name: Table of Contents. Area of Rectangles

GEOMETRY. slide #3. 6th Grade Math Unit 7. 6th Grade Unit 7: GEOMETRY. Name: Table of Contents. Area of Rectangles Name: 6th Grade Math Unit 7 GEOMETRY 2012 10 17 www.njctl.org 1 Table of Contents Area of Rectangles Area of Parallelograms Area of Triangles Area of Trapezoids Mixed Review Area of Irregular Figures Area

More information

Lesson 24: Surface Area

Lesson 24: Surface Area Student Outcomes Students determine the surface area of three-dimensional figures, those that are composite figures and those that have missing sections. Lesson Notes This lesson is a continuation of Lesson

More information

Time: 3 HOURS Maximum Marks: 100

Time: 3 HOURS Maximum Marks: 100 ANNA UNIVERSITY:CHENNAI 600 025 M.E/M.Tech. DEGREE EXAMINATIONS, NOV./DEC. 2014 Regulations 2013 Third Semester B.E. Computer Science and Engineering CS6311: PROGRAMMING AND DATA STRUCTURES LABORATORY

More information

How to Do Word Problems. Study of Integers

How to Do Word Problems. Study of Integers Study of Integers In this chapter, we are are going to closely look at the number line system and study integers. -3-2 -1 0 1 2 3 4 5 6 An integer is simply a number like 0, 1, 2, 3, and 4, but unlike

More information

Syllabus for Bachelor of Technology. Computer Engineering. Subject Code: 01CE1303. B.Tech. Year - II

Syllabus for Bachelor of Technology. Computer Engineering. Subject Code: 01CE1303. B.Tech. Year - II Subject Code: 01CE1303 Subject Name: Object Oriented Design and Programming B.Tech. Year - II Objective: The objectives of the course are to have students identify and practice the object-oriented programming

More information

1 Short Answer (15 Points Each)

1 Short Answer (15 Points Each) Name: Write all of your responses on these exam pages. If you need extra space please use the backs of the pages. 1 Short Answer (15 Points Each) 1. Write the following Java declarations, (a) A double

More information

Sardar Patel University S Y BSc. Computer Science CS-201 Introduction to Programming Language Effective from July-2002

Sardar Patel University S Y BSc. Computer Science CS-201 Introduction to Programming Language Effective from July-2002 Sardar Patel University S Y BSc. Computer Science CS-201 Introduction to Programming Language Effective from July-2002 2 Practicals per week External marks :80 Internal Marks : 40 Total Marks :120 University

More information

Ascending. Load. Descending. Save. Exit. Numbers

Ascending. Load. Descending. Save. Exit. Numbers 1. Create an abstract class shape. Derive three classes sphere, cone and cylinder from it. Calculate area and volume of all (use method overriding) [30] 2. Design an HTML page containing 4 option buttons

More information

Computer Science & Engineering. Second Year

Computer Science & Engineering. Second Year 18 Second Year 19 Second Year (P.C. 311/71) Subject : OOPS & JAVA Paper - I Time : 3 Hours Max. Marks : 50 Section - I ( 1 x 40 = 40 Marks) 1. (a) Write a simple Java program to print a line of text. (b)

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

Stratford upon Avon School Mathematics Homework Booklet

Stratford upon Avon School Mathematics Homework Booklet Stratford upon Avon School Mathematics Homework Booklet Year: 7 Scheme: 1 Term: 1 Name: Show your working out here Homework Sheet 1 1: Write 7:43 pm using the 24 hour clock 11: Find the area of this shape.

More information

FUNDAMENTALS OF MICROPROCESSOR AND MICROCONTROLLER (FMM) SHREE RAMCHANDRA EDUCATION SOCIETY S DEPARTMENY OF ELECTRICAL ENGINEERING LAB MANUAL

FUNDAMENTALS OF MICROPROCESSOR AND MICROCONTROLLER (FMM) SHREE RAMCHANDRA EDUCATION SOCIETY S DEPARTMENY OF ELECTRICAL ENGINEERING LAB MANUAL SHREE RAMCHANDRA EDUCATION SOCIETY S SHREE RAMCHANDRA COLLEGE OF ENGINEERING, LONIKAND, PUNE 412 216 DEPARTMENY OF ELECTRICAL ENGINEERING LAB MANUAL FUNDAMENTALS OF MICROPROCESSOR AND MICROCONTROLLER (FMM)

More information

Aryan College. Fundamental of C Programming. Unit I: Q1. What will be the value of the following expression? (2017) A + 9

Aryan College. Fundamental of C Programming. Unit I: Q1. What will be the value of the following expression? (2017) A + 9 Fundamental of C Programming Unit I: Q1. What will be the value of the following expression? (2017) A + 9 Q2. Write down the C statement to calculate percentage where three subjects English, hindi, maths

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

Course Outlines. Elementary Mathematics (Grades K-5) Kids and Numbers (Recommended for K-1 students)

Course Outlines. Elementary Mathematics (Grades K-5) Kids and Numbers (Recommended for K-1 students) Course Outlines Elementary Mathematics (Grades K-5) Kids and Numbers (Recommended for K-1 students) Shapes and Patterns. Grouping objects by similar properties. Identifying simple figures within a complex

More information

Programming for Problem Solving 105A L T P Credit Major Minor Total Time

Programming for Problem Solving 105A L T P Credit Major Minor Total Time ES- Programming for Problem Solving 105A L T P Credit Major Minor Total Time Test Test 3 - - 3 75 25 100 3h Purpose To familiarize the students with the basics of Computer System and C Programming Course

More information

VALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK

VALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK VALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur 603203. DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK Degree & Branch : B.E E.C.E. Year & Semester : II / IV Section : ECE 1, 2 &

More information

(i) Describe in detail about the classification of computers with their features and limitations(10)

(i) Describe in detail about the classification of computers with their features and limitations(10) UNIT I - INTRODUCTION Generation and Classification of Computers- Basic Organization of a Computer Number System Binary Decimal Conversion Problems. Need for logical analysis and thinking Algorithm Pseudo

More information

A A B U n i v e r s i t y

A A B U n i v e r s i t y A A B U n i v e r s i t y Faculty of Computer Sciences O b j e c t O r i e n t e d P r o g r a m m i n g Week 10: I n h e r i t a n c e Asst. Prof. Dr. M entor Hamiti mentor.hamiti@universitetiaab.com

More information

KRISHNA KANTA HANDIQUI STATE OPEN UNIVERSITY Hiranya Kumar Bhuyan School of Science and Technology

KRISHNA KANTA HANDIQUI STATE OPEN UNIVERSITY Hiranya Kumar Bhuyan School of Science and Technology KRISHNA KANTA HANDIQUI STATE OPEN UNIVERSITY Hiranya Kumar Bhuyan School of Science and Technology HOME ASSIGNMENT FOR MASTER OF COMPUTER APPLICATION (MCA) & MASTER OF SCIENCE IN INFORMATION TECHNOLOGY

More information

OBJECT ORIENTED AND MULTICORE PROGRAMMING LABORATORY

OBJECT ORIENTED AND MULTICORE PROGRAMMING LABORATORY LABORATORY MANUAL OBJECT ORIENTED AND MULTICORE PROGRAMMING LABORATORY SE-COMP SEMESTER-II TEACHING SCHEME EXAMINATION SCHEME Lectures: 3 Hrs/Week Theory: 50 Marks Practical: 2 Hrs/Week On-Line: 50 Marks

More information

Q1 Q2 Q3 Q4 Q5 Total 1 * 7 1 * 5 20 * * Final marks Marks First Question

Q1 Q2 Q3 Q4 Q5 Total 1 * 7 1 * 5 20 * * Final marks Marks First Question Page 1 of 6 Template no.: A Course Name: Computer Programming1 Course ID: Exam Duration: 2 Hours Exam Time: Exam Date: Final Exam 1'st Semester Student no. in the list: Exam pages: Student's Name: Student

More information

Kadi Sarva Vishwavidyalaya, Gandhinagar

Kadi Sarva Vishwavidyalaya, Gandhinagar Kadi Sarva Vishwavidyalaya, Gandhinagar MASTERS OF COMPUTER APPLICATION (MCA) Semester I (First Year) Subject: MCA-101 Programming for Logic Building (LDPL) SUB Teaching scheme Examination scheme Total

More information

Syllabus Under Autonomy Mathematics

Syllabus Under Autonomy Mathematics Syllabus Under Autonomy Mathematics Semester VI Course: Applied Component(Paper-I) [25 Lectures] Computer Programming and System Analysis(Java Programming & Networking) Learning Objectives:- To learn about

More information

DEPARTMENT OF INFORMATION TECHNOLOGY

DEPARTMENT OF INFORMATION TECHNOLOGY DEPARTMENT OF INFORMATION TECHNOLOGY II Year/III Sem CS8392- OBJECT ORIENTED PROGRAMMING Prepared by: Komal Kumar.N, AP/IT, VTHT UNIVERSITY QUESTIONS FROM 2011 to 2018 PART-A 1. What are the advantages

More information

APCS-AB: Java. Recursion in Java December 12, week14 1

APCS-AB: Java. Recursion in Java December 12, week14 1 APCS-AB: Java Recursion in Java December 12, 2005 week14 1 Check point Double Linked List - extra project grade Must turn in today MBCS - Chapter 1 Installation Exercises Analysis Questions week14 2 Scheme

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

ANNA UNIVERSITY: CHENNAI B.E./B.Tech. DEGREE EXAMINATIONS, JAN Regulations First Semester (Common to All Branches )

ANNA UNIVERSITY: CHENNAI B.E./B.Tech. DEGREE EXAMINATIONS, JAN Regulations First Semester (Common to All Branches ) ANNA UNIVERSITY: CHENNAI 600 025 B.E./B.Tech. DEGREE EXAMINATIONS, JAN - 2012 Regulations - 2008 First Semester (Common to All Branches ) GE 2115 - COMPUTER PRACTICE LABORATORY I Note: Mark distribution

More information

UNIT 4: LENGTH, AREA, AND VOLUME WEEK 16: Student Packet

UNIT 4: LENGTH, AREA, AND VOLUME WEEK 16: Student Packet Name Period Date UNIT 4: LENGTH, AREA, AND VOLUME WEEK 16: Student Packet 16.1 Circles: Area Establish the area formula for a circle. Apply the area formula for a circle to realistic problems. Demonstrate

More information

Chapter 1. Computer Overview

Chapter 1. Computer Overview DELHI PUBLIC SCHOOL, Durgapur QUESTION BANK of computer science FOR block test-i examination (2018-19) CLASS-XI Chapter 1. Computer Overview 1. What is data? What is information? 2. Name the subunits of

More information

LIST OF EXPERIMENTS. (1) (Office Automation)

LIST OF EXPERIMENTS. (1) (Office Automation) LIST OF EXPERIMENTS (1) 310042 (Office Automation) 1 Computer Fundamentals 2 DOS Command 3 Execute DOS Command using examples. 4 Introduction to windows & familarity with controls. 5 Introduction of Ms-Office

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

VARIABLE, OPERATOR AND EXPRESSION [SET 1]

VARIABLE, OPERATOR AND EXPRESSION [SET 1] VARIABLE, OPERATOR AND EXPRESSION Question 1 Write a program to print HELLO WORLD on screen. Write a program to display the following output using a single cout statement. Subject Marks Mathematics 90

More information

Matrix Inverse 2 ( 2) 1 = 2 1 2

Matrix Inverse 2 ( 2) 1 = 2 1 2 Name: Matrix Inverse For Scalars, we have what is called a multiplicative identity. This means that if we have a scalar number, call it r, then r multiplied by the multiplicative identity equals r. Without

More information

MA 511: Computer Programming Lecture 3: Partha Sarathi Mandal

MA 511: Computer Programming Lecture 3: Partha Sarathi Mandal MA 511: Computer Programming Lecture 3: http://www.iitg.ernet.in/psm/indexing_ma511/y10/index.html Partha Sarathi Mandal psm@iitg.ernet.ac.in Dept. of Mathematics, IIT Guwahati Semester 1, 2010-11 Last

More information

List of Practical for Class XII Computer Science

List of Practical for Class XII Computer Science List of Practical for Class XII Computer Science P.01. Write a complete C++ program to define class Garment with following description: Private members: Code - type string Type - type string Size - type

More information

SECTION A TRUE / FALSE QUESTIONS (10 MARKS) (INSTRUCTION: Please answer all 10 questions)

SECTION A TRUE / FALSE QUESTIONS (10 MARKS) (INSTRUCTION: Please answer all 10 questions) SECTION A TRUE / FALSE QUESTIONS ( MARKS) (INSTRUCTION: Please answer all questions) 1) In pre-test loop, the condition is tested first, before executing the body of the loop. ) The while loop can be used

More information

New York State Testing Program Mathematics Test

New York State Testing Program Mathematics Test New York State Testing Program Mathematics Test 2013 Turnkey Training Grade 6 Extended-response (3-point) Sample Question Guide Set Page 0 8 2 A closed box in the shape of a rectangular prism has a length

More information

Review Guide for Term Paper (Teza)

Review Guide for Term Paper (Teza) Review Guide for Term Paper (Teza) We will soon have a term paper over the material covered in Chapters 1, 2, 8, 9, 15, 22, 23, 16 and 3. In Chapter 1 we covered: Place value, multiplying and dividing

More information

Lesson #3. Variables, Operators, and Expressions. 3. Variables, Operators and Expressions - Copyright Denis Hamelin - Ryerson University

Lesson #3. Variables, Operators, and Expressions. 3. Variables, Operators and Expressions - Copyright Denis Hamelin - Ryerson University Lesson #3 Variables, Operators, and Expressions Variables We already know the three main types of variables in C: int, char, and double. There is also the float type which is similar to double with only

More information

I SEMESTER EXAM : : XI :COMPUTER SCIENCE : MAX MARK a) What is the difference between Hardware and Software? Give one example for each.

I SEMESTER EXAM : : XI :COMPUTER SCIENCE : MAX MARK a) What is the difference between Hardware and Software? Give one example for each. I SEMESTER EXAM : : XI :COMPUTER SCIENCE : MAX MARK 70. a) What is the difference between Hardware and Software? Give one example for each. b) Give two differences between primary and secondary memory.

More information

INDIAN SCHOOL SOHAR FIRST TERM EXAM ( ) INFORMATICS PRACTICES

INDIAN SCHOOL SOHAR FIRST TERM EXAM ( ) INFORMATICS PRACTICES INDIAN SCHOOL SOHAR FIRST TERM EXAM (2015-2016) INFORMATICS PRACTICES Page 1 of 5 No. of printed pages: 5 Class: XI Marks: 70 Date: 10-09-15 Time: 3 hours Instructions: a. All the questions are compulsory.

More information

Sai Nath University. Assignment For MCA 1 st

Sai Nath University. Assignment For MCA 1 st Sai Nath University Assignment For MCA 1 st Sem. The Assignment will consist of two parts, A and B. will have 5 short answer questions(40-60 words) of 4 marks each. will have 4 long answer questions of

More information

The Hyderabad Public School Begumpet, Hyderabad, A.P.

The Hyderabad Public School Begumpet, Hyderabad, A.P. The Hyderabad Public School Begumpet, Hyderabad, A.P. Department of Computer Science Mid Term Examination 2013 Worksheet-1 Sub: Computer Applications Class:10 1. Define the term Byte code. 2. What do you

More information

ENGINEERING PROBLEM SOLVING WITH C++

ENGINEERING PROBLEM SOLVING WITH C++ ENGINEERING PROBLEM SOLVING WITH C++ Second Edition Delores M. Etter Electrical Engineering Department United States Naval Academy Jeanine A. Ingber Training Consultant Sandia National Laboratories Upper

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

Department of Computer Science & Engineering Indian Institute of Technology Kharagpur. Practice Sheet #05

Department of Computer Science & Engineering Indian Institute of Technology Kharagpur. Practice Sheet #05 Department of Computer Science & Engineering Indian Institute of Technology Kharagpur Topic: Functions in C Practice Sheet #05 Date: 30-01-2017 Instructions: For the questions consisting code segments,

More information

Practice problems Set 2

Practice problems Set 2 Practice problems Set 2 1) Write a program to obtain transpose of a 4 x 4 matrix. The transpose of matrix is obtained by exchanging the elements of each row with the elements of the corresponding column.

More information

VALLIAMMAI ENGINEERING COLLEGE

VALLIAMMAI ENGINEERING COLLEGE VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur 60 20 DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK B.E I SEMESTER GE85- Problem Solving and Python Programming Regulation 207 Academic

More information

Grade 7 Mensuration - Perimeter, Area, Volume

Grade 7 Mensuration - Perimeter, Area, Volume ID : ae-7-mensuration-perimeter-area-volume [1] Grade 7 Mensuration - Perimeter, Area, Volume For more such worksheets visit www.edugain.com Answer the questions (1) A teacher gave a rectangular colouring

More information

CORE JAVA TRAINING COURSE CONTENT

CORE JAVA TRAINING COURSE CONTENT CORE JAVA TRAINING COURSE CONTENT SECTION 1 : INTRODUCTION Introduction about Programming Language Paradigms Why Java? Flavors of Java. Java Designing Goal. Role of Java Programmer in Industry Features

More information

Measures of Central Tendency

Measures of Central Tendency Page of 6 Measures of Central Tendency A measure of central tendency is a value used to represent the typical or average value in a data set. The Mean The sum of all data values divided by the number of

More information

FOURTH GRADE Mathematics Standards for the Archdiocese of Detroit

FOURTH GRADE Mathematics Standards for the Archdiocese of Detroit FOURTH GRADE Mathematics Standards for the Archdiocese of Detroit *Provide 3 dates for each standard Initial Date(s) Operations and Algebraic Thinking. Use the four operations with whole numbers to solve

More information

1. Basics 1. Write a program to add any two-given integer. Algorithm Code 2. Write a program to calculate the volume of a given sphere Formula Code

1. Basics 1. Write a program to add any two-given integer. Algorithm Code  2. Write a program to calculate the volume of a given sphere Formula Code 1. Basics 1. Write a program to add any two-given integer. Algorithm - 1. Start 2. Prompt user for two integer values 3. Accept the two values a & b 4. Calculate c = a + b 5. Display c 6. Stop int a, b,

More information

Mathematics Year 9-11 Skills and Knowledge Checklist. Name: Class: Set : 4 Date Year 9 MEG :

Mathematics Year 9-11 Skills and Knowledge Checklist. Name: Class: Set : 4 Date Year 9 MEG : Personal targets to help me achieve my grade : AFL Sheet Number 1 : Integers, Decimals, Fractions Integers I can multiply single digit numbers (know my times tables) I can multiply and divide by a power

More information

C PROGRAMMING LAB MANUAL

C PROGRAMMING LAB MANUAL C PROGRAMMING LAB MANUAL For BEX/BCT/B.Sc.CSIT/BIM/BCA BY BABU RAM DAWADI RAM DATTA BHATTA 448/ From the Book: Capsules of C Programming Appendix - B C PROGRAMMING LAB SHEETS Dear Students, Welcome to

More information

DEPARTMENT OF COMPUTER APPLICATIONS SRM INSTITUTE OF SCIENCE AND TECHNOLOGY SRM NAGAR, KATTANKALATHUR

DEPARTMENT OF COMPUTER APPLICATIONS SRM INSTITUTE OF SCIENCE AND TECHNOLOGY SRM NAGAR, KATTANKALATHUR DEPARTMENT OF COMPUTER APPLICATIONS SRM INSTITUTE OF SCIENCE AND TECHNOLOGY SRM NAGAR, KATTANKALATHUR SYLLABUS / QUESTION BANK Class & Semester : I ECE & II Semester Subject Code : CS152 Subject Name :

More information

BUILD YOUR VOCABULARY

BUILD YOUR VOCABULARY C H A P T E R 12 BUILD YOUR VOCABULARY This is an alphabetical list of new vocabulary terms you will learn in Chapter 12. As you complete the study notes for the chapter, you will see Build Your Vocabulary

More information

Area and Perimeter Name: Date:

Area and Perimeter Name: Date: Area and Perimeter Name: Date: RECTANGLE: PARALLELOGRAM: TRIANGLE: TRAPEZOID: PERIMETER: 1. Plot the following points on the graph above: R(-3, 2), T(-3, 7), W(-9, 2), S(-9, 7). Now connect the points.

More information

Vector: A series of scalars contained in a column or row. Dimensions: How many rows and columns a vector or matrix has.

Vector: A series of scalars contained in a column or row. Dimensions: How many rows and columns a vector or matrix has. ASSIGNMENT 0 Introduction to Linear Algebra (Basics of vectors and matrices) Due 3:30 PM, Tuesday, October 10 th. Assignments should be submitted via e-mail to: matlabfun.ucsd@gmail.com You can also submit

More information

AREA OF POLYGONS

AREA OF POLYGONS AREA OF POLYGONS 5.3.1 5.3.4 Area is the number of non-overlapping square units needed to cover the interior region of a twodimensional figure or the surface area of a three-dimensional figure. For example,

More information