Evaluation Part-I Choose the correct answer: . The parameters work as A) Local variable B) Global Variable C) File variable D) block variable . Predefined functions are also called as A)Library functions B) storage functions C) instructions D) commands . Larger programs are divided into smaller are called A) modules B) block C) sets D) Group .
Which of the following is used to enhance reusability and program clarity. A) functions B) modules C) sets D) instructions . Which of the following allow the programmer to modu/arize a program A) Library functions B) user defined functions C) Normal functions D) Ordinary functions Part – II Very Short Answers . What is a function in JavaScript?
. What is the use of function? . Write a note on Library functions.
. Write a note on user defined functions. . Write the syntax of functions.
Part-III Short Answers . Write a program in JavaScript to find the cube of a number using function . Write a program in JavaScript to find the sum of numbers using function. Case study Display a menu as web page, Accept the choice as input and display the result using function.
The menu to be displayed is . Sum of numbers upto a given limit . Sum of numbers from a starting limit to ending limit. Chapter Pages Learning Objectives After learning this chapter, the students will be able to • To know about cyber-crimes.
• To understand the guidelines and need for ethics in cyber-world. • To understand issues related to cyber- crimes. • To know the functionality of firewalls and proxy servers. • To learn about encryption and decryption.
• To gain knowledge on IT Act. . INTRODUCTION Internet is a communication media which is easily accessible and open to all. Information Technology is widespread through computers, mobile phones and internet.
There is a lot of scope and possibility for misuse of Information Technology. Computer systems in general are vulnerable.Special care must be taken explicitly in order to ensure that the valuable data do not get into wrong hands. Hence, the data need to be protected. A cyber-crime is a crime which involves computer and network.This is becoming a growing threat to society .
ETHICS Ethics is a set of moral principles that govern the behavior of an individual in a society, and Computer ethics is set of moral principles that regulate the use of computers by users.