Showing posts with label Practical List. Show all posts
Showing posts with label Practical List. Show all posts

Tuesday, September 26, 2017

BCA - III (Sem)

    1.       WAP  to add two number.
    2.       WAP to compare two number and display largest number.
    3.       WAP to compare three number and display largest number.
    4.       WAP to check wheather the given number is prime or not.
    5.       WAP to print odd number between 1 to 100.
    6.       WAP to compare two dates.
    7.       WAP to print the financial year of given date.
    8.       WA procedure to fetch data from table emp using explicit  cursor.
    9.       WA procedure to fetch data from order table using explicit cursor with attributes.
   10.     WA procedure to implement too_many_rows, no_data_found, Zero_Divide and Others exception          for prime number.
   11.      WA procedure to implement defined exception in financial year.
   12.     Write a function to check that given no is prime or not. If prime then return 1 or not prime than             return 0.
    13.    WA procedure ti insert 1000 rows in a tab le called student using cursor, for loop and exception.
    14.    WA procedure to create  trigger that will restrict to delete, update and Insert DML operation in the data from table student.

    15.    WA procedure to insert a row data is inserted and delete from the table student the fieldare id, operation date, operation data, operation type and studentid.

    16.  Perform export a .dmp file and import same file into the user "Vivekanand".




Tuesday, January 5, 2016

MSc - II

Programming in Java 

1.  WAP to print "Namaste Bharat".
2.  WAP to add two integer Number and print output.
3.  WAP to add two float Number and print output.
4.  WAP to add one float and one integer  and print the output.
5.  WAP to to convert the given temprature in Fahrenheit to Celsius using the following formula
                                               C = F-32/1.8
6.  WAP to find the largest number from given three number.
7.  WAP to find factorial of given number.
8.  WAP to find following triagnle
                             1
                             1 2
                             1 2 3
                             1 2 3 4
                             1 2 3 4 5
9.  WAP to find following triagnle
                             $ $ $ $ $
                                $ $ $ $
                                   $ $ $
                                      $ $
                                         $

10. WAP to create a calculator using switch statement.
11. WAP to reverse the given Number.
12. Create a program using class MathOperation. Class should have four method : Addition,                  Multiplication, Substraction and Division.
13. Write a class to represent a bank account, Including following member
      Data Member 
          a) Name of the Descriptor
          b) Account Number
          c) Type of Account
          d) Balance amount in the account
    Methods
         1) To assign initial Value
         2) To deposit an amount
         3) To withdraw an amount after checking balance
         4)  To display the name and balance    
14. Write a program in Java,get an integer value and convert in following a
     Ex.      
            n = 5814
           The digits of n are 5 , 8, 1 and 4.
15. Write and test this method that implements the power function
                static  double pow(double x, int y)

16. Write and test this method
              static long gcd(long m,long n)
17. Write a program to implement Nested Method.
18. Write a program to implement using array
                     static double max(double[] x)
        It should return maximum of the elements in the array.
19. Implement an Address class for representing postal mailing addresses.
20. Implement an Email class for representing email addresses.
21. Create a class Person inherit the classes Address and Email in this class using Inheritance in Java.
1.       WAP in Java to implement multilevel  in heritance for student create  following classes
22. Personal   1.2 Academic  1.3 Exam
23. Implement Single Inheritance
      24.  Create mypackage and store all your class file into mypackage.
      25.   WAP to implement multithreading. Implement all the states of multithreading.
      26.   WAP for JDBC connectivity with oracle to retrieve the data.
      27.   WAP for JDBC connectivity with mysql to retrieve the data.
      28.   WAP to insert and delete data from and to database table in oracle.
      29.   WAP to insert and delete data from and to database table in mysql.
      30.  WAP to display Namaste Bharat in HTML.
      31.  Write an HTML code to create following table

Name
Father’s Name
DOB
Address
College















      32.   WAP in Java Applet to display Namaste Bharat.
      33.  WAP to add two number using applet


    
      34.    WAP to  perform operation subtraction, multiplication and division two number using applet


     33. WAP to draw Rectangle, Arc, RoundArc,, Fill these object with yellow color. Display title “Shapes” in Arial Font.
     35.  WAP to display following design in Applet.



     




         

Monday, July 6, 2015

MSc III Sem - ( Advance Java)


First Date: Practical# 1 to 15 should be completed before on ....................

 Java Script - (Unit-1):


       1.       Write a HTML program to display "Namaste Bharat" in the web browser.
       2.       Write an HTML code to create following table
Name
Father’s Name
DOB
Address
College















3.  Create a form in HTML  with Following fields using DIV and FORM Tag.

4.       Write a Java script program to print the hostname of the site, detect the browser name
5.       Write a program of Fibonacci series using for loop in java script.
      6.       Write an HTML code to window handle window alert
                               a)      Alert    b) confirm           c) prompt
      7.    Write a Java Script Function that take the value in the text input and converts it from pound to kg        and  kg to pound.
            The conversion factor from pounds to kilograms is 0.45359237 and from kilo grams to pounds is          2.20462262      

       8.    Write a program to reverse the given string using java script.
       9  Write a program to check whether the given string/number is palindrome or not using java script.
      10.  Write a program to count the characters of given string using java script.
      11.  Write a program to display the day of the week as per given input using Java Script.
      12.   Write  a program using Array and Switch statement for displaying the day of week according the       choice of user. Sunday should be display for 1, Monday for 2 and so on.
1    13. Write a pattern that matches e-mail addresses. The personal information part contains the                     following ASCII characters.
  •      Uppercase (A-Z) and lowercase (a-z) English Letter
  •      Digits (0-9)
  •      Character   !  @  $  %   &  , `  *   +   -  /   +   ?  ^   _   '   {  |   }  ~
  •      Character. (period, dot or Fullstop) provided that it is not the first or last character and it will not come one after the other.

14 Write a Java Script Program to Draw the following shapes:          
           14.1   Hint to Program: getContext, fillRect
          

         
          
           14.2   Hint to Program:  beginPath(),moveTo
    
          14.3   Hint to Program: FillRect, FillStyle1.   


           14.4   Hint to Program: FillRect, FillStyle1.   


 15.  Write a  Java Script Program Using onchange event, ,onblure event, document.write,             document.writeln. 

 Java Servlet - (Unit-2) :
16. Write a program in Java Servlet  to print "Namaste Bharat".
17. WAP  to call servlet page from index page using post method.
18. WAP  to call servlet page from index page using get method.
19. Write a program to check whether the given string/number is palindrome or not using Java Servlet.
20. Write a program to call a Servlet page context path, class name, local address, local port, method and protocol name.
21. Create a servlet that uses a loop to output an HTML table with 25 rows and 10 columns. For    instance, each row could contain “RowX, Col1”, “RowX Col2”, and “RowX Col3”, where X is the current row number.
22. WAP in servlet  to pass parameter values from index page(calling page) to servlet page(Called Page)
23. Design User Log in Screen
24.  Check following Validation on Login Button designed Practical No 23 (Client Side Validation).
       a) User Name must of 3 character only.
       b) Password must have at least 6 characters.
       c) Password must contain at least one special symbol.
       d) Password must contain at leas on number.
     

 Cookies and Database (Unit - 3):

25. Create a table name as student in Oracle Database with following table 
       a) std_id, std_name.std_add. 
       b) Insert 5 rows in table using  JDBC connectivity 

        1     Anil                 Jabalpur
        2     Kumar             Adhartal
        3.    Arvind             Sadar
        4.    Narendra         Ranji
        5.    Suresh             Medical

26. In Student table has five record update the name Suresh to Anamika using JDBC connectivity        procedure servlet.
27.Delete students from student table whose id are 4 and 5 using JDBC connectivity servlet.
28. Fetch and Display (Extract) all the data from student table using JDBC connectivity servlet.
29. WAP in Servlet to set the  Cookies from the browser.
30. WAP in Servlet to get the Cookies from the browser.


37. Check following Validate on Login Button Design in Practical No 23
      a) If user does not exist in data base, message should appear on button Click "User Does not Exist"
      b) If user exist but password is wrong prompt the message "User/Password is incorrect"
38.
39.
40.




Financial Year Oracle PLSQL Program

 CREATE OR REPLACE function FINANCIAL_YEAR(p_date DATE) return varchar2 IS    v_first     varchar2(4);    v_second    varchar2(4);    v_year...