0% found this document useful (0 votes)
25 views18 pages

Bca Ii

Bca 2 part And there syllabus all the information about computer and technology

Uploaded by

jackbhaiji77
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
25 views18 pages

Bca Ii

Bca 2 part And there syllabus all the information about computer and technology

Uploaded by

jackbhaiji77
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 18
SCHEME OF EXAMINATION 2019-2020 BCA PART-II Theory Marks | Internal Teaching Load Subject Subject Paper Marks per Week Code Lot P Max. Min. | Max. Min. (A) «B) | © (D) BCA201_| Calculus and Differential Equations so | 27 | 2 | 8 |4)2]- BCA202 | Database Management System 80 27 20 8 4 2 - BCA203 | Programming in 'C++" 80 27 20 8 4 2 - | + BCA204_| Computer Networks so | 2 | 2 | 8 |4}2]- BCA205 | Operating Systems with Linux 80 27 20 8 f4]2]- BCA206_| Foundation Course 80 27 20 8 4 2 - BCA207_| LAB IV: Programming Lab in “C++” too | so | 40 | ie | - | - | 3x2 BCA208 | LAB V: Database Management 100 50 40 16 - - 2x2 System Lab. BCA209_| LAB VI: Operating System Lab too | 30 | 20 | & |-| - [i TOTAL 780 | 312 | 220 | 88 GRAND (PAPER + INTERNAL) (ArO) (BD) TOTAL 1000 400 © Student will have to pass individually in all theory, practical and sessional. FRO bana ee hye BrKa9 bs Calculus and Differential Equations Subject Code - BCA-201 ‘Max Marks : 80 Min Marks : 27 Note : The Question Paper setter is advised to prepare unit-wise question with the provision of internal choice. Only Simple calculators allowed not scientific calculator. Differentiation UNIT-1 Limits -Definition of limits, Continuity of one variable, Types of continuity, Properties of continuous function: Borel’s Theorem, Boundedness Theorem, Mostest Theorem, Intermediate value theorem, Differentiability of function(s) of one variable UNIT -IL Differentiation of Functions, Differentiation of functions of functions, parametric functions, product of functions, function in Product and quotient form, Logarithmic differentiation, Differentiation of Parametric functions. Higher order derivative, Maxima and Minima Integration UNIT - IIT Indefinite Integral- Basic integration Formulas, Trigonometrie Integrals, Integration by Parts, Integration by substitution UNIT-IV Definite Integrals- Introduction, Properties of definite integrals, Problem based on properties of definite integrals Differential Equation UNIT -V Introduction to differential equation: Definition, order and degree of differential equation, derivation of a differential equation, general and particular solution of differential equation, separation of variables. TEXTBOOK: 1, Calculus and Statistical Analysis: H.K. Pathak 2. Calculus : BR. Thakur 3. Differential Equation: HK Pathak REFERENC! Differential Calculus : Gorakh Prasad Differentiation & Integration : H.K Pathak 1 2. 3. Integral Calculus: Gorakh Prasad 4. Differential Equation : Gorakh Prasad 5. Calculus: Rey & Sharma we Aw ea denn CR AEE ella be 7 BRN <3\\ 7 a Database Management System Subject Code - BCA-202 Max Marks : 80 Min Marks : 27 Note : The Question Paper setter is advised to prepare unit-wise question with the provision of internal choice. Only Simple calculators allowed not scientific calculator. UNIT - I: Overview of Database Management Data, Information and knowledge, Increasing use of data as a corporate resource, data processing verses data management, file oriented approach verses database oriented approach to data ‘management; data independence, database administration roles, DBMS architecture, different kinds of DBMS users, importance of data dictionary, contents of data dictionary, types of database languages. Data models: network, hierarchical, relational. UNIT - Il: Relational Model & Relational Algebra Entity-Relationship model as a tool for conceptual design-entities, attributes and relationships. ER diagrams, Concept of keys; Case studies of ER modeling Generalization; specialization and aggregation. Converting an ER model into relational schema. Extended ER features, Introduction to UML, Representation in UML diagram (Class Diagram etc.) UNIT - III: Relational Database Design Relational Algebra: select, project, cross product different types of joins (inner join, outer joins, self-join); set operations, Tuple relational calculus, Domain relational calculus, Simple and complex queries using relational algebra, stand alone and embedded query languages. UNIT - IV: Structured Query Language (SQL) Normalization concept in logical model; Pitfalls in database design, update anomalies: Functional dependencies, Join dependencies, Normal forms (INF, 2NF, 3NF). Boyce Codd Normal form, Decomposition, Multi-Valued Dependencies, 4NF, SNF. De-normalization. UNIT - V: Query Processing and Security Introduction to SQL constructs (SELECT...FROM, WHERE... GROUP BY... HAVING. ORDERBY ....), INSERT, DELETE, UPDATE, DROP, VIEW definition and use, Temporary tables, Nested queries, and correlated nested queries, Integrity constraints: Not null, unique, check, primary key, foreign key, references, Inner and Outer Joins. Query Processing: Parsing, translation, optimization, evaluation and overview of Query Processing. Protecting the Data Base: Integrity, Security and Recovery. Domain Constraints, Referential Integrity, Assertion, Triggers, Security & Authorization in SQL. BOOKS RECOMMENDED: Database System Concept: 4. Silberschatz , HLF. Korth and S. Sudarshan, TMH. Fundamentals of Database Systems: Z/masri & Nawathe, Pearson Education ‘An Introduction to Database Systems: C. J. Date, AWL Publishing Company SQL, PLISQL: fvan Bayross, BPB Publication ‘An Introduction to database systems: Bipin Desai, Galgotia Publication Database Management System: 4. K Newmar s & P. Bhattacharya, TMH dB Gait 4& ae be @ Ge a aya a Programming in “C++”? Subject Code - BCA-203 Max Marks : 80 Min Marks : 27 Note : The Question Paper setter is advised to prepare unit-wise question with the provision of internal choice. Only Simple calculators allowed not scientific calculator. UNIT - I: Language Fundamental Overview of OOP: The Object Oriented paradigm, Basic concepts of OOP, Benefits of OOP, Object oriented languages, Application of OOP Overview of C+: History of C++, Data Types: Built-in data types, User-defined data types, Derived data types. Constants and Variables: symbolic constants, Dynamic initialization of variable, Reference variable. Operators in C++. Control Structures: if-else, nested if-else, while, do-while, for, break, continue, switch, goto statement. UNIT - II: Structure & Function Structures: A Simple structure, defining a structure variable, Accessing structure’s member, Enumeration data type. Function: Function Declaration, Calling Function, Function Definition, Passing Arguments to function: Passing Constant, Passing Value, Reference Argument, Structure as argument, Default ‘Argument Returning values from function: return statement, Returning structure variable, Return by reference, Overloaded Function, Inline Function. UNIT - Il: Object Classes and Inheritance Object and Class, Defining the class and its member, Making an outside function inline, nesting of member function, array as class member, structure and classes. Memory allocation: memory allocation for objects, new and delete operator, static data member, static member functions, object as function argument. Constructor & Destructor: Null and default constructor. Parameterized constructor, Constructor with default argument, copy constructor, class destructors, ointers and Inheritance introduction, & and * operator, pointer to object, this pointer, pointer to derived class. Inheritance: Introduction to inheritance, Types of inheritance, function overriding, Constructor in Derived class. Access specifiers: public, private, protected. UNIT - V: Polymorphism Dynamic polymorphism: Virtual function, Pure Virtual Function, Abstract class Static Polymorphi increment), --) using operator function, overloading binary operators (+, Operator keyword, overloading unary operators (+ (pre increment and post > OD. Friend function, Friend class, overloading binary operators using friend function RECOMMENDED BOOKS : 1 2 2: 4. Axe Cea eu Object Oriented Programming with C++ : £. Balagurusamy, The McGraw-Hill Let Us C+: Yesvant Kanetkar, BPB Publications The C++ Programming Language: Bjarne Stroustrup, Addision Wasley. Object Oriented Programming in C+ : Robert Lafore, Galgotia Publications. TF Computer Networks Subject Code - BCA-204 Max Marks : 80 Min Marks : 27 Note : The Question Paper setter is advised to prepare unit-wise question with the provision of internal choice. Only Simple calculators allowed not scientific caleulator. UNIT - I -Introduction to Computer Networking Data Communication, Networks - Distributed Processing, Network Criteria, Applications; Protocols and Standards, Standard Organization, Line Configuration - Point to Point, Multi Point; Topology ~ Mesh, Star, Tree, Bus, Ring, Hybrid; Transmission mode, Categories of Network - LAN, MAN, WAN, Inter Networks, UNIT - I Transmission of Digital Data Analog and Digital, digital data transmission - parallel transmission, serial transmission, DTE-DCE interface - data terminal equipment, data circuit terminating equipment, standards, modems- Transmission rate, Modem standards. UNIT - III- The OSI Model 1SO organization, The model - Layered architecture, functions of the layers -Physical layer, Data Link layer, Network layer, Transport layer, session layer, Presentation layer, Application layer UNIT - IV TCP/IP Model & Protocols The TCP/P reference model, comparison of TCP/IP & OSI, Introduction to Intemet - ARPANET, Architecture of Intemet, Client server model, www, IP Address Classes, Protocols: IP, HTTP, TCP, FTP, ARP. UNIT - V Network Security Introduction of Network Security and it’s importance. Cryptography: Definitions, Symmetric Key Cryptography: Traditional Ciphers, Simple modern Ciphers, Asymmetric Key Cryptography: RSA, Security Services, Digital Signatures, BOOKS RECOMMENDED: 1, Introduction to Data communication & Networking - Behrouz & Forouzan 2. Computer Networking - Andres & Tanenbaum hor esti Operating Systems with Linux Subject Code - BCA-205 Max. Marks: 80 Min Marks : 27 Note : The Question Paper setter is advised to prepare unit-wise question with the provision of internal choice. Only Simple calculators allowed not scientific calculator. UNIT - I: Introduction Defining operating system, History and Evolution of operating system, Basic Concepts: batch processing, spooling, multiprogramming, multiprocessor system, time sharing, real time systems, Functions and Goals of operating system. UNIT - II: Process Management Process concept, Process Control Block, Process State: State Transition Diagram, Scheduling Queues: Queuing Diagram, Types of schedulers-context switching and dispatcher, various types of CPU scheduling algorithms and their evaluation, multilevel queues and multilevel feedback queues. UNIT - III: Memory Management Preliminaries of memory management, Contiguous memory allocation, fragmentation, partition allocation policies, compaction, Non-Contiguous memory allocation, Paging, Segmentation, Virtual Memory: Demand paging, Swapping, Page replacement policies: FIFO, Optimal, LRU, MRU. UNIT - IV: Introduction to UNIX. Introduction to Multi-user System, Emergency and history of Unix, Feature and benefits, Versions of Unix. System Structure:-Hardware requirements, Kemel and its function, introduction to System calls and Shell File System : Feature of Unix File System, Concept of i-node table, links, commonly used commands like who, pwd, ed, mkdir, rm, Is, mv, Ip, chmod, cp, grep, sed, awk, pr, lex, yacc, make, ete. Getting started (login / logout).Vi Editor:-Intro to text processing, command and edit mode, invoking vi, command structure, deleting and inserting line, deleting and replacing character, searching strings. UNIT - V: Shell Programming Introduction to shell feature, wild card characters, i/out redirections, standard error redirection, system and user created shell variables, profile files, pipes/tee, background processing, command line arguments, command substitution, read statement, conditional execution of commands, special shell variables $ #, #2, $* ete. Shift commands, loops and decision making- for, while and until, choice making using case...esac, decision making if ...fi, using test, string comparison, numerical comparison, logical operation, using expr. BOOKS RECOMMENDED: 1, Operating System Concepts, Abraham Silberschatz, Peter B. Galvin and Greg Gagne (Wiley India Edition) 2, Modem Operating System, Andrew .S, Tanenbaum, (PHI) 3, UNIX Complete Reference Foundation Course Subject Code - BCA - 206 Max. Marks: 80 Min Marks : 27 Note : The Question Paper setter is advised to prepare unit-wise question with the provision of internal choice. Only Simple calculators allowed not scientific calculator. OBJECTIVE This course is designed to make the students acquainted with Indian History and Culture, To make students aware of their fundamental rights & duties and to have the knowledge of parliamentary form of Government. To groom students and develop their professional skills. Unit 1 Indian Art, meaning of art, features of indian art, elementary knowledge of paintings, music,dancing, sculpture archeology, iconography & other social arts. Unit 11 Indian Literature, Ancient Indian Literature, Elementary knowledge of Vedic Literature, Mahabharta, Ramayan and other main granthas. ‘Unit 11 Indian Freedom Struggle : Freedom Struggle of 1857, National Consciousness, non-cooperation movements. Civil disobedient movement quit India movement, contribution of revolutionaries in freedom struggle. Unit IV Indian Constitution : Introduction, main features of constitution, fundamental rights. Parliamentary Government: Meaning, Features, Rajya Sabha, Lok Sabha. Unit V ‘Communication: Process, Channels, Barriers. Listening: Types, Purpose, Barriers, Effective Listening Strategies Job Interviews: Résumé Writing, Group Discussion, Job Application Writing, Interview Preparation BOOKS RECOMENDED: ‘© Indian Culture the book sponsored by M.P. Hindi granth Academy ‘Parliamentary Procedure in India by A.R Mukherjea ‘© Effective Technical Communication by M Ashraf Rizvi e 2A he zon eee Ae? Ww Oe ES “paw” PRACTICAL WORK _BCA II BCA-207 - LAB IV: Programming Lab in ‘C++” 1 Scheme of Examination: Practical examination will be of 3 hours duration. The distribution of practical marks will be as follows Program 1 == 20 Program2 =~ 20 Program 3 - 20 Viva : 25 [ Practical Copy + Internal Record | ~ 15 Total - 100 2 In every program there should be comment for each coded line or block of code 3 Practical file should contain printed programs with name of author, date, path of program, unit no. and printed output. 4 All the following programs or a similar type of programs should be prepared List of Practical Loops, DECISIONS, NESTED METHOD, MEMBER FUNCTION DEFINED OUTSIDE CLASS BODY: 1, Write program to generate following pattern a)ABCDEFG o * ABC EFG a AB FG ate A G bt ) 1 12 121 123 1331 1234 14641 2. Write member functions which when called asks pattern type; if user enters 11 then a member function is called which generates first pattern using for loop. If user enters 12 then a member function is called which generates first pattern using while loop. If user enters 13 then a member function is called which generates first pattem using do-while loop. If user enters 21 then a member function is called which generates second pattern using for loop and so on. 3. Write program to display number I to 10 in octal, decimal and hexa-decimal system. 4. Write program to display number from one number system to another number system. The program must ask for the number system in which you will input integer value then the program must ask the number system in which you will want, output of the input number after that you have to input the number in specified number system and program will give the output according to number system for output you mentioned carlicr. Array 5, Write a program using function to add, subtract and multiply two matrices of order 3x3. You have to create one function for addition, which accepts three array arguments. First two array arguments are matrices to add and third matrix is destination where the resultant of addition of first two matrixes is stored, In similar way create functions for matrix subtraction and multiplication. 6. Create a single program to perform following tasks without using library functions: a) To reverse the string accepted as argument. ) To count the number of characters in string passed as argument in form of character array. ©) To copy the one string to other string; passed as arguments in form of source character array and destination character array without using library function. d) To count no. of vowels, consonants in each word of a sentence passed as argument in form of character array. Class, Object, Array of object, Object Using Array 7. Create a class Student having data members to store roll number, name of student, name of three subjects, max marks, min marks, obtained marks. Declare an object of class student. Provide facilities to input data in data members and display result of student. 8. Create a class Student having data members to store roll number, name of student, name of three ‘subjects, max marks, min marks, obtained marks. Declare array of object to hold data of 3 students. Provide facilities to display result of all students. Provide also facility to display result of specific student whose roll number is given, 9. Create a class Sarray having an array of integers having 5 elements as data member provide following facilities a) Constructor to get number in array elements. b) Sort the elements. c) Find largest element b) Search for presence of particular value in array element. Static member function 10. Create a class Simple with static member functions for following tasks: a) To find factorial by recursive member function. b) To check whether a no. is prime or not c) To generate Fibonacci series up to requested terms. ‘Object as argument to function, function returning object 11, Write program-using class having class name Darray. Darray has pointer to pointer to integer as data member to implement double dimension dynamic array and provide following facilities: a) Constructor to input values in array elements b) Input member function to get input in array clement ©) Output member function to print element value d) Add member function to perform matrix addition using objects. €) Subtract member function to perform matrix subtraction using objects. Multiply member function to perform matrix multiplication using objects 12, Write program to create class complex having data members to store real and imaginary part Provide following facilities: a) Add two complex no. using objects. b) Subtract two complexes no. using objects. ) Multiply two complexes no. using objects. d) Divide two complex no. using objects. Friend Function 13. Create class Polar having data members radius and angle. It contains member functions for taking input in data members and member function for displaying value of data members. Class Polar contains declaration of friend function add which accepts two objects of class Polar and retums object of class Polar after addition, Test the class using main function and objects of class Polar. 14, Write program to create class distance having data members feet and inch (A single object will store distance in form such as 5 feet 3 inch). It contains member functions for taking input in data members and member function for displaying value of data members. Class Distance contains declaration of friend function add which accepts two objects of class Distance and retums object of class Distance after addition. Class Distance contains declaration of another friend function Subtract that accepts two objects of class Distance and retums object of class Distance after subtraction, Test the class using main function and objects of class Distance. 15. Write a program to create class Mother having data member to store salary of Mother, create another class Father having data member to store salary of Father. Write a friend function, which accepts objects of class Mother, and Father and prints Sum of Salary of Mother and Father objects Friend Class 16. Write a program to create class Mother having data member to store salary of Mother, create another class Father having data member to store salary of Father. Declare class Father to be friend class of Mother. Write a member function in Father, which accepts object of class Mother and prints Sum of Salary of Mother and Father Objects. Create member function in each class to get input in data member and to display the value of data member. Static Data Member 17. Create a class Counter having a static data member, which keeps track of no. of objects created of type Counter. One static member function must be created to increase value of static data member 29) - y as re, ne as the object is created. One static member function must be created to decrease value of static data member as the object is destroyed. One static member function must be created to display the current value of static data member. Use main function to test the class Counter. ‘STRUCTURE AND CLASS. 18. Define structure student. Structure student has data members for storing name, rollno, name of three subjects and marks. Write member function to store and print data, COPY CONSTRUCTOR, CONSTRUCTOR OVERLOADING, THIS POINTER, CONSTRUCTOR WITH DEFAULT ARGUMENT. 19. 20, Write program to create a class Polar which has data member radius and angle, define overloaded constructor to initialize object and copy constructor to initialize one object by another existing object keep name of parameter of parameterized constructor same as data members. Test function of the program in main function Write program to create a class Polar which has data member radius and angle, use constructor with default arguments to avoid constructor overloading and copy constructor to initialize one object by another existing object keep name of parameter of parameterized constructor same as data members. Test functioning of the program in main function FUNCTION OVERLOAD, REFERENCE VARIABLE, PARAMETER PASSING BY ADDRESS, STATIC FUNCTION 21. 22. 23, 24, Write a class having name Calculate that uses static overloaded function to calculate area of circle, arca of rectangle and area of triangle. ‘Write a class ArraySort that uses static overloaded function to sort an array of floats, an array of integers Write a program using class, which uses static overloaded function to swap two integers, two floats methods use reference variable Write a program using class, which uses static overloaded function to swap two integers; two floats methods use parameter passing by address ‘STRING, POINTER, AND OPERATOR OVERLOADING 28, Create class String having pointer to character as data member and provide following Facilities: a) Constructor for initialization and memory allocation b). Destructor for memory release ©) Overloaded operators + to add two string object. 4) Overloaded operator = to assign one string object to other string object. e) Overloaded operator == to compare whether the two string objects are equal or not £) Overloaded operator < to compare whether first-string object is less than sccond-string object. 2) Overloaded operator > to compare whether first-string object is greater than second-string abject or not, bh) Overloaded operator <= to compare whether first string object is less than or equal to second string object or not i) Overloaded operator >= to compare whether first string object is greater than or equal to second string object. i) Overloaded operator != to compare whether first string object is not equal to second string object or not k) Overloaded insertion and extraction operators for input in data member and display out put of data members 5. Create a class Matrix having data member double dimension array of floats of size 3x3. Provide following facilities: a) Overloaded extraction operator for data input b) Overloaded insertion operator for data output. ©) Overloaded operator + for adding two matrix using objects. 4) Overloaded operator - for subtracting two using matrix objects €) Overloaded operator * for multiplying two using matrix objects. OPERATOR OVERLOADING WITH FRIEND FUNCTION 27, Create a class Polar having radius and angle as data members. Provide following facilities: 8) Overloaded insertion and extraction operators for data input and display : sg = Kean askin 26 Brake b) Overloaded constructor for initialization of data members, ©) Overloaded operator + to add two polar co-ordinates using objects of class Polar. 28, Create class DegreeCelsius having a single data member to hold value of temperature in degree Celsius. Provide following facilities: a) Overloaded operator + which will increase value of data member by 1 (consider postfix and prefix operator overloading). b) Overloaded operator -- which will decrease value of data member by 1 (consider postfix and prefix operator overloading). ©) Overloaded insertion and extraction operators for input in data member and display value of data member. OPERATOR OVERLOADING AND DATA TYPE CONVERSION 29, Create a class Polar that contains data member radius and angle, Create another class Cartesian in the same program and provide following facilities: a) It should be possible to assign object of polar class to object of Cartesian class. b) It should be possible to assign object of Cartesian class to object of polar class. 30. Create a class Fahrenheit that contains a data member to hold temperature in Fahrenheit, Create another class Celsius that contains a data member to hold temperature in Degree Celsius; in the same program and provide following facilities: a) It should be possible to assign object of Fahrenheit class to object of Celsius class, b) It should be possible to assign object of Celsius class to object of Fahrenheit class. ©) It should be possible to compare objects of class Fahrenheit and Celsius to find out which object contains higher temperature. ‘VoD POINTER, POINTER AND POINTER TO OBJECT 31. Create a program having pointer to void to store address of integer variable then print value of integer variable using pointer to void. Perform the same operation for float variable. 32. Write program to find biggest number among three numbers using pointer and function. 33. Write swapping program to demonstrate call by value, call by address and call by reference in a single program. 34, Write program to Create a class Employee having data members to store name of employee, employee id, salary. Provide member function for data input, output. Use Pointer to object to simulate array of object to store information of 3 employees and test the program in function main. INLINE FUNCTION. 35. Write a program using inline function to calculate area of circle, 36. Write a program using inline function to find minimum of two functions. The inline function should take two arguments and should return the minimum value. INHERITANCE 37. Create a class account that stores customer name, account number and type of account. From this derive the classes cur_acct and sav_acct to make them more specific to their requirements. Include necessary member functions in order to achieve the following tasks: a) Accept deposit from customer, b) Display the balance ©) Computer and deposit interest ) Permit withdrawal and update the balance. ©) Check for the minimum balance, impose penalty, necessary and update the balance, 38. Create a class circle with data member radius; provide member function to calculate area, Derive a class sphere from class circle; provide member function to calculate volume, Derive class cylinder from class sphere with additional data member for height and member function to calculate volume. 39. Consider an example of declaring the examination result. Design three classes:- student, exam and result, The student class has data members such as that representing roll number, name of student. Create the class exam, which contains data members representing name of subject, minimum. AD e Ber. Bam Es Qe” 2 AF WM ay marks, maximum marks, obtained marks for three subjects. Derive class result from both student ‘and exam classes, Test the result class in main function, VIRTUAL AND PURE VIRTUAL FUNCTION 40. Create a base class shape having two data members with two-member function getdata (pure virtual function) and printarea (not pure virtual function). Derive classes triangle and rectangle from class shape and redefine member function printarea in both classes triangle and rectangle and test the functioning of classes using pointer to base class objects and normal objects. , gO Re Kiron CR AS we gs. aay cae? PRACTICAL WORK BCA-208 - LAB V: Database Management System Lab 1 Scheme of Examination:- Practical examination will be of 3 hours duration, The distribution of practical marks will be as follows Program 1 (Oracle) ~ 20 Program 2 (Oracle) - 20 Program 3 (Oracle) - 20 Viva - 28 [ Practical Copy + Practical Sessional] : 15 Total - 100 2 In every program there should be comment for each coded line or block of code 3 practical files should contain printed programs with name of author, date, path of program, unit no, and printed output. 4 Al the following programs or a similar type of programs should be prepared List of Practical 1. Using the following database, Colleges (cname, city, address, phone, afdate) Staffs ( sid, sname, saddress, contacts) StafiToins ( sid, ename, dept, DOJ, post, salary) Teachings (sid, class, paperid, feession, tsession) Subjects ( paperid, subject, papemno, papername) Write SQL statements for the following — Sere mene ge Create the above tables with the given specifications and constraints. Insert about 10 rows as are appropriate to solve the following queries. List the names of the teachers teaching computer subjects. List the names and cities of all staff working in your college, List the names and cities of all staff working in your college who earn more than 15,000 Find the staffs whose names start with ‘M’ or ‘R’ and ends with ‘A’ and/or 7 characters long Find the staffs whose date of joining is 2005 Modify the database so that staff NI now works in C2 College. List the names of subjects, which TI teaches in this session or al sessions, Find the classes that TI do not teach at present session, a. Find the colleges who have most number of staffs b. Find the staffs that carn a higher salary who earn greater than average salary of their college. ¢. Find the colleges whose average salary is more than average salary of C2 4. Find the college that has the smallest payroll ©. Find the colleges where the total salary is greater than the average salary of all colleges. £ List maximum, average, minimum salary of each college a. List the names of the teachers, departments teaching in more than one department. b. Acquire details of staffs by name in a college or each college. ¢. Find the names of staff that eam more than each staff of C2 College. 4. Give all principals a 10% rise in salary unless their salary becomes greater than 20,000 in such ease give 5% rise. ¢. Find all staff that do not work in same cities as the colleges they work. Som Zon) Hoeo. SRM? se Frias ty h BE va “ad i List names of employees in ascending order according to salary who are working in your college or all colleges. a. Create a view having fields sname, cname, dept, DOJ, and post b. Create a view consisting of ename, average salary and total salary of all staff in that college. ¢. Select the colleges having highest and lowest average salary using above views, d._ List the staff names of a department using above views. 2. Create the following database, Enrollment (enrolling, name, gender, DOB, address, phone) Admission (admno, enrollno, course, yearsem, date, cname) Colleges (cname, city, address, phone, afte) FeeStructure (course, yearsem, fee) Payment (billno, admno, amount, pdate, purpose) Create the above tables with the given specifications and constraints. Insert about 10 rows as are appropriate to solve the following queries. Get full detail of all students who took admission this year class wise Get detail of students who took admission in Bhilai colleges. Calculate the total amount of fees collected in this session {) By your college ii) by each college iii) by all colleges a. List the students who have not payed full fee i) in your college ii) in all colleges List the number of admissions in your class in every year. ¢. List the students in the session who are not in the colleges in the same city as they live in, List the students in colleges in your city and also live in your city. 3. Create the following database, Subjects ( paperid, subject, paper, papername) ‘Test (paperid, date, time, max, min) Score (rollno, paperid, marks, attendence) Students (admno, rollno, class, yearsem) Create the above tables with the given specifications and constraints Insert about 10 rows as are appropriate to solve the following queries List the students who were present in a paper of a subject. List all roll numbers who have passed in first division, List all students in BCA-II who have scored higher than average i) in your college ii) in every college g. List the highest score, average and minimum score in BCA-II i) in your college ii) in every college 4. Using the following database Colleges (cname, city, address, phone, afidate) Stafis (sid, sname, saddress, contacts) StafiJoins ( sid, cname, dept, DOJ, post, salary) Teachings ( sid, class, paperid, fScssion, tscssion) Subjects ( paperid, subject, paperno, papername) ‘Write SQL statements for the following — Create the above tables with the given specifications and constraints. Insert about 10 rows as are appropriate to solve the following queries. List the names of the teachers teaching computer subjects. List the names and cities of all staff working in your college. List the names and cities of all staff working in your college who earn more than 15,000 Using the following database ye Suen | ES pis £ Asay Wepsullt ZS" &= aooe wane epese er eeoge Colleges (cname, city, address, phone, afdate) Staffs ( sid, sname, saddress, contacts) StaffFoins ( sid, cname, dept, DOJ, post, salary) Teachings ( sid, class, paperid, fSession, tsession) Subjects ( paperid, subject, paperno, papermame) Find the staffs whose names start with “M” or “R’ and ends with ‘A’ and/or 7 characters long. Find the staffs whose date of joining is 2005 Modify the database so that staff NI now works in C2 college. List the names of subjects which T1 teaches in this session or all sessions, Using the following database Colleges (cname, city, address, phone, afdate) Staffs ( sid, sname, saddress, contacts) Staffloins ( sid, ename, dept, DOJ, post, salary) ‘Teachings ( sid, class, paperid, fsession, tsession) Subjects ( paperid, subject, paperno, papername) FFind the classes that Tl do not teach at present session. Find the college who have most number of staffs Find the staffs who cam a higher salary who earn greater than average salary of their college. Find the colleges whose average salary is more than average salary of C2 Find the college that has the smallest payroll. Find the colleges where the total salary is greater than the average salary of all colleges, List maximum, average, minimum salary of each college Using the following database Colleges (cname, city, address, phone, afilate) Staffs ( sid, sname, saddress, contacts) StaffJoins ( sid, ename, dept, DOJ, post, salary) Teachings (sid, class, paperid, feession, tsession) Subjects ( paperid, subject, papemno, papername) Find the classes that T1 do not teach at present session List the names of the teachers, departments teaching in more than one departments. Acquire details of staffs by name in a college or each college. Find the names of staff who earn more than each staff of C2 college. Give all principals a 10% rise in salary unless their salary becomes greater than 20,000 in such case give 5% rise. Find all staff who donot work in same cities as the colleges they work. List names of employees in ascending order according to salary who are working in your college or all colleges. Using the following database Colleges (cname, city, address, phone, afidate) Staffs ( sid, sname, saddress, contacts) StaffJoins ( sid, ename, dept, DOI, post, salary) Teachings (sid, class, paperid, fSession, tsession) Subjects ( paperid, subject, paperno, papername) Find the classes that T1 do not teach at present session. Create a view having fields sname, ename, dept, DOJ, and post Create a view consisting of cname, average salary and total salary of all staff in that college. Select the colleges having highest and lowest average salary using above views. List the staff names of a department using above views. ) <9) hye Gs: ae Q BEES Sine Bo ae 4 BE ws Son\ 9. 10. u Enrollment (enrolino, name, gender, DOB, address, phone) Admission (admno, enrolino, course, yearsem, date, name) Colleges (cname, city, address, phone, afdate) FeeStructure (course, vearsem, fee) Payment (billno, admno, amount, pdate, purpose) Create the above tables with the given specifications and constraints. Insert about 10 rows as are appropriate to solve the following queries. Get full detail of all students who took admission this year classwise Get detail of students who took admission in Bhilai colleges. Calculate the total amount of fees collected in this session i) by your college ii) by each college iii) by all colleges Enrollment (enrolino, name, gender, DOB, address, phone) Admission (admno, enrolino, course, yearsem, date, cname) Colleges (cname, city, address, phone, afdate) FeeStructure (course, vearsem, fee) Payment (billno, admno, amount, pdate, purpose) a. _ List the students who have not payed full fee i) in your college ii) in all colleges b. List the number of admissions in your class in every year. List the students in the session who are not in the colleges in the same city as they live in. List the students in colleges in your city and also live in your city. ae Subjects ( paperid, subject, paper, papername) ‘Test (paperid, date, time, max, min) Score (rolino, paperid, marks, attendence) Students (admno. rolino, class, yearsem) Create the above tables with the given specifications and constraints. Insert about 10 rows as are appropriate to solve the following queries List the students who were present in a paper of a subject. List all rol] numbers who have passed in first division. List all students in BCA-II who have scored higher than average i) in your college ii) in every college £ List the highest score, average and minimum score in BCA-II we in your college ii) in every college nn , x R 9 wr Hn ME Yowe Fae o Bll] A / « “AA eeore PRA BCA-209 - LAB VI: Operating System Lab Scheme of Examination: 1. Practical examination will be of 3 hours duration. The distribution of practical marks will be as follows Program 1 - 20 Program 2 - 20 Program 3 - 20 Viva - 25 [Practical Copy + Internal Record J - 1s Total : 100 In every program there should be comment for cach coded line or block of code 3. Practical file should contain printed programs with name of author, date, path of program, unit no, and printed output. 4, All the following programs or a similar type of programs should be prepared List of Practical 1, Change your shell environment — path, home, ifS, mail, ps1, ps2, term, logname i) at commandline ii) at shell level iii) at login level ‘Change the wallpaper, screensaver in GNOME, KDE Install Linux with following specifications ~ usename, password, partitions for various directories such as fete, home, ete ‘Add a user and password, change the password Add & remove a group Create partitions on your disk. Install and configure (i) printer ii) scanner Using vi editor do the following exercives Linafile i) replace the words ‘has’ with ‘has not * ii) Locate n" character iii) Sort lines 21 to 40 2. Ina file copy/cut and paste following text- i Ati line, n lines to j" line ii Yank few words iii Cut and paste n words to i" position in I line 2. Open two files “txtfile’ and “newfile’ and copy/cut 5 lines from txtfile and paste them in newfile using vi editor. Open ‘txtfile’ and copy/cut following and paste to the ‘newfile” i ito the last line in it 5, Create macro ii to paste your name at any position in the file iii to map the 1* function key to search for “loop” and copy into the buffer ‘a’ all text following it up to but not including the string “end”, iv to remove all leading spaces in a file ¥ to save and quit vi editor in input mode Write commands i, Listall files that match a class. Peden es Wt ii. iv. vi vil. List all files that do not match a class. Change the file permissions Configure or set characteristics of your terminal. Describe any 3 Display the lines in a file that contain a particular word Append the contents of two files in a file JABC. ‘Count the number of files in a directory. Write shell programs i iii iv. v vi vii vill, ix x. xi xiii xiv. Display all the users currently logged in detail with column headers. List all files in current directory and save the list in a file ABC. Also save the contents of the files in ABC and display the contents in ABC in sorted order. Sort the contents of a file ABC and save it in OABC. Display all the users currently logged in detail with column headers. ‘To save current date & time, number of files & directories in the current directory and contents of all the files to a single file NFL. To input a number and test whether it is +ve, -ve or zero. To test whether a filename is a regular file or a directory or of other type To list only the directories in current path. To print the greatest of three numbers. To print 12 terms of Fibonacci series. To display all users currently logged in & also check a particular user every 30 seconds until he logs in, To save current date & time, number of files in the current directory and contents of all the files matching a pattern to a single file NPFL. To display particular messages depending on the weekday. To display common messages for following group of days-Monday & Wednesday, Tuesday & Thursday and Friday é& Saturday and other day. To accept a string from the terminal and echo a suitable message if it doesn’t have at least 9 characters Write a Shell Script to find the factorial of a number Write a Shell Script to swap two numbers using third variable. Write a Shell Script to print prime numbers between 1 to 20. White a Shell Script to greatest of three numbers. Write a Shell Script to sort the contents of a file XYZ and save it in BAIL Write a Shell Script to display mathematical table of any number in the format E x :-3*1=3. Oheo fea Bee ye Wns eer “aaa a

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy