TechSparxJavaTuitionsTechSparxJava

Size: px
Start display at page:

Download "TechSparxJavaTuitionsTechSparxJava"

Transcription

1 TechSparxJavaTuitionsTechSparxJava Java Question Bank TuitionsTechSparxJavaTuitionsTechSp arxjavatuitionstechsparxjavatuitions TechSparxJavaTuitionsTechSparxJava Tuitions Better than a thousand days of diligent study is one day with a TuitionsTechSparxJavaTuitionsTechSp Great Teacher Java Question Bank (version 5.3) arxjavatuitionstechsparxjavatuitions Saravanan.G TechSparxJavaTuitionsTechSparxJava TuitionsTechSparxJavaTuitionsTechSp arxjavatuitionstechsparxjavatuitions TechSparxJavaTuitionsTechSparxJava TuitionsTechSparxJavaTuitionsTechSp arxjavatuitionstechsparxjavatuitions TechSparxJavaTuitionsTechSparxJava TuitionsTechSparxJavaTuitionsTechSp arxjavatuitionstechsparxjavatuitions TechSparxJavaTuitionsTechSparxJava

2 Contents Modularization... 3 Most Simplest... 4 Decision Making Statements... 5 Switch Statement... 6 Looping Constructs... 7 Numbers... 8 Series... s... 2 Strings... 4 One Dimensional Array... 8 Searching and Sorting... 9 Strings and Arrays Classes, Objects, Functions and Constructors... 2 Two Dimensional Array Output Programs TechSparx Java Tuitions

3 Modularization Module Module 2 Module 3 Module 4 Module 5 Module 6 Module 7 Module 8 Module 9 Module 0 Module Module 2 Module 3 Module 4 Module 5 Module 6 Module 7 Module 8 Java basics Most Simplest Decision Making Statements Switch Statement Looping Constructs Numbers Series s Strings One Dimensional Array Searching and Sorting Strings and Arrays Classes, Objects, Functions and Constructors Exception Handling Encapsulation(Access Specifier) Scanner class Two Dimensional Array Output Programs Theoretical -BufferedReader -Input and Output Stream -Wrapper class -Math class 3 TechSparx Java Tuitions

4 Most Simplest. Write a program (WAP) to print Hello World. 2. WAP to print your name. 3. WAP to add two numbers and display the given numbers and the sum. 4. WAP to find the difference of two numbers and display the given numbers and the difference. 5. WAP to find the product of two numbers and display the given numbers and the product. 6. WAP to find the quotient of two numbers and display the given numbers and the quotient. 7. WAP to find the remainder of two numbers and display the given numbers and the remainder. 8. WAP to find the sum, difference, product, quotient and remainder of two numbers. 9. WAP to find area of a square. 0. WAP to find area of a rectangle.. WAP to find area of a triangle whose sides are given. 2. WAP to find the area of a circle. 3. WAP to convert Fahrenheit to Celsius 4. WAP to convert Celsius to Fahrenheit. 5. WAP to calculate the simple interest. 6. WAP to calculate the compound interest. Important formulas:. Fahrenheit = (Celsius *.8) Area of square = side * side 3. Area of Rectangle = length * breadth 4. Area of a circle = π * r * r 5. Area of a triangle = (s(s-a)(s-b)(s-c)) where s = (a + b + c)/3 6. Roots of quadratic equation X = (-b ± (b 2 4ac)) / (2a) 7. Simple Interest = (principal * rate * time) / Compound Interest = principal * ( ( + (rate/00)) time - ) 4 TechSparx Java Tuitions

5 Decision Making Statements. Write a program to find the largest of two given numbers. 2. Write a program to find the smallest of two given numbers. 3. Write a program to find if the given number is an ODD number. 4. Write a program to find if the given number is an ODD or EVEN number. 5. Write a program to find if the given number is DIVISIBLE by 7(seven). 6. Write a program to find the largest of three given numbers. 7. Write a program to find the smallest of three given numbers. 8. Write a program to find the real roots of a quadratic equation. (ax 2 + bx + c = 0) 9. Write a program to print the grade based on the marks obtained according to the following table Marks Grade >=80 A 60 to 79 B 50 to 59 C 40 to 49 D <40 E 0. Write a program to print the day of week. (using else if ladder) Example: day = dayofweek = Monday day = 2 dayofweek = Tuesday. Write a program to print the month of the year. (using else if ladder) Example: month = --> monthofyear = "January" month = 2 --> monthofyear = "February" 2. Write a program to check if the given character is a digit or upper case letter or a lower case letter or a special character. 3. Write a program to check if the given character is a vowel. 4. Write a program to check if the given number is a buzz number. (Buzz number: A number which is either divisible by 7 or ends with 7. For Example: 67, 49, 37, 2 etc 5 TechSparx Java Tuitions

6 Switch Statement. Write a program to input number of week s day (-7) and translate to its equivalent name of the day of the week. (Example: to Sunday, 2 to Monday 7 to Saturday) 2. Write a program to input number of month of the year ( - 2) and translate to its equivalent name of the month. (Example: to January, 2 to February 2 to December) 3. Write a program to check if the given character is a vowel. 4. Using a switch statement, write a MENU driven program to find the sum, difference, product quotient and remainder. OR Write a program to simulate a SIMPLE CALCULATOR. 5. Using a switch statement, write a MENU driven program to convert a given temperature from Fahrenheit to Celsius and vice versa. For an incorrect choice, an appropriate error message should be displayed. 6. Using a switch statement, write a MENU driven program to calculate the AREA of square, rectangle, triangle and circle. 6 TechSparx Java Tuitions

7 Looping Constructs. Write a program to print 5 stars. 2. Write a program to print n natural numbers. 3. Write a program to print all even numbers from 50 to 500 (inclusive of 50 and 500) 7 TechSparx Java Tuitions

8 Numbers For Loop. Write a program to a. Calculate the nth repunit b. Calculate and display first n repunits. 2. WAP a. Calculate nth mersenne number. b. Calculate and display first n Mersenne number (binary repunits). 3. Write a program to display the divisors/factors of a given number. 4. Write a program to calculate the sum of factors of a given number. 5. Write a program to check if two given numbers are amicable. 6. Write a program to find the a. Factorial of n. b. Double Factorial of n. c. Triple Factorial of n. 7. Write a program to check if the given number is a Perfect square. 8. Write a program to find if the given number is one of the following: a. Perfect Number b. Deficient Number c. Abundant Number 9. Write a program to check if the given number is a Prime Number. 0. Write a program to display all the prime numbers from to n.. Write a program to display first 20 prime numbers. 2. Write a program to find the Primorial of the given number. While Loop 3. Write a program to check if the given number is a palindrome. 4. Write a program to check if the given number is an Armstrong/Narcissistic Number. 5. Write a program to convert a binary number to decimal number. 6. Write a program to convert a Decimal Number to Binary. 7. Write a program that accepts a number and checks whether it is an AUTOMORPHIC Number. 8. Write a program to calculate the LCM and HCF/GCD of two given numbers. 9. Write a program to check if the given number is a SPECIAL number. 20. Write a program to print first 0 buzz numbers. 2. Write a program to check if the given number is a MAGIC Number 8 TechSparx Java Tuitions

9 Definitions of different kinds of numbers:. Armstrong or Narcissistic Number: When the sum of the cubes of each digit in the number is equal to the number itself then the number is said to be an Armstrong/Narcissistic number. Example: 407 = = Repunits: The term repunits comes from the words repeated and unit, so repunits are positive integers in which every digit is one. Formulae: R n = (0 n )/9 Example:,,,, and so on 3. Mersenne Numbers: A Mersenne number is a number of the form M n = 2 n, where n is an integer. The Mersenne numbers consist of all s in base-2, and are therefore binary repunits. Formulae: (2 - ), (2 2 - ), (2 3 - ), (2 4 - ) (2 n - ) Example: The first few Mersenne numbers are, 3, 7, 5, 3, 63, 27, 255, corresponding to 2, 2, 2, 2, 2... in binary. 4. Prime Number: A number is said to be a prime number only if it is divisible by and itself. Example:, 2, 3, 5, 7,, 3, 7, 9 5. Multi-Factorial: a. n- Factorial -> n! = n * (n-) * (n-2) * (n-3) * (n-4) * * 2 * b. n- Double Factorial -> n!! = n * (n-2) * (n-4) * (n-3) * (n-6) * * ( or 2) c. n- Triple Factorial -> n!!! = n * (n-3) * (n-6) * (n-9) * (n-2) * * ( or 2 or 3) 6. Primorial(P#): is defined to be the product of prime numbers less than or equal to p. Example: 3# = 2 * 3 = 6 5# = 2 * 3 * 5 = 30 3# = 2 * 3 * 5 * 7 * * 3 = Perfect Square: A number is said to be a perfect square if and only if the square root of that number is not a fractional number. Example: 4, 9, 6, 25, 36, 49, 64, 8 8. Perfect Number: A number is said to be a perfect number if and only if the sum of all its divisors (excluding the number itself) is equal to the number. Example: 6 = = where, 2, 4, 7, 4 are divisors. 9 TechSparx Java Tuitions

10 9. Deficient, Perfect or Abundant Number: Suppose you take a positive integer n and add its positive divisors, example if n = 8, then SUM = = 39. In general, when we do this with n, the number n would be one of the following three kinds. If the SUM is n is said to be examples less than 2n Deficient Number, 2, 3, 4, 5, 8, 9 Equal to 2n Perfect Number 6, 282, 496 Greater than 2n Abundant Number 2, 8, 20, 24, Automorphic Number: is one which is present at the extreme right of its square. Eg: 5 2 = 25, 6 2 = 36, 25 2 = 625 etc.. Amicable Numbers: Two numbers are said to be amicable if and only if the sum of the factors of num is equal to num2 and the sum of factors of num2 is equal to num Example: The number pair of 220 and 284 is considered amicable, because the sum of the proper divisors of 220 is 284, while the sum of the proper divisors of 284 is 220. Number Divisors/Factors Sum of Divisors/Factors 220, 2, 4, 5, 0,, 20, 22, 44, 55, , 2, 4, 7, Special Number: Sum of the factorials of each digit of a given number is equal to the given number then the given number is said to be a special number. For Example: 45! = = 4! = 4*3*2* = ! = 5*4*3*2* = Buzz Number: A number which is either divisible by 7 or ends with 7. For Example: 67, 49, 37, 2 etc 4. Magic Number: A number whose sum of the digits until the sum is a single digit is equal to. For Example: = 0, further find the sum of 0 also since it is not a single digit number + 0 = 0 TechSparx Java Tuitions

11 Series. Program to find the sum and print the Series n terms 2. Program to find the sum and print the Series n terms 3. Program to find the sum and print the Series n terms 4. Program to find the sum and print the Series n terms 5. Program to find the sum and print the Series n terms 6. Program to find the sum and print the Series n terms 7. Program to find the sum and print the Series n terms 8. Program to find the sum n terms 9. Program to find the sum of (*2) + (2*3) + (3*4) + (4*5) n terms 0. Program to print the Fibonacci series. 0,,, 2, 3, 5... n terms. Program to print the Tribonacci series. 0,,, 2, 4, 7... n terms 2. Program to find the sum of the series x + x 3 + x 5 + x n terms 3. Program to find the sum of the series x - x 3 + x 5 - x n terms 4. Program to find the sum of series! + 3! + 5! +... n terms 5. Program to find the sum of series! - 3! + 5! -... n terms 6. Program to find the sum of series (x )/(!) - (x 3 )/(3!) + (x 5 )/(5!) -... n terms 7. Program to find the sum of series - (x 2 )/(2!) + (x 4 )/(4!) -... n terms 8. Program to find the sum of series + (+2) + (+2+3) + (+2+3+4) ( n) 9. Program to find the sum of series - (*2) + (*2*3) - (*2*3*4) (*2*3*4*...*n) 20. Program to find the sum of the following series ((+2)/(*2)) - ((+2+3)/(*2*3)) (( n)/(*2*3*4*... *n)) TechSparx Java Tuitions

12 s. Right Angled Triangle First * * * * * * * * * * * * * * * Second Third Fourth Fifth Sixth Reversed Right Angled Triangle Eleventh * * * * * * * * * * * * * * * Twelfth Thirteenth Fourteenth Fifteenth Sixteenth Combined Right Angled Triangles Twenty First Twenty Second Twenty Third Twenty Fourth * * * * * * * * * * * * * * * * * * * * * * * * * TechSparx Java Tuitions

13 4. Equilateral Triangle and Rhombus with spaces in between stars Thirty First Thirty Second Thirty Third * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 5. Equilateral Triangle and Rhombus without spaces in between stars Forty First Forty Second Forty Third * *** ***** ******* ********* ********* ******* ***** *** * * *** ***** ******* ********* ******* ***** *** * 6. Equilateral Triangle and Rhombus without spaces in between Numbers Fifty First Fifty Second Fifty Third Equilateral Triangle and Rhombus without spaces in between Alphabets Sixty First Sixty Second Sixty Third A ABA ABCBA ABCDCBA ABCDEDCBA ABCDEDCBA ABCDCBA ABCBA ABA A A ABA ABCBA ABCDCBA ABCDEDCBA ABCDCBA ABCBA ABA A 3 TechSparx Java Tuitions

14 Strings. WAP to check if the given string is palindrome. 2. WAP to print the following patterns B L U E J B L U E J B L U E J B L U E J B L U E J B L U E J B L U E B L U B L B B B B B B L L L L U U U E E J 3. WAP to find the frequency of the given character in a given string. 4. WAP to find the frequency of each character in a given string. 5. WAP to input a string and convert upper case to lower case and vice versa. 6. Write a program that translates a word into Pig-Latin form. For example if the given word is trouble, then the Pig-Latin form is oubletray. Basically all the letters from the first character till you find a vowel is moved to the end of the word and ay is appended after that ( ouble-tr-ay ) 7. WAP to count the number of words and print each word in different line. 8. WAP to find the frequency of the given word in the given string. 9. WAP to input a string and display the longest word along with the number of characters. 0. WAP to input a string, count the number of words, blank spaces, vowels, uppercase, lower case, digits and special characters. Also display one word per line.. WAP a program to input a string "India is my country and print out the following sentences a. country my is India b. aidni si ym yrtnuoc 2. WAP to input a name and print its short form Example: Input Mohandas Karamchand Gandhi Output - M.K.Gandhi 3. Consider the following statement "May is celebrated as the workers day". Change to 4, May to November and workers to children and print the original string and changed string. 4. Write a program to accept a string and accept a character. Display all the words containing the accepted character. Example: Input String: AMIT AND SUMIT WERE VERY CLOSE WITH ARATHI AND AMAN Input Character: A Output: AMIT, AND, ARATHI, AND, AMAN 5. WAP to accept a string and display a new string after encoding = -3, which means each character moves three characters behind. Example: Input String: "JAVA" and encoding = 2, means each character moves two characters ahead. Thus, new string is: LCXC Input String: "ABACUS" and encoding = -3, means each character moves two characters behind. Thus, new string is: XYXZRP 4 TechSparx Java Tuitions

15 Theory Java offers 3 classes to work with character data.. Character class whose instances or objects can hold single character data. This class offers many methods to manipulate or inspect single-character data. 2. String class whose instances or objects can hold unchanging string (immutable string) i.e., once initialized its contents cannot be modified. 3. StringBuffer class whose instances or objects can hold (mutable) strings that can be changed or modified. Creating Strings. String name = I am a student ; 2. String yourname = new String( I do not know your name ); Accessor Methods: Methods used to obtain information about an object are known as assessor methods. Character class Sl.No. Function Prototype Description static Boolean isuppercase(char ch) Returns true if ch is an Upper Case character 2 static Boolean islowercase(char ch) Returns true if ch is a Lower Case character 3 static char touppercase(char ch) Converts ch to upper case and returns that character 4 static char tolowercase(char ch) Converts ch to lower case and returns that character String class Sl.No. Function Prototype Description int length() Returns the length of the string 2 char charat(int index) Returns the character at the specified index 3 int indexof(char ch) Returns the index of the first occurrence of the character ch 4 int lastindexof(char ch) Returns the index of the last occurrence of the character ch 5 int compareto(string str) Compares two strings lexicographically. 6 String concat(string str) Concatenates the specified string to the end of this string 7 str + str2 Concatenation operator(i.e., +), achieves same as concat method 8 boolean startswith(string str) Tests if the this string starts with str 9 boolean endswith(string str) Tests if the this string ends with str 0 boolean equals(string str) Compares the this string to the specified object str boolean equalsignorecase(string str) Compares the this string to the specified object str ignoring the case 2 String tolowercase() Converts all of the characters in the this String to lower case 3 String touppercase() Converts all of the characters in the this String to upper case 4 String tostring() Returns the String itself 5 String replace(char oldchar, char Returns a new string resulting from replacing all 5 TechSparx Java Tuitions

16 newchar) 6 String substring(int begindex, int endindex) occurrences of oldchar in the this string with newchar Returns a substring starting from begindex till endindex. Inclusive of begindex but exclusive of endindex. 7 String trim() Removes white space from both ends of the this String 8 static String valueof(all types) Returns string representation of the passed argument. Eg: 2 represented as 2 9 char[] tochararray() Converts this string into an array of characters and returns the array of characters. StringBuffer class int capacity() Returns the maximum number of characters that can be entered in the current string object(this) i.e., its capacity 2 int length() int capacity() StringBuffer append(string arg0) StringBuffer insert(int arg0, CharSequence arg) void setcharat(int arg0, char arg) StringBuffer delete(int arg0, int arg) void setlength(int arg0) StringBuffer reverse() StringBuffer replace(int arg0, int arg, String arg2) char int String String String int arg) charat(int arg0) indexof(string arg0) tostring() substring(int arg0) substring(int arg0, 6 TechSparx Java Tuitions

17 7 TechSparx Java Tuitions

18 One Dimensional Array. Write a program to read 0 numbers from user and store it in an array and display them. 2. Write a program to find the largest and smallest element of an array. 3. Write a program that quadruples every element of an array of size n. 4. Write a program to delete duplicate elements from an array of size 0. And display the resultant array. 5. Create two arrays of type char and initialize them with 0 characters each. And then check if characters in corresponding positions of the two character arrays are same. Display appropriate message after comparison. 6. Write a program that reverses an array and stores it in a new array. 7. Write a program that reverses an array and stores it in the same array. 8 TechSparx Java Tuitions

19 Searching and Sorting. State conditions under which BINARY SEARCH is applicable. 2. Write a program to perform a Linear Search 3. Write a program to perform a Binary Search 4. Write a program to perform a Bubble Sort 5. Write a program to perform a Selection Sort 6. Perform bubble sort on the following array elements and arrange them in ascending order (Do not write the algorithm, you need to write the trace) Perform selection sort on the above array and give the array status after every iteration. (Do not write the algorithm, you need to write the trace) 8. Write a program to search for 66 and 7 in the following array using BINARY SEARCH technique. Also write down the intermediate status of the array Write a program to initialize an array of 0 names and initialize another array with their respective telephone numbers. Search for a name input by the user, in the list. If found display Search Successful and print the name and telephone number, else display Search unsuccessful. 0. Write a program to read 0 names from the user and then arrange it in ascending order using selection sort technique and display the names before and after sorting.. Write a program to input 0 states and its capital. Display the states and capital in the sorted order of states. 9 TechSparx Java Tuitions

20 Strings and Arrays. Write a program to read the NAME and SALARY of 50 employees and perform the following activities using one-dimensional array a. Display the name and salary of the employee who is getting the HIGHEST salary. b. Display the name and salary of the employee who is getting the LOWEST salary. c. Display the AVERAGE salary. 2. Write a program to sort the characters of a string in the ascending order and display a string in which all the characters of the string are in ascending order. 3. Write a program to accept two words and check whether they are Anagrams. An Anagram is a word that is made with the combination of the letters present in the original word. Example: A word is FOWL and the other word is WOLF which is formed with the combinations of the letters present in the word. Thus FOWL and WOLF are ANAGRAMS. 4. Write a program to sort the words of a string in ascending order. 5. Program to accept a string and sort the words in the string based on the number of vowels in each word and display them in the ascending order. 6. Write a program that alters a string in such a way that the alphabet next to a vowel gets replaced by an equivalent opposite case alphabet. 20 TechSparx Java Tuitions

21 Classes, Objects, Functions and Constructors. Write a program using a class to calculate the volume, surface area and the diagonal of cuboid. 2. Design a class with the following specifications: Class Name: Emp Data Members/Instance Variables: String name, float salary, DA, HRA, PF, gross, net Member Functions: void inputdata(): to accept name and salary of an employee void calculate(): to find the following- DA = 20% of salary HRA = 5% of salary PF = 2% of salary gross = salary + DA + HRA net = gross PF void outputdata(): to display all the information 3. Design a class to enter the monthly salary of a person, calculate and print the annual tax payable by that person. Annual Salary (Rs.) Below 50,000 Tax Payable 5% of annual salary 50,00 to,25,000 0% of annual salary Above,25,00 20% of annual salary 4. Define a class Electricity described as below: Data Members: Name, Consumer Number, Units consumed. Member methods: i. To accept the name, consumer number, units consumed ii. To compute the electricity charges accordingly: upto 00 units : 80 paise per unit for next 00 units : Rs. per unit for more than 200 units : Rs..25 per unit iii. To display the details including name and consumer number 2 TechSparx Java Tuitions

22 5. BSNL charges for using telephone from their consumers according to the calls made (per month) as per the following tariff: Number of calls Up to 50 calls For next 00 calls For next 200 calls More than 350 calls Charge Rs..50 per call Rs. per call 90 paise per call 80 paise per call However, monthly rental charge is Rs. 80/- per month for all the consumers for using Telephones. Write a program in Java to calculate monthly telephone bill indicating number of calls, monthly rental and total amount to be paid. Take number of calls as an input. 6. Define a class Area that has the following members: Members Member Name Description private variables side, side2, radius Sides of rectangle and radius of circle Two parameterized To assign values to sides and radius constructors public method rectarea() Calculates area of rectangle public method circlearea() Calculates area of circle public method main() Invokes all member methods and prints the results 7. Define a class Compound that offers the functionality to calculate simple interest and compound interest using two functions. i. simpleinterest = (principal * rate * time) / 00 ii. compoundinterest = principal * ( ( + (rate/00)) time - ) 8. Write a program that implements a rectangle class. The rectangle class has fields: length, breadth, area and perimeter. It has methods: to obtain values of length and breadth, to calculate area and to calculate perimeter. 9. Write a program to implement checkeven() method that receives a number and then checks whether the given number is even or not. If it is, the method returns Boolean true otherwise Boolean false. 0. Write a program to implement a class Numbers having fields storing 3 integers and methods to find maximum, minimum and average of 3 numbers. 22 TechSparx Java Tuitions

23 Two Dimensional Array. Write a program to read the elements of a 3 x 3 matrix from the user. 2. Write a program to display the elements of a 3 x 3 matrix to the user. 3. Write a program to input two 3 x 3 matrix, find the sum of the matrices and then display the given matrices as well as the resultant matrix. 4. Write a program to input two 3 x 3 matrix, find the difference of the matrices and then display the given matrices as well as the resultant matrix. 5. Write a program to input two 3 x 3 matrix, find the product of the matrices and then display the given matrices as well as the resultant matrix. 6. Write a program to input two 3 x 3 matrix, and perform addition, subtraction and multiplication of the two matrices based on the user s choice. 7. Write a program to replace all the even numbers of 4 x 4 matrix with their squares and odd numbers with their square roots. 8. Write a program to accept the elements of (m x n) matrix and find the largest and smallest element of the matrix and print their position. 9. Write a program and do the following: a. Sum of each row. b. Sum of each column. c. Sum of principle diagonal elements. d. Sum of the other diagonal elements. e. Sum of all the elements f. Sum of boundary elements 0. Write a program to accept a 4 x 4 matrix. Print all the prime numbers present in it along with its location. Eg : Output: PrimeNumber RowNo ColNo Write a program a. To find the transpose of a given m x n matrix b. To check if the given matrix is an identity matrix 23 TechSparx Java Tuitions

24 Output Programs 24 TechSparx Java Tuitions

25 I am Saravanan.G, TechSparx is my start-up. I have completed Bachelor of Engineering in Computer Science and working as a Senior Software Engineer in a MNC My passion is teaching! I love teaching programming languages like C, C++, Java, J2EE and Android My motto is to provide Corporate Level Training to School and Engineering College Students. If you want to learn the ART of programming in C, C++, JAVA, J2EE and Android easily!!! Then feel free to call me@ or mail me tech253545@gmail.com I conduct classes in the following locations Venkatesh Tutorials Wilson Garden, Bangalore - 27 Srushti Degree College #92, 2 nd Floor, Karthik Nagar, (next to Café Coffee Day, before HDFC Bank) Outer Ring Road, Marthahalli, Bangalore 37 For more information visit 25 TechSparx Java Tuitions

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

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

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

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

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

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

Sample Paper of Computer for Class 10

Sample Paper of Computer for Class 10 General Instructions: Sample Paper of Computer for Class 10 1. Answers to this Paper must be written on the paper provided separately. 2. You will not be allowed to write during the first 15 minutes. 3.

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

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

Lab 14 & 15: String Handling

Lab 14 & 15: String Handling Lab 14 & 15: String Handling Prof. Navrati Saxena TA: Rochak Sachan String Handling 9/11/2012 22 String Handling Java implements strings as objects of type String. Once a String object has been created,

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

CHAPTER 6 MOST COMMONLY USED LIBRARIES

CHAPTER 6 MOST COMMONLY USED LIBRARIES LIBRARY CHAPTER 6 - A set of ready-made software routines (class definitions) that can be reused in new programs, is called a Library. - Some commonly used java libraries are : Math Library String Library

More information

Lesson:9 Working with Array and String

Lesson:9 Working with Array and String Introduction to Array: Lesson:9 Working with Array and String An Array is a variable representing a collection of homogeneous type of elements. Arrays are useful to represent vector, matrix and other multi-dimensional

More information

Object-Oriented Programming

Object-Oriented Programming Data structures Object-Oriented Programming Outline Primitive data types String Math class Array Container classes Readings: HFJ: Ch. 13, 6. GT: Ch. 13, 6. Đại học Công nghệ - ĐHQG HN Data structures 2

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

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

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

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

COMPUTER APPLICATIONS

COMPUTER APPLICATIONS COMPUTER APPLICATIONS (Theory) (Two hours) Answers to this Paper must be written on the paper provided separately. You will not be allowed to write during the first 15 minutes. This time is to be spent

More information

Good Earth School Naduveerapattu. Computer Applications Worksheet Class X

Good Earth School Naduveerapattu. Computer Applications Worksheet Class X Good Earth School Naduveerapattu Computer Applications Worksheet Class X Chapter: 1 Concepts of Objects 1. What is inheritance and how is it useful in Java? 2. Differentiate between base and derived class.

More information

COMPUTER APPLICATIONS (86)

COMPUTER APPLICATIONS (86) Aims: 1. To empower students by enabling them to build their own applications. 2. To introduce students to some effective tools to enable them to enhance their knowledge, broaden horizons, foster creativity,

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

CLASS X. THEORY 100 Marks

CLASS X. THEORY 100 Marks There will be one written paper of two hours duration carrying 100 marks and Internal Assessment of 100 marks. The paper will be divided into two sections A and B. Section A (Compulsory 40 marks) will

More information

2. All the strings gets collected in a special memory are for Strings called " String constant pool".

2. All the strings gets collected in a special memory are for Strings called  String constant pool. Basics about Strings in Java 1. You can create Strings in various ways:- a) By Creating a String Object String s=new String("abcdef"); b) By just creating object and then referring to string String a=new

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

IS502052: Enterprise Systems Development Concepts Lab 1: Java Review

IS502052: Enterprise Systems Development Concepts Lab 1: Java Review IS502052: Enterprise Systems Development Concepts Lab 1: Java Review I. Introduction In this first lab, we will review the Java Programming Language, since this course is focus on Java, especially, Java

More information

CS112 Lecture: Characters and Strings

CS112 Lecture: Characters and Strings CS112 Lecture: Characters and Strings Objectives: Last Revised 3/21/06 1. To introduce the data type char and related basic information (escape sequences, Unicode). 2. To introduce the library classes

More information

"Hello" " This " + "is String " + "concatenation"

Hello  This  + is String  + concatenation Strings About Strings Strings are objects, but there is a special syntax for writing String literals: "Hello" Strings, unlike most other objects, have a defined operation (as opposed to a method): " This

More information

A variable is a name for a location in memory A variable must be declared

A variable is a name for a location in memory A variable must be declared Variables A variable is a name for a location in memory A variable must be declared, specifying the variable's name and the type of information that will be held in it data type variable name int total;

More information

Creating Strings. String Length

Creating Strings. String Length Strings Strings, which are widely used in Java programming, are a sequence of characters. In the Java programming language, strings are objects. The Java platform provides the String class to create and

More information

More on variables and methods

More on variables and methods More on variables and methods Robots Learning to Program with Java Byron Weber Becker chapter 7 Announcements (Oct 12) Reading for Monday Ch 7.4-7.5 Program#5 out Character Data String is a java class

More information

Faculty of Science Midterm. COMP-202B - Introduction to Computing I (Winter 2008)

Faculty of Science Midterm. COMP-202B - Introduction to Computing I (Winter 2008) Student Name: Student Number: Section: Faculty of Science Midterm COMP-202B - Introduction to Computing I (Winter 2008) Friday, March 7, 2008 Examiners: Prof. Jörg Kienzle 18:15 20:15 Mathieu Petitpas

More information

Strings. Strings, which are widely used in Java programming, are a sequence of characters. In the Java programming language, strings are objects.

Strings. Strings, which are widely used in Java programming, are a sequence of characters. In the Java programming language, strings are objects. Strings Strings, which are widely used in Java programming, are a sequence of characters. In the Java programming language, strings are objects. The Java platform provides the String class to create and

More information

Dawood Public School Course Outline Class IV Math

Dawood Public School Course Outline Class IV Math Dawood Public School Course Outline 2016-2017 Class IV Math Books: Lu jitan, New Syllabus Primary Mathematics 4 along with practice books 4a and 4b, Singapore; Oxford University Monthly Syllabus for the

More information

We now start exploring some key elements of the Java programming language and ways of performing I/O

We now start exploring some key elements of the Java programming language and ways of performing I/O We now start exploring some key elements of the Java programming language and ways of performing I/O This week we focus on: Introduction to objects The String class String concatenation Creating objects

More information

TEST (MODULE:- 1 and 2)

TEST (MODULE:- 1 and 2) TEST (MODULE:- 1 and 2) What are command line arguments? Write a program in JAVA to print Fibonacci series using command line arguments? [10] Create a class employee with data members empid, empname, designation

More information

Appendix 3. Description: Syntax: Parameters: Return Value: Example: Java - String charat() Method

Appendix 3. Description: Syntax: Parameters: Return Value: Example: Java - String charat() Method Appendix 3 Java - String charat() Method This method returns the character located at the String's specified index. The string indexes start from zero. public char charat(int index) index -- Index of the

More information

Guru Gobind Singh Public School Sector V,B Bokaro Steel City Annual IP Assignment Class 11

Guru Gobind Singh Public School Sector V,B Bokaro Steel City Annual IP Assignment Class 11 Guru Gobind Singh Public School Sector V,B Bokaro Steel City Annual IP Assignment Class 11 1. What will be the output of given expression : int a=7; System.out.println(++a + + a-- + + a+1 + +a++); System.out.println(a);

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

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

Building Strings and Exploring String Class:

Building Strings and Exploring String Class: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 Lecture Notes K.Yellaswamy Assistant Professor CMR College of Engineering & Technology Building Strings and Exploring

More information

Question 4- Write a program to input a word from the user and remove the duplicate characters present in it. Example:

Question 4- Write a program to input a word from the user and remove the duplicate characters present in it. Example: [PROJECT WORK] 2016-17 ICSE COMPUTER APPLICATIONS ASSIGNMENT -2 Question 1: Write a Program in Java to input a number and check whether it is a Pronic Number or Heteromecic Number or not. Pronic Number

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

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

PROGRAMS. EXCELLENT ACADEMY OF ENGINEERING. Telephone: / NORMAL PROGRAM 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

More information

Lecture Notes K.Yellaswamy Assistant Professor K L University

Lecture Notes K.Yellaswamy Assistant Professor K L University Lecture Notes K.Yellaswamy Assistant Professor K L University Building Strings and Exploring String Class: -------------------------------------------- The String class ------------------- String: A String

More information

Assoc. Prof. Marenglen Biba. (C) 2010 Pearson Education, Inc. All rights reserved.

Assoc. Prof. Marenglen Biba. (C) 2010 Pearson Education, Inc. All rights reserved. Assoc. Prof. Marenglen Biba (C) 2010 Pearson Education, Inc. All This chapter discusses class String, from the java.lang package. These classes provide the foundation for string and character manipulation

More information

The Irving K. Barber School of Arts and Sciences COSC 111 Final Exam Winter Term II Instructor: Dr. Bowen Hui. Tuesday, April 19, 2016

The Irving K. Barber School of Arts and Sciences COSC 111 Final Exam Winter Term II Instructor: Dr. Bowen Hui. Tuesday, April 19, 2016 First Name (Print): Last Name (Print): Student Number: The Irving K. Barber School of Arts and Sciences COSC 111 Final Exam Winter Term II 2016 Instructor: Dr. Bowen Hui Tuesday, April 19, 2016 Time: 6:00pm

More information

Number Theory Open, Round 1 Test #101

Number Theory Open, Round 1 Test #101 Number Theory Open, Round 1 Test #101 1. Write your 6-digit ID# in the I.D. NUMBER grid, left-justified, and bubble. Check that each column has only one number darkened. 2. In the EXAM NO. grid, write

More information

CIS 1068 Design and Abstraction Spring 2017 Midterm 1a

CIS 1068 Design and Abstraction Spring 2017 Midterm 1a Spring 2017 Name: TUID: Page Points Score 1 28 2 18 3 12 4 12 5 15 6 15 Total: 100 Instructions The exam is closed book, closed notes. You may not use a calculator, cell phone, etc. i Some API Reminders

More information

Faculty of Science COMP-202A - Introduction to Computing I (Fall 2008) Final Examination

Faculty of Science COMP-202A - Introduction to Computing I (Fall 2008) Final Examination First Name: Last Name: McGill ID: Section: Faculty of Science COMP-202A - Introduction to Computing I (Fall 2008) Final Examination Thursday, December 11, 2008 Examiners: Mathieu Petitpas [Section 1] 14:00

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

Assoc. Prof. Marenglen Biba. (C) 2010 Pearson Education, Inc. All rights reserved.

Assoc. Prof. Marenglen Biba. (C) 2010 Pearson Education, Inc. All rights reserved. Assoc. Prof. Marenglen Biba (C) 2010 Pearson Education, Inc. All Advanced Java This chapter discusses class String, class StringBuilder and class Character from the java.lang package. These classes provide

More information

Integrated Curriculum for Secondary Schools. MATHEMATICS Form 1

Integrated Curriculum for Secondary Schools. MATHEMATICS Form 1 MINISTRY OF EDUCATION MALAYSIA Integrated Curriculum for Secondary Schools Curriculum Specifications MATHEMATICS Form 1 Curriculum Development Centre Ministry of Education Malaysia 2002 CONTENTS Page WHOLE

More information

Big Apple Academy 2017 Mathematics Department

Big Apple Academy 2017 Mathematics Department Big Apple Academy 201 Mathematics Department Grade Homework Math Package It is important that you keep practicing your mathematical Knowledge over the summer to be ready for 5 th grade. In this Package

More information

J.43 The length field of an array object makes the length of the array available. J.44 ARRAYS

J.43 The length field of an array object makes the length of the array available. J.44 ARRAYS ARRAYS A Java array is an Object that holds an ordered collection of elements. Components of an array can be primitive types or may reference objects, including other arrays. Arrays can be declared, allocated,

More information

Linby Primary School Targets Ladder. Linby Primary School Targets Ladder

Linby Primary School Targets Ladder. Linby Primary School Targets Ladder Target Sheet 1a I can read numbers to 10 (1, 2, 3 etc) written as digits 1,2,3,.Make sure you can do this out of order (5, 9, 2) I can count up to 10 objects accurately and consistently. (Both things that

More information

APS Sixth Grade Math District Benchmark Assessment NM Math Standards Alignment

APS Sixth Grade Math District Benchmark Assessment NM Math Standards Alignment SIXTH GRADE NM STANDARDS Strand: NUMBER AND OPERATIONS Standard: Students will understand numerical concepts and mathematical operations. 5-8 Benchmark N.: Understand numbers, ways of representing numbers,

More information

More non-primitive types Lesson 06

More non-primitive types Lesson 06 CSC110 2.0 Object Oriented Programming Ms. Gnanakanthi Makalanda Dept. of Computer Science University of Sri Jayewardenepura More non-primitive types Lesson 06 1 2 Outline 1. Two-dimensional arrays 2.

More information

ANNUAL NATIONAL ASSESSMENT 2015 ASSESSMENT GUIDELINES MATHEMATICS GRADE 7

ANNUAL NATIONAL ASSESSMENT 2015 ASSESSMENT GUIDELINES MATHEMATICS GRADE 7 ANNUAL NATIONAL ASSESSMENT 2015 ASSESSMENT GUIDELINES MATHEMATICS GRADE 7 INTRODUCTION The 2015 cycle of Annual National Assessment (ANA 2015) will be administered in all public and designated 1 independent

More information

5 th Grade Math Curriculum

5 th Grade Math Curriculum Aug./May Problem of the Day Solve grade appropriate problem on a daily basis -Individual solving of problems -Group discussion Math vocabulary Define terminology used in daily lessons -Chapter review Problem

More information

COMPUTER APPLICATIONS

COMPUTER APPLICATIONS COMPUTER APPLICATIONS (Theory) (Two hours) Answers to this Paper must be written on the paper provided separately. You will not be allowed to write during the first 15 minutes. This time is to be spent

More information

THE LAWRENCE SCHOOL SANAWAR

THE LAWRENCE SCHOOL SANAWAR THE LAWRENCE SCHOOL SANAWAR Syllabus for Class VI Entrance Examination: MATHEMATICS SHAPES & SPATIAL UNDERSTANDING Gets the feel of perspective while drawing a 3-D object in 2-D. Gets the feel of an angle

More information

1 Introduction Java, the beginning Java Virtual Machine A First Program BlueJ Raspberry Pi...

1 Introduction Java, the beginning Java Virtual Machine A First Program BlueJ Raspberry Pi... Contents 1 Introduction 3 1.1 Java, the beginning.......................... 3 1.2 Java Virtual Machine........................ 4 1.3 A First Program........................... 4 1.4 BlueJ.................................

More information

DEPARTMENT OF ACADEMIC UPGRADING

DEPARTMENT OF ACADEMIC UPGRADING DEPARTMENT OF ACADEMIC UPGRADING COURSE OUTLINE WINTER 2014 INTRODUCTION TO MATH 0081 INSTRUCTOR: Joelle Reynolds PHONE: (780) 539-2810 or 2204 OFFICE: Math Lab A210 E-MAIL: jreynolds@gprc.ab.ca OFFICE

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

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

OOP ASSIGNMENT -1 GROUP -1. Dhananjeyan.J. Balakumaran.M. Sivaram. S.E. Tamilarasan.T GROUP-2. Hariharan.R. Visnu.S. Daniel Napolen.

OOP ASSIGNMENT -1 GROUP -1. Dhananjeyan.J. Balakumaran.M. Sivaram. S.E. Tamilarasan.T GROUP-2. Hariharan.R. Visnu.S. Daniel Napolen. GROUP -1 Dhananjeyan.J Balakumaran.M Sivaram. S.E Tamilarasan.T 1. Write a simple program to read 10 double precision floating point numbers and add all the 10 numbers using c++. 2. Write a simple program

More information

17. [Exploring Numbers]

17. [Exploring Numbers] . [Exploring Numbers] Skill. Comparing whole numbers. Compare the size of the digits in the same place, one at a time. Work from left to right across each number. Q. Which number is the A ) 06 B ) 60 C

More information

appreciate the difference between a char and a string understand and use the String class methods

appreciate the difference between a char and a string understand and use the String class methods 1 8 THE STRING CLASS Terry Marris 16 April 2001 8.1 OBJECTIVES By the end of this lesson the student should be able to appreciate the difference between a char and a string understand and use the String

More information

Henrico County Public Schools Elementary Mathematics. SOL Math Vocabulary. Henrico County Public Schools Elementary Mathematics

Henrico County Public Schools Elementary Mathematics. SOL Math Vocabulary. Henrico County Public Schools Elementary Mathematics Henrico County Public Schools K-5 Attached is the K-5 SOL content specific mathematics vocabulary taken from the VDOE Curriculum Framework. This vocabulary is the mathematical language that should be used

More information

Using Java Classes Fall 2018 Margaret Reid-Miller

Using Java Classes Fall 2018 Margaret Reid-Miller Using Java Classes 15-121 Fall 2018 Margaret Reid-Miller Today Strings I/O (using Scanner) Loops, Conditionals, Scope Math Class (random) Fall 2018 15-121 (Reid-Miller) 2 The Math Class The Math class

More information

Nativity Catholic School Rising 7th grade IXL Language Arts and Math Summer Homework

Nativity Catholic School Rising 7th grade IXL Language Arts and Math Summer Homework Nativity Catholic School Rising 7th grade IXL Language Arts and Math Summer Homework Please work on the following skills listed in the 6 th grade Math and Language Arts IXL program for a minimum of 20

More information

Course Outline. Introduction to java

Course Outline. Introduction to java Course Outline 1. Introduction to OO programming 2. Language Basics Syntax and Semantics 3. Algorithms, stepwise refinements. 4. Quiz/Assignment ( 5. Repetitions (for loops) 6. Writing simple classes 7.

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. 500 016 2012-13 Department of Computer Science Class 8 Worksheet 3 1) How many times will the following statement execute? ( ) int a=5; while(a>6)

More information

Number Algebra Geometry and Measure Statistics. Aspect 1 Aspect 2 Aspect 3 Aspect 4 Work out the upper. Calculate area of and lower bounds of

Number Algebra Geometry and Measure Statistics. Aspect 1 Aspect 2 Aspect 3 Aspect 4 Work out the upper. Calculate area of and lower bounds of Year 7 Year 8 Excellence: 85%+ proficiency from all good objectives. For aspect 1 and aspect 3, there should be some proficiency towards these objectives to achieve excellence. Good: 70%+ proficiency in

More information

Math in Focus Vocabulary. Kindergarten

Math in Focus Vocabulary. Kindergarten Math in Focus Vocabulary Kindergarten Chapter Word Definition 1 one 1 * 1 two 2 * * 1 three 3 * * * 1 four 4 * * * * 1 five 5 * * * * * 1 same things that have a common property 1 different things that

More information

NFC ACADEMY MATH 600 COURSE OVERVIEW

NFC ACADEMY MATH 600 COURSE OVERVIEW NFC ACADEMY MATH 600 COURSE OVERVIEW Math 600 is a full-year elementary math course focusing on number skills and numerical literacy, with an introduction to rational numbers and the skills needed for

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

Class 8 Math s Formula. CBSE Class 8 Math s Summary

Class 8 Math s Formula. CBSE Class 8 Math s Summary Class 8 Math s Formula CBSE Class 8 Math s Summary This pdf lists all the Class 8 CBSE math s formula in a concise manner to help the students in revision and examination as per NCERT syllabus 1 Rational

More information

COMPUTER PROGRAMMING LAB

COMPUTER PROGRAMMING LAB COURSE OUTCOMES SEMESTER I Student will be able to: COMPUTER PROGRAMMING LAB 1. Explain basic commands in Linux. 2. Develop programs in C language. 3. Design programs for various problems in C language.

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

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

Strings. Strings and their methods. Mairead Meagher Dr. Siobhán Drohan. Produced by: Department of Computing and Mathematics

Strings. Strings and their methods. Mairead Meagher Dr. Siobhán Drohan. Produced by: Department of Computing and Mathematics Strings Strings and their methods Produced by: Mairead Meagher Dr. Siobhán Drohan Department of Computing and Mathematics http://www.wit.ie/ Topics list Primitive Types: char Object Types: String Primitive

More information

COMPUTER APPLICATIONS

COMPUTER APPLICATIONS COMPUTER APPLICATIONS (Theory) (Two Hours) Answers to this Paper must be written on the paper provided separately. You will not be allowed to write during the first 15 minutes. This time is to be spent

More information

PART I. Answer all questions in this Part. While answering questions in this Part, indicate briefly your working and reasoning, wherever required.

PART I. Answer all questions in this Part. While answering questions in this Part, indicate briefly your working and reasoning, wherever required. COMPUTER SCIENCE 2008 Paper-1 (THEORY) Three hours (Candidates are allowed additional 15 minutes for only reading the paper. They must NOT start writing during this time) Answer all question in Part I

More information

YEAR 6 MATHS LONG TERM PLAN ACADEMIC YEAR AUTUMN TERM

YEAR 6 MATHS LONG TERM PLAN ACADEMIC YEAR AUTUMN TERM YEAR 6 MATHS LONG TERM PLAN ACADEMIC YEAR 2013 2014 AUTUMN TERM WEEK BLOCK-UNIT MENTAL AND ORAL OBJECTIVE 1 Block A Unit 1 5 Questions from 1 Multiply and Divide numbers by 10, 100 and 1000 explaining

More information

CSC 1051 Algorithms and Data Structures I. Midterm Examination March 1, Name: KEY A

CSC 1051 Algorithms and Data Structures I. Midterm Examination March 1, Name: KEY A CSC 1051 Algorithms and Data Structures I Midterm Examination March 1, 2018 Name: KEY A Question Value Score 1 20 2 20 3 20 4 20 5 20 TOTAL 100 Please answer questions in the spaces provided. If you make

More information

Chapter 3 Problem Solving and the Computer

Chapter 3 Problem Solving and the Computer Chapter 3 Problem Solving and the Computer An algorithm is a step-by-step operations that the CPU must execute in order to solve a problem, or to perform that task. A program is the specification of an

More information

Faculty of Science COMP-202B - Introduction to Computing I (Winter 2009) - All Sections Final Examination

Faculty of Science COMP-202B - Introduction to Computing I (Winter 2009) - All Sections Final Examination First Name: Last Name: McGill ID: Section: Faculty of Science COMP-202B - Introduction to Computing I (Winter 2009) - All Sections Final Examination Wednesday, April 29, 2009 Examiners: Mathieu Petitpas

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

DEPARTMENT OF ACADEMIC UPGRADING

DEPARTMENT OF ACADEMIC UPGRADING DEPARTMENT OF ACADEMIC UPGRADING COURSE OUTLINE WINTER 2013 INTRODUCTION TO MATH 0081 INSTRUCTOR: Sukhvir Sandhu PHONE: (780) 539-2810 or 2234 OFFICE: Math Lab A210 or C310 E-MAIL: ssandhu@gprc.ab.ca OFFICE

More information

Name: Teacher: Form: LEARNER JOURNAL. Set: Mathematics. Module 2 END OF YEAR TARGET: GCSE TARGET:

Name: Teacher: Form: LEARNER JOURNAL. Set: Mathematics. Module 2 END OF YEAR TARGET: GCSE TARGET: Name: Teacher: Form: Set: LEARNER JOURNAL Mathematics Module 2 END OF YEAR TARGET: GCSE TARGET: MODULE 2 use a number line to represent negative numbers use inequalities with negative numbers compare and

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

STUDENT LESSON A10 The String Class

STUDENT LESSON A10 The String Class STUDENT LESSON A10 The String Class Java Curriculum for AP Computer Science, Student Lesson A10 1 STUDENT LESSON A10 The String Class INTRODUCTION: Strings are needed in many programming tasks. Much of

More information

COMPUTER APPLICATIONS

COMPUTER APPLICATIONS COMPUTER APPLICATIONS (Theory) (Two Hours) Answers to this Paper must be written on the paper provided separately. You will not be allowed to write during the first 15 minutes. This time is to be spent

More information

Year Nine Scheme of Work. Overview

Year Nine Scheme of Work. Overview Year Nine Scheme of Work Overview Unit Topic 1 Angles 2 Manipulating Algebra and Rules of Negatives 3 Place Value and Decimals 4 Sequences 5 Data 6 Fractions 7 Perimeter and Area of Polygons and Circles

More information

Mathematics LV 5 (with QuickTables)

Mathematics LV 5 (with QuickTables) Mathematics LV 5 (with QuickTables) This course covers the topics shown below. Students navigate learning paths based on their level of readiness. Institutional users may customize the scope and sequence

More information

Foundation. Scheme of Work. Year 9. September 2016 to July 2017

Foundation. Scheme of Work. Year 9. September 2016 to July 2017 Foundation Scheme of Work Year 9 September 06 to July 07 Assessments Students will be assessed by completing two tests (topic) each Half Term. These are to be recorded on Go Schools. There will not be

More information

BCA-105 C Language What is C? History of C

BCA-105 C Language What is C? History of C C Language What is C? C is a programming language developed at AT & T s Bell Laboratories of USA in 1972. It was designed and written by a man named Dennis Ritchie. C seems so popular is because it is

More information

College Readiness (597 topics) Course Name: College Prep Math Spring 2014 Course Code: ARTD4-3N6XJ

College Readiness (597 topics) Course Name: College Prep Math Spring 2014 Course Code: ARTD4-3N6XJ Course Name: College Prep Math Spring 2014 Course Code: ARTD4-3N6XJ ALEKS Course: Math for College Readiness Instructor: Ms. Dalton Course Dates: Begin: 01/19/2015 End: 06/18/2015 Course Content: 606 Topics

More information