Posts

Project Report Sheet

Image
    Project Report Sheet Streamline your project tracking with ready-to-use project management sheet in Excel. The beauty of a sheet is that you have a starting point you can use again and again. Download Project Report Sheet

JAVA ASSIGNMENT-2

Image
Programs Assignment 2  – 2018 Programs Assignment – 2 1. Write a Java program to show that private member of a super class cannot be accessed from derived classes. 2. Write a program which show the calling sequence of default constructor in multilevel inheritance. 3. Create a class Student and derive class Result. Student class has name and rollNo. Result class has sub1, sub2, sub3 and total_marks. Student class and Result class has their own display method to display their parameters. Display the result of 5 students. Take input using parameterized constructors. Use super keyword to call parent class constructor and parent class method. 4. Write a class Worker and derive classes DailyWorker and SalariedWorker from it. Every worker has a name and a salary rate. Write method ComPay (int hours) to compute the week pay of every worker. A Daily Worker is paid on the basis of the number of days s/he works. The Salaried Worker gets paid the wage for 40 hours a week no matter what t...

LAB ASSIGNMENT -1 DBMS FYBCA (SEM 2)

Image
LAB ASSIGNMENT -1  DBMS  FYBCA (SEM 2)         Database : College_Management_System Tables: University (u_id, u_name, u_addr,u_city)  College (c_id, c_name, c_addr,c_city, c_state)  Department (d_id, d_name)  Student (s_id,s_name, s_addr,s_city, s_phno)  Course (course_id, course_name)  Professor (p_id, p_name, p_addr, p_city,p_phno, p_designation) 1. Create all tables with fields and constraints. 2. Insert 5 records for each tables 3. View records from college table. 4. View records from course table. 5. View records p_name, p_address, p_city from professor table. 6. Display all records from university table. 7. Display records s_id, s_name, s_address, s_city from student table whose name is rahul. 8. Change name raj instead of rajesh in student table. 9. Change designation mca instead of bca in professor table. 10. Change course name bcom instead of bba in course table. 11. Add field s_email_id in student table. 12. Add field cou...

FYBCA SEM 2 C ASSIGNMENT-I

Image
SHRI SHAMBHUBHAI V. PATEL COLLEGE OF C. S. & B. M. F.Y.B.C.A (SECOND SEMESTER) PRACTICAL ASSIGNMENT-I FYBCA SEM 2 C ASSIGNMENT-I  2018 1) Write a program to generate all possible combination of string for a given string. E.g. Input “surat” O/p: surat, urats, ratsu, atsur, tsura. 2) Write a program to read a sentence (containing blank spaces) and display it in toggle case. 3) Write a program to read a sentence. Count the number of capital letter, small letters , special characters and numbers. 4) Write a program to check whether given string is palindrome or not. 5) Write a program to do the following on a given string. I/p: patel shiv kumar O/p:  patel  shiv  kumar 6) Write a program which will read a string and rewrite it in the alphabetical order. For ex:- input=”string” output= “ginrst” Click Here to Download Fybca Assignment 2018

SYBCA SEM 4 JAVA ASSIGNMENT

Image
Programs Assignment – 2018 1. Print 'hello world' in java. 2. Addition of two values passing by command line argument. 3. Write a program to find the result of following expression.     1) a << 2 + b >> 2     2) (a<<2) + (b>>2)     3) a & b     4) a | 4 + a >> b & 7 4. Write a program in java to explain the use of break and continue statements. 5. Create Box class with data members width, height and depth. Objects of this class initializewith zero value or by passing single value. Create a method to calculate volume and display it.   6. Calculate area of square, rectangle and triangle using the three same name methods 'area'; 7. Make CALC class with two data members. Perform addition, subtraction, multiplication and division operation of given two values by user. Initialize both data members with zero. (use menu-driven) 8. Create array with values {8,7,6,5,4} and display it. ...

Unix Awk Script

Image
Awk Script  1. Print Even number of words in each line from file Ans. awk '{for(i=1;i<=NF;i++) if(i%2==0) printf("%s ",$i) else continue printf("\n") }' file1 O/P:-= is command file created awk {file1:- this is awk command example this file is created for awk } 2. Display words having length greater than 10 and consists of digit. Ans. awk '{for(i=1;i<=NF;i++) if(length($i)>10) if(int($i)) printf("%s ",$i) else continue printf("\n") }' file2 O/p: 12345678912 {file2: this is number file 123445 123456789 hcd kkd 72 7832 12345678912 1234156789 124 edne 124de edj 12dw ds5 asjkdeyfendj fdej kjd faiuendhgej dk fdkfj87fdnj77n dfjn jhfd hude7634bfdef }

Solved UNIX ASSIGNMENT-4 New

Image
UNIX ASSIGNMENT-4 Solved Tutorial - 4 Subject : Unix & Shell Programming 1.      write a shell script to copy one file into other, display appropriate message if destination file already exist. Script: echo "Enter source filename: " read sname echo "Enter destination filename: " read dname if [ -f $sname ] then         if [ -f $dname ]         then                 echo "Destination file already exists"                 echo "Do You want to overwrite the file?(y/n)"                 read ans                 if [ $ans = 'Y' -o $ans = 'y' ]           ...