you will be creating 2 files, a .html page and a separate
JavaScript
function file with the .js extension.
For submission, you must zip the 2 files into 1 file and
upload the zipped file to my
website.
This assignmen
t is meant to get you comfortable with utilizing functions
located in a
separate function file (as demonstrated in
class on Tuesday May 7
th
)
Javascript
Function file
This file
will
simply contain
2
functions. One called findAvg() which takes in 2 values and
returns the average.
Another called findMax() which takes in 2 values and returns the
maximum.
HTML page
Create a form for the user to enter 2 integers and a pull
down menu wit
h the following
options
listed
...
Find Averag
e
Find Maximum
And a button.
See my sample output for ass
istance on the layout.
Once the button is clicked,
have
your
‘
main
’
javas
cript function obtain the i
nput including
the option chosen in the pull down menu
(remember, you mjust set a value for each
me
nu option so JavaScript can determine which function to use)
.
If the user selects
‘
Find Averag
e
’
, call the findAvg() function
from the
external file. And
so on for the other menu options.
Output the result to
a <DIV> tag on
the webpage.
Please note that you must use an external file to hold your
functions
Write a program that inputs a 5-digit integer from the
keyboard and prints if the input number is a palindrome or
not. A palindrome is a number which has the same digit from
either end.
Public Static Void Main(String args[])
{
System.out.in("Hai..");
}
In the above code why string args[] is required.... If we
are not giving command line argument..
Write a Program using Servlet and JDBC for developing online
application for displaying the details of Cars owned by the
residents in XYZ society. Make necessary assumptions and
create appropriate databases
hello sir my name is naga sekhar i completed my b-tech in
2011 with 61% in IT streme.I completed my core and advanced
java coure before 8months back.Still i did not get the job.i
tried so many times.and i went to some interviews but no
use.now i want to get the job in software sector
Hello Friends !!!
I am RAJAT AGRAWAL, All Saints' College of Technology,
Bhopal ( M.P. )
I just want to share my experience of getting placed at
Consagous Technologies.
On 9th June 2012 there was an close campus drive of
Consagous Technologies in our college. I was very excited to
take part in it.
Firstly, they started with a seminar, a small introduction
about the company.
Then the placement process started.
The recruitment process of Consagous had three rounds.
1. Written test
2. Group discussion
3. Technical interview & HR Interview
Written Test :
It was objective type with 50 questions in 60 mins. The
written test paper had three sets set A , set B and set C. I
got set B. Basically the question were from network
connection with database ,output of programs on C, C++,
java, asp.net, php , data structure and Aptitude questions
included topics like Time & Distance, simple interest
,average, Percentage, Ratio & Proportion etc.There was no
negative marking in the written test.
Some of them which I remember are-
1. What command in UNIX run on backgroung.
2. The groups of students are divided into 2class room. If
10students are shifted from class A to Class B then no of
students in both class are equal. If 10 Students are shifted
from class B to Class A then no of students in class A is
Double to the no of students in Class B. Find the total no
of students?
3. The time taken by boat to travel 4 meters dowmstream is
4 hours 48 min and that the upstream 4 hours .Find the
speed of the boat in still water and the speed of the
stream.
4. And many more….
Then after few hours the result of written test was
announced , and fortunately I was selected among the 80-
100 other students. After written test 21 students were
shortlisted and went through 2nd round .
GD Round:
In this round , all 21 students divided into two teams and
went through group discussion process. Topic of our GD was
“Spirituality and Technology” and it held for 15 to 20
min. It was the very nice discussion and most of them took
part in it.
After GD round 11 students were shortlisted. Then the next
round was Technical and HR interview.
HR and Technical Interview:
Finally after 2nd Round I had been selected for HR and
Technical Interview Round .At that time also I was full of
excitement for my PI , though nervous also. I just prayed
to God , took my parents name and entered in the room, As I
entered I saw three people there inside the room I wished
all of them, and they offered me the chair, I replied with
thank you sir thank you mam.
HR questions:
• Introduce yourself
• Why u want to be a software engineer?
• why u want to join consagous?
• Why do we take you in consagous?
• Tell me 5 negative points of your's?
• Tell me the name of CEO of Google, Facebook?
Technical question:
• what is object –oriented programming?
• Tell me about your major project?
• Features of OOPS n Advantage of Oops?
• Difference between Router $ Switch?
And many more……
All you have to be confident and have positive attitude
during the interview.
Really it was a very good experience with HR sir and with
his team.
And just after half an hour the results had been declared ,
5 students were selected and fortunately with God Grace I
was one of them, that was one of the most cherishable
moment of my life.
After that we have a photograph with HR Sir & CEO Sir.
I always remember one thing We Will..... Do
It...........!!!!!
I would like to thank Consagous Technologies to give me such
a big opportunity to work with them,thank you so much.!
Write a Program using Servlet and JDBC for developing online
application for displaying the details of Cars owned by the
residents in XYZ society. Make necessary assumptions and
create appropriate databases
Describe briefly the major use of java script on client side
95
Iam getting xml when we click on one button.Iam placing that
xml in dom.Im getting that xml data in one xsl.In that xsl
I want to increase the variable value which is declared in
xsl.
Ex:
<parent_node>
<childNode>
<first><d1>ffftt</d1></first>
<first><d1>eeeeiii</d1></first>
<first><d1>uuuuwww</d1></first>
</childNode>
<childNode>
<first><d1>fff</d1></first>
<first><d1>eeee</d1></first>
<first><d1>uuuu</d1></first>
</childNode>
</parent_node>
220
what is a dataset
148
what are the differences between as2 and as3?
407
How to change video files randomly after completing its
execution in Javascript?
hello sir my name is naga sekhar i completed my b-tech in
2011 with 61% in IT streme.I completed my core and advanced
java coure before 8months back.Still i did not get the job.i
tried so many times.and i went to some interviews but no
use.now i want to get the job in software sector
180
Write a main method that prompts the user to enter the
starting population, birth and death rates,
and the number of years. The input birth and death rates
cannot be negative, the starting population
cannot be less than 2, and the number of years greater than
0. If the user enters an invalid value, this
program will prompt user to re-enter the value until a
valid value has been read. When all input
values are valid, call on the methods above to compute
estimated population and print result.