What is an exception? Explain various causes of exceptions. Explain how create user defined exceptions in Java.
See Answer →What is interface? Explain advantages of using interfaces in Java with examples. Also, write limitations of interfaces.
See Answer →What is abstract class? Explain its advantages.
See Answer →What is polymorphism? What is difference between static binding and dynamic binding? Explain with the help of an example.
See Answer →Explain difference between String and StringBuilder classes of Java.
See Answer →Briefly explain different classes used for I/O in java with the help of examples.
See Answer →Explain use of final and super keywords in Java.
See Answer →What is a class? How a class is defined in Java? Explain use of getter and setter methods in Java.
See Answer →What is object oriented programming? Explain features of object oriented programming
See Answer →Explain use different logical operator available in java with the help of examples.
See Answer →Download any Dataset, then write a python code to read the downloaded dataset of your choice (April be CSV file) and print all features i.e. columns of the dataset. Determine the descriptive statistics i.e. Mean Median, Maximum, Minimum ,Range, Count, Variance, Standard Deviation etc. of the numeric features like age, marks, income etc., which April be present in the dataset.
See Answer →Write Program to perform following tasks (10 Marks)
a. Create a database PRODUCT_SELECTION_DB
b. Set connection with mysql.connector.connect.
c. Create a table PRODUCT _SELECTION in database PRODUCT_SELECTION_DB with
following data PRODUCT_NAME,PRODUCT_PRICE, MANUFACTURER, EXPIRY_DATE.
d. change table structure / (add, edit, remove column of a table) at run time
i. add a column address in the PRODUCT_SELECTION table.
ii. execute SQL INSERT statement to create a record into PRODUCT _SELECTION table
iii. run the query to updates all the records having EXPIRY_DATE as 31-Dec-2022 and
increase PRICE of all the PRODUCTS by 10% of PRODUCT_PRICE.
iv. delete all the records from PRODUCT _SELECTION Table where EXPIRY_DATE is
before 31-Dec-2022.
Write program in C, for the following :
a) To find the sum of digits in an N digit number entered by the user, and print weather the final sum of digits is even or odd
b) To replicate strcpy() function of string.h header file
c) To convert decimal number enetered by the user into its equivalent Binary number.
d) To find the Largest and Smallest number in an unsorted array of integers, entered by the user.
e) To find count vowels and consonants present in any sentence entered by the user
Using Structures write an interactive program in C language to create an application
program for a small school to maintain the Student_’s database. This application should
be having menu options like (10 Marks)
• Creating a New Record
• Reading/Listing of Records
• Modify the record
•Delete the record
Each Student_ record should have Student_Name, Student_Roll_No., Student_Class, Student_Fees, Date of Admission, etc.). The application should be designed user-friendly.
See Answer →Write a shell script to display the line count over several files(given as arguments).
See Answer →Write a shell script to find whether the given year is a leap year or not.
See Answer →Write a shell program to compress any file given by the user as an argument and display its original file size and compressed file size.
See Answer →Write the LINUX commands for the following:
(a) To display the present working directory. Make a directory with your name and add a text file
with the file name “text1”.
(b) To create any empty file using touch command.
(c) To move a file from one directory to any other directory.
(d) To display the first 10 lines of any text file.
(e) To grant the permissions of read and execute to the user and execute only permission to the
group and others for all the files in a current directory.
(f) To display the file content in a reverse order (from the last line) of any text file.
(g) To diplay the User ID / Group ID.
(h) To compare two files or streams.
(i) To translate the file content from lower case to upper case.
(j) To count no. of lines, words and characters in a file.
For the following given tasks of Windows 10, write the step-by-step procedure as well as attach the main screen shots:
(a) To personalize the start screen using the charms bar and Change PC Settings.
(b) To customize the tiles on the START screen using the mouse with press and drag.
(c) Copy an item to the clipboard.
(d) Downloading and configuring a Acrobat Reader and any UNZIP package.
(e) Use Cortana(voice search feature) to locate any application.
(f) Scheduling file backups.
(g) To change the screen saver, screen resolution, display settings, text size, lock screen and mouse
pointer settings
(h) Connect your system to Wi-Fi
(i) Use Windows Defender
(j) Activate Screen Reader
(k) Find the firewall and change its settings
(l) Use Task Manager, see the processes/services and remove any process which doesn’t affect your
system and consuming lot of resources.
(m) Dismiss Notifications using Notification Centre
(n) Download any WINDOWS APP and configure it.
(o) Download ZOOM video conferencing tool (free download only) and video conferencing with
peer group / friends.
(p) Look at the features of Calendar App. Add an event and set any alarm for it.
(q) Bookmark a website with Edge. Pin a site to the start menu.
(r) Using Edge, Clear Browsing History and clear all cookies.
(s) Explore the Maps Feature, view 3d features, street views etc..
(t) Upload, share and sync with Microsoft’s OneDrive.
To customize the tiles on the START screen using the mouse with press and drag.
See Answer →