Results for slip1

Web Technology Slip 30

February 12, 2021

 Write a JavaScript program to construct the following pattern up to n lines, using a nested for loop.

Web Technology Slip 30

Write a JavaScript program to construct the following pattern up to n lines, using a nested for loop.

i
i        i        
i        i        i

Answer : 

Web Technology Slip 30 Web Technology Slip 30 Reviewed by technical_saurabh on February 12, 2021 Rating: 5

Web Technology Slip 29

February 12, 2021

Write a JavaScript function that accept three numbers and display the larger number

Write a JavaScript function that accept three numbers and display the larger number

Answer : 
Web Technology Slip 29 Web Technology Slip 29 Reviewed by technical_saurabh on February 12, 2021 Rating: 5

Web Technology Slip 28

February 12, 2021

 Design a HTML form for Bus Ticket Reservation consisting of fields for Name, Address, contact no, source station(Dropdown list), Destination station, Date of booking, date of journey, no of passenger, name of passenger, gender of passenger etc. You should provide button to submit as well as reset the form contents. (Use proper alignment)

Web Technology Slip 28

Write a JavaScript program to construct the following pattern up to n lines, using a nested for loop.

*

*            *

*            *            *

Answer : 
Web Technology Slip 28 Web Technology Slip 28 Reviewed by technical_saurabh on February 12, 2021 Rating: 5

Web Technology Slip 27

February 12, 2021

Write a java script code to accept a number and write a function to calculate sum of digits of  that number

Web Technology Slip 27

Write a JavaScript function to compute the sum of factors of a input number

Answer :
Web Technology Slip 27 Web Technology Slip 27 Reviewed by technical_saurabh on February 12, 2021 Rating: 5

Web Technology Slip 26

February 12, 2021

Write HTML and CSS code to design a web page. Divide the browser screen into two frames. The first frame will display the heading. The second frame contains a menu consisting of hyperlinks. Clicking on any one of these hyperlinks will display related information in a new page

Web Technology Slip 26

Write a JavaScript function that checks whether a input string is palindrome or not. 

Answer :
Web Technology Slip 26 Web Technology Slip 26 Reviewed by technical_saurabh on February 12, 2021 Rating: 5

Web Technology Slip 25

February 12, 2021

Write a java script code to accept a number and write a function to calculate sum of digits of  that number

Web Technology Slip 25

Write a JavaScript function that reverse a input number 

Answer : 
Web Technology Slip 25 Web Technology Slip 25 Reviewed by technical_saurabh on February 12, 2021 Rating: 5

Web Technology Slip 24

February 12, 2021

Write a java script code to accept a number and write a function to calculate sum of digits of  that number

Web Technology Slip 24

Write a java script code to accept a number from user and write a function to calculate sum of all odd digits of that number.

Answer : 
Web Technology Slip 24 Web Technology Slip 24 Reviewed by technical_saurabh on February 12, 2021 Rating: 5

Web Technology Slip 23

February 12, 2021

Write a java script code to accept a number and write a function to calculate sum of digits of  that number

Web Technology Slip 23

Write a java script code to accept a number and write a function to calculate sum of digits of that number 

Answer :
Web Technology Slip 23 Web Technology Slip 23 Reviewed by technical_saurabh on February 12, 2021 Rating: 5

Web Technology Slip 22

February 12, 2021

Write a java script code to accept a string and write a function to calculate length of string

Web Technology Slip 22


Write a java script code to accept a string and write a function to calculate length of string

Answer : 
Web Technology Slip 22 Web Technology Slip 22 Reviewed by technical_saurabh on February 12, 2021 Rating: 5

Web Technology Slip 21

February 12, 2021

Write a java script code to accept a number n from user and display first n terms of Fibonacci series

Web Technology Slip 21

Write a java script code to accept the values of x and y and then display xy

Answer : 
Web Technology Slip 21 Web Technology Slip 21 Reviewed by technical_saurabh on February 12, 2021 Rating: 5

Web Technology Slip 20

February 12, 2021

Write a java script code to accept a number n from user and display first n terms of Fibonacci series

Web Technology Slip 20


Write a java script code to accept a number n from user and display first n terms of Fibonacci series

Answer :

Create HTML page with following specifications 
i) Title should be about your Car. 
ii) Color the background by Pink color.
iii) Place your car name at the top of page in large text and in green color. 
iv) Add names of features in your car, each in different color, style and font 
v) Add scrolling text about your Car. 
vi) Add any image at the bottom. (Use external CSS to format the web page) 

Answer : 



Web Technology Slip 20 Web Technology Slip 20 Reviewed by technical_saurabh on February 12, 2021 Rating: 5

Web Technology Slip 19

February 12, 2021

Write a java script code to accept a string from user and display the occurrences of every vowel character from string.

Web Technology Slip 19

Write a java script code to accept a number form user and display its factorial. 

Answer : 


Design an HTML form to take the information of a customer for booking a travel plan consisting of fields such as name, address, contact no., gender, preferred season(Checkboxes), location type(to be selected from a list) etc. You should provide button to submit as well as reset the form contents. (All the fields should be properly aligned) 

Answer :



Web Technology Slip 19 Web Technology Slip 19 Reviewed by technical_saurabh on February 12, 2021 Rating: 5

Web Technology Slip 18

February 12, 2021

Write a java script code to accept a string from user and display the occurrences of every vowel character from string.

Web Technology Slip 18

Write a java script program to accept the value of n and display all odd numbers up to n. 

Answer : 


Write the HTML code which generates the following output. (Use external CSS to format the given table) 

Write the HTML code which generates the following output. (Use external CSS to format the given table)
Answer : 



Web Technology Slip 18 Web Technology Slip 18 Reviewed by technical_saurabh on February 12, 2021 Rating: 5

Web Technology Slip 17

February 11, 2021

Write a java script code to accept a string from user and display the occurrences of every vowel character from string.

Web Technology Slip 17

Write a java script code to accept a string from user and display the occurrences of every vowel character from string.

Answer :


Design an HTML form for customer registration visiting a departmental store. Form should consists of fields such as name, contact no, gender, preferred days of purchasing, favorite item(to be selected from a list of items),suggestions etc.. You should provide button to submit as well as reset the form contents.

Answer :

Web Technology Slip 17 Web Technology Slip 17 Reviewed by technical_saurabh on February 11, 2021 Rating: 5

Web Technology Slip 15

February 11, 2021

Write a JavaScript program to Display current Day, Date, Month, Year and Time on the web  page and greet the user accordingly.

Web Technology Slip 15

Write a JavaScript program to Display current Day, Date, Month, Year and Time on the web page and greet the user accordingly. 

Answer : 


Create HTML page with following specifications 
 i) Title should be about your City. 
ii) Color the background by Pink color. 
iii) Place your city name at the top of page in large text and in blue color. 
iv) Add names of the landmarks in your city, each in different color, style and font 
v) Add scrolling text about your City. 
vi) Add any image at the bottom. (Use inline CSS to format the web page)

Answer : 


Web Technology Slip 15 Web Technology Slip 15 Reviewed by technical_saurabh on February 11, 2021 Rating: 5

Web Technology Slip 14

February 11, 2021

Write a HTML code to display the name of your family members each in different color,  size and style. Also display the following polynomial expression  a0+a1x 1 +a2x 2 +a3x 3 +a4x 4

Web Technology Slip 14

Write a JavaScript Program to accept user name and password from user, if User name and Password is same then display his score card on the next page as shown below.

Write a HTML code to display the name of your family members each in different color,  size and style. Also display the following polynomial expression  a0+a1x 1 +a2x 2 +a3x 3 +a4x 4 

Answer : 



Write a JavaScript Program to accept user name and password from user, if User name and Password is same then display his score card on the next page as shown below.

Answer : 

File Name  : Index.html


File Name  : s.html



Web Technology Slip 14 Web Technology Slip 14 Reviewed by technical_saurabh on February 11, 2021 Rating: 5

Web Technology Slip 13

February 11, 2021
Design a login form with fields User Name, Password and Login button. Write a java script code to accept username and password, validate login details and display a message accordingly.

Web Technology Slip 13


Design a login form with fields User Name, Password and Login button. Write a java script code to accept username and password, validate login details and display a message accordingly.

Answer : 



Write a HTML code which will divide web page in three frames. First frame should consists of name of college as heading. Second frame should consists of name of courses with hyperlink. Once click on any course it should display subject of that course in third frame

Answer : 

File Name : main_fream.html


File Name : frame_1.html


File Name : frame_2.html


File Name   : Mumbai.html


File Name   : New Delhi.html


File Name   : pune.html


Web Technology Slip 13 Web Technology Slip 13 Reviewed by technical_saurabh on February 11, 2021 Rating: 5

R - Programming Slip

December 28, 2020

Write a script in R to create a list of cities and perform the following

Q. Write a script in R to create a list of cities and perform the following.

Answer :

1) Give names to the elements in the list.
list_data <- ava="" br="" c="" ed="" lack="" list="" reen="" ython=""> print(list_data)
names(list_data) = c("Color", "Language(s)")
print("List with column names:")
print(list_data)
2) Add an element at the end of the list.
list_data <- ava="" br="" c="" ed="" lack="" list="" reen="" ython=""> print("List:")
print(list_data)
print("Add a new element at the end of the list:")
list_data[4] = "New element"
print("New list:")
print(list_data)
3) Remove the last element.
list_data <- ava="" br="" c="" ed="" lack="" list="" reen="" ython=""> print(list_data)
print("Remove the Last element of the list:")
list_data[2] = NULL
print("New list:")
print(list_data)
4) Update the 3rd Element
list_data <- br="" c="" ed="" lack="" list="" reen="" saurabh="" ython=""> print(list_data)
print("Update the second element of the list:")
list_data[3] = "R programming"
print("New list:")
print(list_data)

Q. Write a script in R to create two vectors of different lengths and give these vectors as input to array and print addition and subtraction of those matrices.

Answer : 

m1 = matrix(c(1, 2, 3, 4, 5, 6), nrow = 2)
print("Matrix-1:")
print(m1)
m2 = matrix(c(0, 1, 2, 3, 0, 2), nrow = 2)
print("Matrix-2:")
print(m2)

result = m1 + m2
print("Result of addition")
print(result)

result = m1 - m2
print("Result of subtraction")
print(result)


Q. Write an R Program to calculate Multiplication Table.

Answer: 

num = as.integer(readline(prompt = "Enter a number: "))
for(i in 1:10) {
print(paste(num,'x', i, '=', num*i))
}

R - Programming Slip R - Programming Slip Reviewed by technical_saurabh on December 28, 2020 Rating: 5

Assignment No : 3 Working with Forms

December 24, 2020
Program 1 : Implement calculator to convert distances between (both ways) miles and kilometres. One mile is about 1.609 kilometres. User interface (distance.html) has one text-input, two radio-buttons, submit and reset -buttons. Values are posted to PHP-script (distance.php) which calculates the conversions according the user input.

Program 1 : Implement calculator to convert distances between (both ways) miles and kilometres. One mile is about 1.609 kilometres. User interface (distance.html) has one text-input, two radio-buttons, submit and reset -buttons. Values are posted to PHP-script (distance.php) which calculates the conversions according the user input.

Answer : 

Implement calculator to convert distances between (both ways) miles and kilometres. One mile is about 1.609 kilometres.

File : distance.html




User interface (distance.html) has one text-input, two radio-buttons, submit and reset -buttons. Values are posted to PHP-script (distance.php) which calculates the conversions according the user input.

File : distance.php

Assignment No : 3 Working with Forms Assignment No : 3 Working with Forms Reviewed by technical_saurabh on December 24, 2020 Rating: 5

Assignment NO : 2 Function & Objects

December 24, 2020
: Write PHP script to define an interface which has methods area(), volume(). Define constant PI. Create a class cylinder which implements this interface and calculate area and volume.

Program 1 : Write PHP script to define an interface which has methods area(), volume(). Define constant PI. Create a class cylinder which implements this interface and calculate area and volume.

Program 1 : Write PHP script to define an interface which has methods area(), volume(). Define constant PI. Create a class cylinder which implements this interface and calculate area and volume.

Answer : 

File : Index.php

Assignment NO : 2 Function & Objects Assignment NO : 2 Function & Objects Reviewed by technical_saurabh on December 24, 2020 Rating: 5
Powered by Blogger.