Thursday, April 30, 2020
cbcs c practical assignment
cbcs c practical assignment
1. WAP to print the sum and product of digits of an integer. | CLICK HERE |
2. WAP to reverse a number. | CLICK HERE |
3. WAP to compute the sum of the first n terms of the following series S = 1+1/2+1/3+1/4+…… | CLICK HERE |
4. WAP to compute the sum of the first n terms of the following series S =1-2+3-4+5……………. | CLICK HERE |
5. Write a function that checks whether a given string is Palindrome or not. Use this function to find whether the string entered by user is Palindrome or not. | CLICK HERE |
6. Write a function to find whether a given no. is prime or not. Use the same to generate the prime numbers less than 100. | CLICK HERE |
7. WAP to compute the factors of a given number. | CLICK HERE |
8. Write a macro that swaps two numbers. WAP to use it. | CLICK HERE |
9. WAP to print a triangle of stars as follows (take number of lines from user): | |
10. WAP to perform following actions on an array entered by the user: i.Print the even-valued elements ii.Print the odd-valued elements iii.Calculate and print the sum and average of the elements of array iv.Print the maximum and minimum element of array v.Remove the duplicates from the array vi.Print the array in reverse order The program should present a menu to the user and ask for one of the options. The menu should also include options to re-enter array and to quit the program. | |
12. Write a program that swaps two numbers using pointers. | |
13. Write a program in which a function is passed address of two variables and then alter its contents. | |
14. Write a program which takes the radius of a circle as input from the user, passes it to another function that computes the area and the circumference of the circle and displays the value of area and circumference from the main() function. | CLICK HERE |
15. Write a program to find sum of n elements entered by the user. To write this program, allocate memory dynamically using malloc() / calloc() functions or new operator. | CLICK HERE |
16. Write a menu driven program to perform following operations on strings: a) Show address of each character in string b) Concatenate two strings without using strcat function c) Concatenate two strings using strcat function. d) Compare two strings e) Calculate length of the string (use pointers) f) Convert all lowercase characters to uppercase g) Convert all uppercase characters to lowercase h) Calculate number of vowels i) Reverse the string | |
17. Given two ordered arrays of integers, write a program to merge the two-arrays to get an ordered array. | CLICK HERE |
18. WAP to display Fibonacci series (i)using recursion, (ii) using iteration | |
19. WAP to calculate Factorial of a number (i)using recursion, (ii) using iteration | |
20. WAP to calculate GCD of two numbers (i) with recursion (ii) without recursion. | |
21. Create Matrix class using templates. Write a menu-driven program to perform following Matrixoperations (2-D array implementation): a) Sum b) Difference c) Product d) Transpose | |
22. Create the Person class. Create some objects of this class (by taking information from the user). Inherit the class Person to create two classes Teacher and Student class. Maintain the respective information in the classes and create, display and delete objects of these two classes (Use Runtime Polymorphism). | |
23. Create a class Triangle. Include overloaded functions for calculating area. Overload assignment operator and equality operator. | |
24. Create a class Box containing length, breath and height. Include following methods in it:
) Calculate surface Area b) Calculate Volume c) Increment, Overload ++ operator (both prefix & postfix) d) Decrement, Overload -- operator (both prefix & postfix) e) Overload operator == (to check equality of two boxes), as a friend function f) Overload Assignment operator g) Check if it is a Cube or cuboid Write a program which takes input from the user for length, breath and height to test the above class. | |
25. Create a structure Student containing fields for Roll No., Name, Class, Year and Total Marks. Create 10 students and store them in a file. | |
26. Write a program to retrieve the student information from file created in previous question and print it in following format: Roll No. Name Marks | |
27. Copy the contents of one text file to another file, after removing all whitespaces | |
28. Write a function that reverses the elements of an array in place. The function must accept only one pointer value and return void. | |
29. Write a program that will read 10 integers from user and store them in an array. Implement array using pointers. The program will print the array elements in ascending and descending order. |
CMSACOR01P: Programming Fundamental using C/C++
CMSACOR01P: Programming Fundamental using C/C++
cbcs c++ practical assignment
1. WAP to print the sum and product of digits of an integer. - CLICK HERE
2. WAP to reverse a number. CLICK HERE
3. WAP to compute the sum of the first n terms of the following series S = 1+1/2+1/3+1/4+ CLICK HERE
4. WAP to compute the sum of the first n terms of the following series S = 1 - 2 + 3 - 4 + 5… CLICK HERE
1. WAP to print the sum and product of digits of an integer. - CLICK HERE
2. WAP to reverse a number. CLICK HERE
3. WAP to compute the sum of the first n terms of the following series S = 1+1/2+1/3+1/4+ CLICK HERE
4. WAP to compute the sum of the first n terms of the following series S = 1 - 2 + 3 - 4 + 5… CLICK HERE
5. Write a function that checks whether a given string is Palindrome or not. Use this function to find whether the string entered by user is Palindrome or not. CLICK HERE
6. Write a function to find whether a given no. is prime or not. Use the same to generate the prime numbers less than 100. CLICK HERE
7. WAP to compute the factors of a given number. CLICK HERE
8. Write a macro that swaps two numbers. WAP to use it. CLICK HERE
9. WAP to print a triangle of stars as follows (take number of lines from user): CLICK HERE
*
***
*****
*******
*********
10. WAP to perform following actions on an array entered by the user: click here
i.Print the even-valued elements
ii.Print the odd-valued elements
iii.Calculate and print the sum and average of the elements of array
iv.Print the maximum and minimum element of array
v.Remove the duplicates from the array
vi.Print the array in reverse order The program should present a menu to the user and ask for one of the options. The menu should also include options to re-enter array and to quit the program.
11. WAP that prints a table indicating the number of occurrences of each alphabet in the text entered as command line arguments. click here
12. Write a program that swaps two numbers using pointers.click here
13. Write a program in which a function is passed address of two variables and then alter its contents. click here
14. Write a program which takes the radius of a circle as input from the user, passes it to another function that computes the area and the circumference of the circle and displays the value of area and circumference from the main() function. click here
15. Write a program to find sum of n elements entered by the user. To write this program, allocate memory dynamically using malloc() / calloc() functions or new operator. click here
16. Write a menu driven program to perform following operations on strings: click here
a) Show address of each character in string
b) Concatenate two strings without using strcat function.
c) Concatenate two strings using strcat function.
d) Compare two strings
e) Calculate length of the string (use pointers)
f) Convert all lowercase characters to uppercase
g) Convert all uppercase characters to lowercase
h) Calculate number of vowels i) Reverse the string
17. Given two ordered arrays of integers, write a program to merge the two-arrays to get an ordered array. click here
18. WAP to display Fibonacci series (i)using recursion, (ii) using iteration click here
19. WAP to calculate Factorial of a number (i)using recursion, (ii) using iteration click here
20. WAP to calculate GCD of two numbers (i) with recursion (ii) without recursion. click here
21. Create Matrix class using templates. Write a menu-driven program to perform following Matrixoperations (2-D array implementation): a) Sum b) Difference c) Product d) Transpose CLICK HERE
22. Create the Person class. Create some objects of this class (by taking information from the user). Inherit the class Person to create two classes Teacher and Student class. Maintain the respective information in the classes and create, display and delete objects of these two classes (Use Runtime Polymorphism).CLICK HERE
23. Create a class Triangle. Include overloaded functions for calculating area. Overload assignment operator and equality operator. CLICK HERE
24. Create a class Box containing length, breath and height. Include following methods in it: CLICK HERE
a) Calculate surface Area
b) Calculate Volume
c) Increment, Overload ++ operator (both prefix & postfix)
d) Decrement, Overload -- operator (both prefix & postfix)
e) Overload operator == (to check equality of two boxes), as a friend function
f) Overload Assignment operator
g) Check if it is a Cube or cuboid Write a program which takes input from the user for length, breath and height to test the above class.
25. Create a structure Student containing fields for Roll No., Name, Class, Year and Total Marks. Create 10 students and store them in a file. CLICK HERE
26. Write a program to retrieve the student information from file created in previous question and print it in following format: Roll No. Name Marks. CLICK HERE
27. Copy the contents of one text file to another file, after removing all whitespaces.CLICK HERE
28. Write a function that reverses the elements of an array in place. The function must accept only one pointer value and return void. CLICK HERE
29. Write a program that will read 10 integers from user and store them in an array. Implement array using pointers. The program will print the array elements in ascending and descending order. CLICK HERE
Write a program to demonstrate the use of push buttons.
Write a program to demonstrate the use of push buttons.
Write a program to generate a window without an applet window using main() function.
Write a program to generate a window without an applet window using main() function.
Write a program to demonstrate different keyboard handling events.
Write a program to demonstrate different keyboard handling events.
Write a program to demonstrate different mouse handling events like mouseClicked(), mouseEntered(), mouseExited(), mousePressed, mouseReleased() and mouseDragged().
Write a program to demonstrate different mouse handling events like mouseClicked(), mouseEntered(), mouseExited(), mousePressed, mouseReleased() and mouseDragged().
Write a program to get the URL/location of code (i.e. java code) and document(i.e. html file).
Write a program to get the URL/location of code (i.e. java code) and document(i.e. html file).
Monday, April 27, 2020
CBCS JAVA PRACTICAL ASSIGNMENT
1. To find the sum of any number of integers entered as command line arguments
2. To find the factorial of a given number
3. To learn use of single dimensional array by defining the array dynamically.
4. To learn use of .lenth in case of a two dimensional array
5. To convert a decimal to binary number
6. To check if a number is prime or not, by taking the number as input from the keyboard
7. To find the sum of any number of integers interactively, i.e., entering every number from the keyboard, whereas the total number of integers is given as a command line argument
8. Write a program that show working of different functions of String and StringBufferclasss like setCharAt(, setLength(), append(), insert(), concat()and equals().
9. Write a program to create a ―distance‖ class with methods where distance is computed in terms of feet and inches, how to create objects of a class and to see the use of this pointer. CLICK HERE
10. Modify the ―distance‖ class by creating constructor for assigning values (feet and inches) to the distance object. Create another object and assign second object as reference variable to another object reference variable. Further create a third object which is a clone of the first object. CLICK HERE
11. Write a program to show that during function overloading, if no matching argument is found, then java will apply automatic type conversions(from lower to higher data type) . CLICK HERE
12. Write a program to show the difference between public and private access specifiers. The program should also show that primitive data types are passed by value and objects are passed by reference and to learn use of final keyword.
13. Write a program to show the use of static functions and to pass variable length arguments in a function. CLICK HERE
14. Write a program to demonstrate the concept of boxing and unboxing. CLICK HERE
15. Create a multi-file program where in one file a string message is taken as input from the user and the function to display the message on the screen is given in another file (make use of Scanner package in this program).
16. Write a program to create a multilevel package and also creates a reusable class to generate Fibonacci series, where the function to generate fibonacii series is given in a different file belonging to the same package.
17. Write a program that creates illustrates different levels of protection in classes/subclasses belonging to same package or different packages.
18. Write a program ―DivideByZero‖ that takes two numbers a and b as input, computes a/b, and invokes Arithmetic Exception to generate a message when the denominator is zero. click here
19. Write a program to show the use of nested try statements that emphasizes the sequence of checking for catch handler statements. click here
20. Write a program to create your own exception types to handle situation specific to your application (Hint: Define a subclass of Exception which itself is a subclass of Throwable). click here
21. Write a program to demonstrate priorities among multiple threads.
22. Write a program to demonstrate multithread communication by implementing synchronization among threads (Hint: you can implement a simple producer and consumer problem).
23. Write a program to create URL object, create a URLConnection using the openConnection() method and then use it examine the different components of the URLand content.
24. Write a program to implement a simple datagram client and server in which a message that is typed into the server window is sent to the client side where it is displayed.
25. Write a program that creates a Banner and then creates a thread to scrolls the message in the banner from left to right across the applet‘s window. CLICK HERE
26. Write a program to get the URL/location of code (i.e. java code) and document(i.e. html file).- CLICK HERE
27. Write a program to demonstrate different mouse handling events like mouseClicked(), mouseEntered(), mouseExited(), mousePressed, mouseReleased() and mouseDragged(). CLICK HERE
28. Write a program to demonstrate different keyboard handling events. CLICK HERE
29. Write a program to generate a window without an applet window using main() function.
30. Write a program to demonstrate the use of push buttons.
2. To find the factorial of a given number
3. To learn use of single dimensional array by defining the array dynamically.
4. To learn use of .lenth in case of a two dimensional array
5. To convert a decimal to binary number
6. To check if a number is prime or not, by taking the number as input from the keyboard
7. To find the sum of any number of integers interactively, i.e., entering every number from the keyboard, whereas the total number of integers is given as a command line argument
8. Write a program that show working of different functions of String and StringBufferclasss like setCharAt(, setLength(), append(), insert(), concat()and equals().
9. Write a program to create a ―distance‖ class with methods where distance is computed in terms of feet and inches, how to create objects of a class and to see the use of this pointer. CLICK HERE
10. Modify the ―distance‖ class by creating constructor for assigning values (feet and inches) to the distance object. Create another object and assign second object as reference variable to another object reference variable. Further create a third object which is a clone of the first object. CLICK HERE
11. Write a program to show that during function overloading, if no matching argument is found, then java will apply automatic type conversions(from lower to higher data type) . CLICK HERE
12. Write a program to show the difference between public and private access specifiers. The program should also show that primitive data types are passed by value and objects are passed by reference and to learn use of final keyword.
13. Write a program to show the use of static functions and to pass variable length arguments in a function. CLICK HERE
14. Write a program to demonstrate the concept of boxing and unboxing. CLICK HERE
15. Create a multi-file program where in one file a string message is taken as input from the user and the function to display the message on the screen is given in another file (make use of Scanner package in this program).
16. Write a program to create a multilevel package and also creates a reusable class to generate Fibonacci series, where the function to generate fibonacii series is given in a different file belonging to the same package.
17. Write a program that creates illustrates different levels of protection in classes/subclasses belonging to same package or different packages.
18. Write a program ―DivideByZero‖ that takes two numbers a and b as input, computes a/b, and invokes Arithmetic Exception to generate a message when the denominator is zero. click here
19. Write a program to show the use of nested try statements that emphasizes the sequence of checking for catch handler statements. click here
20. Write a program to create your own exception types to handle situation specific to your application (Hint: Define a subclass of Exception which itself is a subclass of Throwable). click here
21. Write a program to demonstrate priorities among multiple threads.
22. Write a program to demonstrate multithread communication by implementing synchronization among threads (Hint: you can implement a simple producer and consumer problem).
23. Write a program to create URL object, create a URLConnection using the openConnection() method and then use it examine the different components of the URLand content.
24. Write a program to implement a simple datagram client and server in which a message that is typed into the server window is sent to the client side where it is displayed.
25. Write a program that creates a Banner and then creates a thread to scrolls the message in the banner from left to right across the applet‘s window. CLICK HERE
26. Write a program to get the URL/location of code (i.e. java code) and document(i.e. html file).- CLICK HERE
27. Write a program to demonstrate different mouse handling events like mouseClicked(), mouseEntered(), mouseExited(), mousePressed, mouseReleased() and mouseDragged(). CLICK HERE
28. Write a program to demonstrate different keyboard handling events. CLICK HERE
29. Write a program to generate a window without an applet window using main() function.
30. Write a program to demonstrate the use of push buttons.
Tuesday, April 21, 2020
WBCHSE CLASS XI ( CLASS 11 ) COMPUTER APPLICATION SYLLABUS
WBCHSE CLASS XI ( CLASS 11 ) COMPUTER APPLICATION THEORY
A. Brief Review of Computer Hardware: (10 Marks)
History of Computers
Computer Generations
Functions of Computers
Block Diagram of a Computer System
Brief description of each functional block of a computer –
Input Devices (Keyboard, Mouse, Touch Screen, OMR, OCR, MICR, Punch Tape, Punch Card, Graphic Tablet, Barcode Reader, Light Pen)
Output Devices (Monitor – CRT, LCD; Printer)
CPU (CU, ALU)
Memory – Primary (RAM, ROM) and Secondary (HDD, FDD, CD-ROM) and CACHE
BUS- Definition and types
Multimedia System- Basic concepts and its uses
B. Data Representation: (10 Marks)
Number Systems – Decimal, Binary, Octal and Hexadecimal
Conversion (whole numbers and fractions) of
Binary to Decimal, Octal, Hexadecimal and vice versa
C. Topics on Boolean Algebra: (10 Marks)
Logical Operations – OR, AND, NOT logic
Laws and Identities of Boolean Algebra
De’ Morgan’s Theorems and Basic Principle of Duality
Proof using Identities and Truth Tables
Combinational logic functions- Simple SOP and POS expressions
Basic Logic Gates – OR, AND, NOT, XOR, X-NOR Gates
Universal Gates – NAND and NOR Gate, Basic Gates using Universal Gates
D. Concepts of Computer Software & Languages: (15 Marks)
Importance of Software
Types of Software:
System Software (compiler, debugger, interpreter, linker, loader and operating systems), Application Software (definition and example) and
utility software (definition and example)
Operating System overview (MS-DOS and MS-Windows)
Programming Languages: Concepts of High Level, Low Level and Assembly language
Generations of Programming Languages
Programming Languages used for problem solving:
scientific, commercial and data manipulation -
Concept of Graphical User Interface(GUI) languages
E. Data Processing: (10 Marks)
Difference between Data and Information
Information
Need for Information
Qualities of Information
Value of Information
Categories of Information
Levels of Information
Data
Types of Data
Logical and Physical Concepts of Data
Data Processing System/Cycle
Data Processing Operations
Data Validation
Human Being as an information processor
Primary Storage, Secondary storage.
Directories and Folders
F. Packages: (15 Marks)
Introduction to Word Processing – MS Word: (10 Marks)
Creating, Opening, Editing and Saving a document
Copy, Cut, Paste operations
Page Setup, Headers and Footers
Formatting Texts,
Paragraph,
Page Borders
Inserting Clip-Art, Word-Art, Auto-Shapes, Picture, Symbol, Equation
Table insertion
Mail Merge
Macros
Spelling and Grammar chec
Printer Setup and Document Printing
Introduction to PowerPoint: (5 Marks)
Creating, Opening, Editing and Saving a PowerPoint presentation
Use of Wizards
Different styles and background
Formatting Texts ¾ Inserting Clip-Art, Word-Art, Auto-Shapes, Picture
Applying slide transition, applying animation to text and objects
Inserting sound and video clips
Slide Show
Printing of slides
WBCHSE CLASS XI ( CLASS 11 ) COMPUTER APPLICATION PRACTICAL
A. Familiarization with Computer System and
Peripherals and Windows Operating System and
MS-DOS (5 Marks) CLICK
B. Use of MS Word – Same features as in Theory part (10 Marks) CLICK
C. Use of PowerPoint – Same features as in Theory part (5 Marks) CLICK
D. Laboratory Copy (5 Marks)
E. Viva-voce (5 Marks)
A. Brief Review of Computer Hardware: (10 Marks)
History of Computers
Computer Generations
Functions of Computers
Block Diagram of a Computer System
Brief description of each functional block of a computer –
Input Devices (Keyboard, Mouse, Touch Screen, OMR, OCR, MICR, Punch Tape, Punch Card, Graphic Tablet, Barcode Reader, Light Pen)
Output Devices (Monitor – CRT, LCD; Printer)
CPU (CU, ALU)
Memory – Primary (RAM, ROM) and Secondary (HDD, FDD, CD-ROM) and CACHE
BUS- Definition and types
Multimedia System- Basic concepts and its uses
B. Data Representation: (10 Marks)
Number Systems – Decimal, Binary, Octal and Hexadecimal
Conversion (whole numbers and fractions) of
Binary to Decimal, Octal, Hexadecimal and vice versa
C. Topics on Boolean Algebra: (10 Marks)
Logical Operations – OR, AND, NOT logic
Laws and Identities of Boolean Algebra
De’ Morgan’s Theorems and Basic Principle of Duality
Proof using Identities and Truth Tables
Combinational logic functions- Simple SOP and POS expressions
Basic Logic Gates – OR, AND, NOT, XOR, X-NOR Gates
Universal Gates – NAND and NOR Gate, Basic Gates using Universal Gates
D. Concepts of Computer Software & Languages: (15 Marks)
Importance of Software
Types of Software:
System Software (compiler, debugger, interpreter, linker, loader and operating systems), Application Software (definition and example) and
utility software (definition and example)
Operating System overview (MS-DOS and MS-Windows)
Programming Languages: Concepts of High Level, Low Level and Assembly language
Generations of Programming Languages
Programming Languages used for problem solving:
scientific, commercial and data manipulation -
Concept of Graphical User Interface(GUI) languages
E. Data Processing: (10 Marks)
Difference between Data and Information
Information
Need for Information
Qualities of Information
Value of Information
Categories of Information
Levels of Information
Data
Types of Data
Logical and Physical Concepts of Data
Data Processing System/Cycle
Data Processing Operations
Data Validation
Human Being as an information processor
Primary Storage, Secondary storage.
Directories and Folders
F. Packages: (15 Marks)
Introduction to Word Processing – MS Word: (10 Marks)
Creating, Opening, Editing and Saving a document
Copy, Cut, Paste operations
Page Setup, Headers and Footers
Formatting Texts,
Paragraph,
Page Borders
Inserting Clip-Art, Word-Art, Auto-Shapes, Picture, Symbol, Equation
Table insertion
Mail Merge
Macros
Spelling and Grammar chec
Printer Setup and Document Printing
Introduction to PowerPoint: (5 Marks)
Creating, Opening, Editing and Saving a PowerPoint presentation
Use of Wizards
Different styles and background
Formatting Texts ¾ Inserting Clip-Art, Word-Art, Auto-Shapes, Picture
Applying slide transition, applying animation to text and objects
Inserting sound and video clips
Slide Show
Printing of slides
WBCHSE CLASS XI ( CLASS 11 ) COMPUTER APPLICATION PRACTICAL
A. Familiarization with Computer System and
Peripherals and Windows Operating System and
MS-DOS (5 Marks) CLICK
B. Use of MS Word – Same features as in Theory part (10 Marks) CLICK
C. Use of PowerPoint – Same features as in Theory part (5 Marks) CLICK
D. Laboratory Copy (5 Marks)
E. Viva-voce (5 Marks)
Subscribe to:
Posts (Atom)