Showing posts with label SYBBA(CA). Show all posts
Showing posts with label SYBBA(CA). Show all posts

Friday, May 28, 2021

JQuery Solution


JQuery 

 1. Write a jQuery code to check whether jQuery is loaded or not.

2. Write a jQuery code to scroll web page from top to bottom and vice versa.

 3. Write a jQuery code to disable right click menu in html page.

 4. Write a jQuery code to disable the submit button until the visitor has clicked a check box. 

5. Write a jQuery code to fix broken images automatically. 

6. Write a jQuery code to blink text continuously. 

7. Write a jQuery code to create a zebra stripes table effect. 

8. Write a jQuery code to print a page. 

9. Write a jQuery code to allow the user to enter only 15 characters into the textbox. 

10. Write a jQuery code to make first word of each statement to bold. 

11. Write a jQuery code to create a division (div tag) using jQuery with style tag. 

12. Write a jQuery code to select values from a JSON object. 

13. Write a jQuery code to add list elements within an unordered list element. 

14. Write a jQuery code to remove all the options of a select box and then add one option and select it. 

15. Write a jQuery code to underline all the words of a text.

 16. Write a jQuery code to demonstrate how to get the value of a textbox. 

17. Write a jQuery code to remove all CSS classes from an application.

 18. Write a jQuery code to distinguish between left and right mouse click. 

19. Write a jQuery code to check if an object is a jQuery object or not. 

20. Write a jQuery code to detect whether the user has pressed 'Enter key' or not. 

21. Write a jQuery code to count number of rows and columns in a table.

 22. Write a jQuery code to display form data onto the browser. 

23. Write a jQuery code to find absolute position of an element. 

24. Write a jQuery code to remove a specific value from an array. 

25. Write a jQuery code to change button text. 

26. Write a jQuery code to add options to a drop-down list. 

27. Write a jQuery code to set background-image to the page. 

28. Write a jQuery code to get the selected value and currently selected text of a dropdown box. 

29. Write a jQuery code to disable a link. 

30. Write a jQuery code to Restrict "number"-only input for textboxes including decimal points. 

31. Write a jQuery code to set value in input text.

Friday, May 7, 2021

Node.js Slip Solution

 Slip 1

a) Create a Node.js fil that will covert the output "Hello  World!" into upper-case letters.

b) Create a Node.js file that demonstrate create database student DB and student table (Rno, Snam e, Percentage) in MySQL .                                          [Marks 25]

Slip 2 

Q.1  Create a Node.js Application that uses user defined Module to return the factorial of given number.

Slip 3

Create  a  Node.js  Application  that  uses  user  defined  module circle.js which  exports  the functions area () and circumference () and display the details on console.


Slip 4


Create a Node.js Application that acce pts first name, last name and date of birth of Person and define   a Module that concatenate firstName and las tName and also calculate the age of the Person.


Slip 5

b. Create a Node.js file that Select all records from the "customers" table, and delete the specified record.                                                                                           [Marks 25]

Slip 6



Slip 30


Thursday, May 6, 2021

CPP Slip

Slip 1

 a. Write a cpp Program to check maxium and minium of two integers numbers(Use inline Function and conditional operator ) 

 b. Create a C++ class MyFile with data members file pointer and filename. Write necessary member functions to accept and disp lay File . Overload the following operators

Operator        Example          Purpose

+          F3=F l+F2    Concatenate the contents of file F1 and F2 in F3

             !F3                  Chan ges the case of alternate characte rs of file F3.                                                                                                                                  [Marks 25]

Slip 2

a)  Write a C++ program to find volume of cylinder, cone and sphere. (Use function overloading).                                                                                                  [Marks 15]
 

b)  Write a C++ program to create a class Movie with data members M_Name, Release_Year, Director_Name and Budget. (Use File Handling) Write necessary member functions to:
1.       Accept details for 'n'  Movies from user and store it in a file "Movie. bet" .
11.     Disp lay Movie details from a file
111.    Count the  number of objects stored in file                                                                                                                                                                                     [Marks 25]

Slip 3
a)  Write a C++ program to interchange va lue s of two int eger numbers. (Use call by reference)                                                                                                       [Marks 15]
 
b)    Write a C++ program to accept ' n' numbers  from user through Command Line Argument. Store all Even and Odd numbers in file "Even.txt" and "Odd.txt" respectively.
[Marks 25]

Slip 4

a)Write a C++ program to accept Worker information Worker_Name, No_of_Hours_worked, Pay_ Rate and Salary. Write necessa ry functions to calculate and display the salary of Worker. (Use default value for Pay_Rate)            [Marks 15]

 

b)Write a C++ program to create a base class Employee (Emp-code, name, sa lary). Derive two classes as Fulltime (daily_wages, num ber_of_days) and Parttime (number_of_working_hours, hourly_wages). Write a menu driven program to perform following functions:

1.  Accept the details of ' n ' employees and calculate the sa lary.

2.  Display the details of ' n' employees.

3.  Display the details of employee having maximum salary for both types of employees.

[Marks 25]





a)   Consider the following C++ class

class Point

{            int x,y; public:

void setpoint(int, int); void showpoint();

};

// To set the values ofx and y co-ordinate 

// To display co-ordinate of a point P in format (x, y).                                  [Marks 15]


 b)   Create a C++ base class Shape. Derive three different classes Circle, Sphere and Cylinder from shape class. Write a C++ program to calculate area of Circle, Sphere and Cylinder.  (Use pure virtual function).                                                         [Marks 25]

 

 


Slip 10. Write a jQuery code to make first word of each statement to bold.

  Slip 10. Write a jQuery code to make first word of each statement to bold.  <!DOCTYPE html> <html>   <head>     <scri...