Page 1 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , HIGHER SECONDARY – SECOND YEAR, , XI – computer applications, , Reduced syllabus, STUDY MATERIAL, 2021-2022, , NAME, STD & GROUP, , PREPARED BY, , J. ILAKKIA M.Sc., B.Ed., M.Phil., Computer Instructor Grade-I, , Govt. Hr. Sec. School, V.Pagandai, Villupuram 605 501., , 1, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 2 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , TABLE OF CONTENTS, COMPUTER APPLICATIONS – I YEAR, CHAPTER NO, , CHAPTER TITLE, , UNIT I – FUNDAMENTALS OF COMPUTER AND WORKING WITH A TYPICAL, OPERATING SYSTEMS (WINDOWS), 1, , INTORDUCTION TO COMPUTERS, , 2, , NUMBERS SYSTEMS, , 3, , COMPUTER ORGANISATION, , 4, , THEORETICAL CONCEPTS OF OPERATING SYSTEM, , 5, , WORKING WITH WINDOWS OPERATING SYSTEM, , UNIT II – OFFICE AUTOMATION TOOLS, (WORD PROCESSORS, SPREADSHEET AND PRESENTATION), 6, , INTRODUCTION TO WORD PROCESSOR, , 7, , WORKING WITH OPENOFFICE CALC, , 8, , PRESENTATION BASICS, , UNIT III- WEB PAGE DEVELOPMENT USING HTML AND CSS, 9, , INTRODUCTION TO INTERNET AND EMAIL, , 10, , HTML – STRUCTURAL TAGS, , 11, , HTML – FORMATTING TEXT, CREATING TABLES, LIST AND, LINKS, , 12, , HTML – ADDING MULTIMEDIA ELEMENTS AND FORMS, , 13, , CSS – CASCADING STYLE SHEET, , UNIT IV - JAVASCRIPT, 14, , INTRODUCTION TO JAVASCSRIPT, , 15, , CONTROL STRUCTURE IN JAVASCRIPT, , 16, , JAVASCRIPT FUNCTIONS, , UNIT V – COMPUTER ETHICS AND CYBER SECURITY, 17, , COMPUTER ETHICS AND CYBER SECURITY, , UNIT VI – TAMIL COMPUTING, 18, 2, , TAMIL COMPUTING, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 3 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , 1. INTRODUCTION TO COMPUTERS, , Choose the correct answer:, (1 mark), 1. First generation computers used, (a)Vacuum tubes, (b) Transistors, (c) Integrated circuits, (d) Microprocessors, 2. Name the volatile memory, (a) ROM, (b) PROM, (c) RAM, (d) EPROM, 3. Identify the output device, (a) Keyboard, (b) Memory, (c) Monitor, (d) Mouse, 4. Identify the input device, (a) Printer, (b) Mouse, (c) Plotter, (d) Projector, 5. …………… Output device is used for printing building plan, flex board, etc., (a) Thermal printer, (b) Plotter, (c) Dot matrix, (d) inkjet printer, 6. In ATM machines, which one of the following is used to, (a) Touch Screen, (b) speaker, (c) Monitor, (d) Printer, 9. Which one of the following is the main memory?, (a) ROM, (b) RAM, (c) Flash drive, (d) Hard disk, 10. Which generation of computer used IC’s?, (a) First, (b) Second, (c) Third, (d) Fourth, Very Short Answers, (2 mark), 1. What is a computer?, • A computer is an electronic device that processes the input according to the set of instructions provided, to it and gives the desired output at a very fast rate., 3. What are the components of a CPU?, The CPU has three components which are Control unit, Arithmetic and logic unit (ALU) and Memory, unit., 4. What is the function of an ALU?, • The ALU is a part of the CPU where various computing functions are performed on data., • The ALU performs arithmetic operations such as addition, subtraction, multiplication, division and, logical operations., 5. Write the functions of control unit., • The control unit controls the flow of data between the CPU, memory and I/O devices., • It also controls the entire operation of a computer., 6. What is the function of memory?, • The Memory Unit is of two types which are primary memory and secondary memory., • The primary memory is used to temporarily store the programs and data, • The secondary memory is used to store the data permanently., 7. Differentiate Input and output unit., Input Unit, Output Unit, An Input unit is used to feed any form of data An Output Unit is any hardware component that, to the computer, which can be stored in the, conveys information to users in an, memory unit for further processing., understandable form, 3, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 4 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , Example: Keyboard, mouse, Example: Monitor, Printer, 8. Distinguish Primary and Secondary memory., Primary Memory, Secondary memory, The Primary Memory is volatile, that is, the, The Secondary memory is non-volatile, that is,, content is lost when the power supply is, the content is available even after the power, switched off., supply is switched off., Example: Random Access Memory (RAM). Example: Hard disk, DVD ROM., Short Answers, (3 mark), 1. What are the characteristics of a computer?, Computers have revolutionized our lives with their speed, accuracy, storage, reliability, versatility and, diligence performing a job, it is truly remarkable., 2. Write the applications of computer., Computers are seen everywhere around us, in all spheres of life, in the field of education, research, travel, and tourism, weather forecasting, social networking, e-commerce, Robotics , Nanotechnology,, Bioengineering etc., 3. What is an input device? Give two examples., • An input device is a hardware or peripheral device used to send data to a computer., • An input device allows users to communicate and feed instructions and data to computers for, processing, display, storage and/or transmission., • Example: Keyboard, mouse, Scanner, Track Ball, Light Pen., 4. Name any three output devices., An output device is any peripheral that receives data from a computer, Monitor: Monitor is the most commonly used output device to display the information. It looks like a, TV., Plotter: Plotter is an output device that is used to produce graphical output on papers., Printers: Printers are used to print the information on papers., Speakers: Using speaker along with speech synthesize software, the computer can provide voice output., Multimedia Projectors: Multimedia projectors are used to produce computer output on a big screen, 6. Write short note on impact printer, • An impact printer is a type of printer that works by direct contact of hammers or pins on ribbon., • These printers can print on multi-part (using carbon papers) by using mechanical pressure., • For example, Dot Matrix printers and Line matrix printers are impact printers., Dot Matrix printer: A Dot matrix printer that prints using a fixed number of pins or wires. Each dot is, produced by a tiny metal rod, also called a “wire” or “pin”., Line matrix printers: Line matrix printers use a fixed print head for printing. Basically, it prints a pagewide line of dots. But it builds up a line of text by printing lines of dots., 8. Write the significant features of monitor., • Monitor is the most commonly used output device to display the information. It looks like a TV., Pictures on a monitor are formed with picture elements called PIXELS., • There are many types of monitors available such as CRT (Cathode Ray Tube), LCD (Liquid Crystal, Display) and LED (Light Emitting Diodes)., 4, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 5 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , Monochrome which display text or images in Black and White or can be color, which display results, in multiple colors., The monitor works with the VGA (Video Graphics Array) card., Explain in detail, (5 mark), 1. Explain the basic components of a computer with a neat diagram., • The computer is the combination of hardware and software., • Hardware is the physical component of a computer like motherboard, memory devices, monitor,, keyboard etc., • Software is the set of programs or instructions. Both hardware and software together make the, computer system to function. Every task given to a computer follows an Input- Process- Output Cycle, (IPO cycle)., • It needs certain input, processes that input and produces the desired output, •, , Input Unit, • Input unit is used to feed any form of data to the computer, which can be stored in the memory unit, for further processing. Example: Keyboard, mouse, etc., Central Processing Unit, • CPU is the major component which interprets and executes software instructions. It also control the, operation of all other components such as memory, input and output units., • The CPU has three components which are Control unit, Arithmetic and logic unit (ALU) and, Memory unit., Arithmetic and Logic Unit, • The various computing functions are performed on data., • The ALU performs arithmetic operations such as addition, subtraction, multiplication, division and, logical operations., • The logical operations of ALU promote the decision-making ability of a computer., Control Unit, • The control unit controls the flow of data between the CPU, memory and I/O devices. It also controls, the entire operation of a computer., Output Unit, • An Output Unit is any hardware component that conveys information to users in an understandable, form. Example: Monitor, Printer etc., , 5, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 6 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , Memory Unit, •, The Memory Unit is of two types which are primary memory and secondary memory. The primary, memory is used to temporarily store the programs and data., •, The Primary Memory is volatile, that is, the content is lost when the power supply is switched off., •, The Random Access Memory (RAM) is an example of a main memory., •, The secondary memory is used to store the data permanently., •, The Secondary memory is non- volatile, that is, the content is available even after the power supply, is switched off. Hard disk, CD-ROM and DVD ROM are examples of secondary memory., 3. Explain the following, a. Inkjet Printer, •, Inkjet Printers use color cartridges which combined Magenta, Yellow and Cyan inks to create color, tones., •, A black cartridge is also used for monochrome output. Inkjet printers work by spraying ionised ink, at a sheet of paper., •, The speed of Inkjet printers generally range from 1-20 PPM (Page Per Minute)., •, A tiny electric currents controlled by electronic circuits are used inside the printer to spread ink in jet, speed., b. Multimedia projector, •, Multimedia projectors are used to produce computer output on a big screen. These are used to, display presentations in meeting halls or in classrooms., c. Bar code, •, A Bar code is a pattern printed in lines of different thickness. The Bar code reader scans the, information on the bar codes transmits to the Computer for further processing., •, The system gives fast and error free entry of information into the computer., d. QR code Reader, •, The QR code is the two-dimension bar code which, interpret the image., 2. Discuss the various generations of computers., SN Generation, Period, Main Component, used, •, 1, First, •, Generation 1940-1956, Vacuum tubes, •, •, •, •, •, 2, , Second, Generation, , 6, , 1956-1964, , Transistors, , can be read by a camera and processed to, , Merits/Demerits, , Big in size, Consumed more power, Malfunction due to overheat, Machine Language was used, Smaller compared to First Generation, Generated Less Heat, Consumed less power compared to first, generation, • Punched cards were used, • First operating system was developed, Batch Processing and Multiprogramming, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 7 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , •, •, , 3, , Third, Generation, , 1964-1971, , Integrated Circuits, (IC), , 4, , Fourth, Generation, , 1971-1980, , Microprocessor, , Fifth, Generation, , •, •, •, •, •, 1980 – till Ultra Large Scale •, date, Integration (ULSI), , 5, , •, •, •, •, , •, •, •, 6, , Sixth, Generation, , In future, , •, •, •, , Operating System, Machine language as well as Assembly, language was used., Computers were smaller, faster and more, reliable, Consumed less power, High Level Languages were used, Smaller and Faster, Microcomputer series such as IBM and, APPLE were developed, Portable Computers were introduced., Parallel Processing, Super conductors, Computers size was drastically reduced., Can recognise Images and Graphics, Introduction of Artificial Intelligence and, Expert Systems, Able to solve high complex problems, including decision making and logical, reasoning, Parallel and Distributed computing, Computers have become smarter, faster, and smaller, Development of robotics, Natural Language Processing, Development of Voice Recognition, Software, , 2. NUMBER SYSTEMS, , Choose the correct answer:, (1 mark), 1. Which refers to the number of bits processed by a computer’s CPU?, A) Byte, B) Nibble, C) Word length, 2. How many bytes does 1 Kilobyte contain?, A) 1000, B) 8, C) 4, 4. 2^50 is referred as, A) Kilo, B) Tera, C) Peta, 6. For 11012 what is the Hexadecimal equivalent?, A) F, B) E, C) D, 8. Which amongst this is not an Octal number?, A) 645, B) 234, C) 876, , 7, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , D) Bit, D) 1024, D) Zetta, D) B, D) 123, , CS KNOWLEDGE OPENER
Page 8 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , Very Short Answers, (2 mark), 1. What is data?, The term data comes from the word datum, which means a raw fact. The data is a fact about people,, places or some objects., 3. Convert (46)10 into Binary number, 2, 46, LSB, 2, 23, -0, 2, 11, -1, 2, 5, -1, 2, 2, -1, MSB 1, -0, (46)10 = (101110)2, , (3 mark), , Short Answers, 1. What is radix of a number system? Give example, • Each number system is uniquely identified by its base value or radix., • Radix or base is the count of number of digits in each number system., • Radix or base is the general idea behind positional numbering system., • Radix or base is the general idea behind positional numbering system., Example:, Binary Number System, Radix 2, (1010)2, Octal Number System, Radix 8, (457)8, Decimal Number System, Radix 10, (312)10, Hexadecimal Number System, Radix 16, (25F)16, 2. Write note on binary number system., • There are only two digits in the Binary system, namely, 0 and 1., • The numbers in the binary system are represented to the base 2 and the positional multipliers are the, powers of 2., • The left most bit in the binary number is called as the Most Significant Bit (MSB)and it has the largest, positional weight., • The right most bit is the Least Significant Bit (LSB) and has the smallest positional weight., 3. Convert (150)10 into Binary, then convert that Binary number to Octal, 2, 150, LSB, 2, 75, -0, 2, 37, -1, 2, 18, -1, 2, 9, -0, 2, 4, -1, 2, 2, -0, MSB 1, -0, 8, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 9 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , (150)10 = (10010110)2, , Binary Number to Octal, , 10010110 = ?, 010, 010, 110, 2, 2, 6, (10010110)2 = (226)8, Explain in detail, (5 mark), 1. a) Write the procedure to convert fractional Decimal to Binary, The method of repeated multiplication by 2 has to be used to convert such kind of decimal fractions. The, steps involved in the method of repeated multiplication by 2:, Step 1: Multiply the decimal fraction by 2 and note the integer part. The integer part is either 0 or 1., Step 2: Discard the integer part of the previous product. Multiply the fractional part of the previous, product by 2. Repeat Step 1 until the same fraction repeats or terminates (0)., Step 3: The resulting integer part forms a sequence of 0s and 1s that become the binary equivalent of, decimal fraction., Step 4: The final answer is to be written from first integer part obtained till the last integer part obtained., b) Convert (98.46)10 to Binary, i) Integer Part, 2, 98, LSB, 2, 49, -0, 2, 24, -1, 2, 12, -0, 2, 6, -0, 2, 3, -0, MSB 1, -1, 9810 = (1100010)2, ii) Fraction Part, 0.46 × 2 = 0.92 = 0, 0.92 × 2 = 1.84 = 1, 0.84 × 2 = 1.68 = 1, 0.68 × 2 = 1.36 = 1, 0.36 × 2 = 0.72 = 0, 0.72 × 2 = 1.44 = 1, 0.44 × 2 = 0.88 = 0, 4610 = (0111010)2, (98.46)10 = (1100010. 0111010….)2, , 9, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 10 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , 3. COMPUTER ORGANISATION, , Choose the correct answer:, (1 mark), 2. Which of the following is not the part of a microprocessor unit?, (a) ALU, (b) Control unit, (c) Cache memory (d) register, 4. Which of the following device identifies the location when address is placed in the memory address, register?, (a) Locator, (b) Encoder, (c) Decoder, (d) Multiplexer, 6. Which is the fastest memory?, (a) Hard disk, (b) Main memory, (c) Cache memory (d) Blue-Ray disk, 7. How many memory locations are identified by a processor with 8 bits address bus at a time?, (a) 28, (b) 1024, (c) 256, (d) 8000, Very Short Answers, (2 mark), 3. What is a program counter?, • The Program Counter (PC) is a special register in the CPU which always keeps the address of the, next instruction to be executed., 5. Which source is used to erase the content of a EPROM?, • Ultraviolet rays is used to erase the content of a EPROM., Short Answers, (3 mark), 1. Differentiate Computer Organization from Computer Architecture., Computer organization, Computer Architecture, Computer organization deals with the hardware Computer Architecture also deals with how they, components of a computer system such as Input / are interconnected to implement an architectural, Output devices, the CPU, Storage Devices and specification., Primary Memory., It deals with the hardware components that are It deals with the engineering considerations, transparent to the programmer., involved in designing a computer., 4. Differentiate PROM and EPROM., PROM, EPROM, Programmable read only memory is a non- Erasable Programmable Read Only Memory is, volatile memory, a special type of memory., PROMs retain their contents even when the EPROM retains its contents until it is exposed, computer is turned off., to ultraviolet light., PROM can be written only once and, Ultraviolet rays is used to erase the content of a, cannot be erased., EPROM, 7. How will you differentiate a flash memory and an EEPROM?, Flash Memory, EEPROM, Flash memory is an electronic (solid-state) Electrically Erasable Programmable Read Only, non- volatile computer storage, Memory is a special type of PROM, Flash memory offers fast access times., EEPROM is slower in performance., It can be erased by exposing it to an electrical It can be electrically erased and reprogrammed., 10, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 11 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , charge., Explain in detail, (5 mark), 2. How the read and write operations are performed by a processor? Explain., • A bus is a collection of wires used for communication between the internal components of a, computer., • The read operation transfers the data(bits) from word to Memory Data Register., • The read operation fetches data from memory and transfers to MDR., • A single control line performs two operations like Read/Write using 1or 0., • The write operation transfers the data(bits) from Memory Data Register to word., • Also, the write operation transfers data from the MDR to memory., • The word in the RAM has the same size (no. of bits) as the Memory Data Register (MDR)., • If the processor is an 8-bit processor, its MDR and the word in the RAM both have 8 bits., • If the size of the MDR is 8 bits, which can be connected with a word in the memory which is also 8, bits size., • The data bus has eight parallel wires to transfer data either from MDR to word or word to MDR, based on the control(Read or write)., • This control line is labeled as R/W , which becomes 1 means READ operation and 0 means WRITE, operation., 3. Arrange the memory devices in ascending order based on the access time.., Random-Access Memory (RAM), • The main memory or Random Access Memory is available in computers in the form of Integrated, Circuits (ICs)., • It is the place in a computer where the Operating System, Application Programs and the data in, current use are kept temporarily so that they can be accessed by the computer’s processor., • The smallest unit of information that can be stored as a bit., • The memory can be accessed as a byte., • RAM is a volatile memory., Cache Memory, • The cache memory is a very high speed and expensive memory used to speed up the memory retrieval, process., • Due to its higher cost, the CPU comes with a smaller size of cache memory compared with the size of, the main memory., • Without cache memory, every time the CPU requests the data, it has to be fetched from the main, memory which will consume more time., • The idea of introducing a cache is that, this extremely fast memory would store data that is frequently, accessed and if possible, the data that is closer to it., • This helps to achieve the fast response time., • The arrangement of cache memory is between the CPU and the main memory., , 11, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 12 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , 4. Explain the types of ROM., Read Only Memory (ROM), • Read only memory refers to special memory in a computer with pre-recorded data at manufacturing, time which cannot be modified., • The stored programs that start the computer and perform diagnostics are available in ROMs., Programmable Read Only Memory (PROM), • Programmable read only memory is also a non-volatile memory on which data can be written only, once., • Once a program has been written onto a PROM, it remains there forever., • Unlike the main memory, PROMs retain their contents even when the computer is turned off., • The PROM differs from ROM. PROM is manufactured as a blank memory, whereas a ROM is, programmed during the manufacturing process itself., • PROM programmer or a PROM burner is used to write data to a PROM chip. The process of, programming a PROM is called burning the PROM., Erasable Programmable Read Only Memory (EPROM), • Erasable Programmable Read Only Memory is a special type of memory which serves as a PROM, but, the content can be erased using ultraviolet rays., • EPROM retains its contents until it is exposed to ultraviolet light., • The ultraviolet light clears its contents, making it possible to reprogram the memory., • An EPROM differs from a PROM, PROM can be written only once and cannot be erased., • EPROMs are used widely in personal computers because they enable the manufacturer to change the, contents of the PROM to replace with updated versions or erase the contents before the computer is, delivered., Electrically Erasable Programmable Read Only Memory (EEPROM), • Electrically Erasable Programmable Read Only Memory is a special type of PROM that can be erased, by exposing it to an electrical charge., • Like other types of PROM, EEPROM retains its contents even when the power is turned off., • Comparing with all other types of ROM, EEPROM is slower in performance., , 4. THEORETICAL CONCEPTS OF OPERATING SYSTEM, , Choose the correct answer:, (1 mark), 1. Operating system is a, a) Application Software b) Hardware, c) System Software, d) Component, 2. Identify the usage of Operating Systems, a) Easy interaction between the human and computer b) Controlling input & output Devices, c) Managing use of main memory, d) All the above, 3. Which of the following is not a function of an Operating System?, a) Process Management, b) Memory Management, c) Security management, d) Complier Environment, 4. Which of the following OS is a commercially licensed Operating system?, a) Windows, b) UBUNTU, c) FEDORA, d) REDHAT, 12, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 13 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , 6. File Management manages, a) Files, b) Folders, 7. Interactive Operating System provides, a) Graphics User Interface (GUI), c) Security Management, 9. The File management system used by Linux is, a) ext2, b) NTFS, , c) Directory systems, , d) All the Above, , b) Data Distribution, d) Real Time Processing, c) FAT, , d) NFTS, , Very Short Answers, (2 mark), 1. List out any two uses of Operating System?, • To ensure that a computer can be used to extract what the user wants it do., • Easy interaction between the users and computers., • Controlling Input and Output Devices, 3. What is a GUI?, • The GUI is a window based system with a pointing device to direct I/O, choose from menus, make, selections and a keyboard to enter text., • Its vibrant colours attract the user very easily., 4. What are the security management features available in Operating System?, • The Operating System provides three levels of securities to the user end., • They are File access level, System level, Network level, 5. What is multi-processing?, • Multi-processing is a one of the features of Operating System., • It has two or more processors for a single running process (job)., • Processing takes place in parallel is known as parallel processing., Short Answers, (3 mark), 1. What are the advantages and disadvantages of Time-sharing features?, Advantages:, • All the tasks are given specific time and task switching time is very less so applications don’t get, interrupted by it., • Many applications can run at the same time., • Time sharing in batch systems increases performance., • Provides quick response, Avoids duplication of software, Reduces CPU idle time., Disadvantages:, • It consumes much resource., • Switching between tasks between lots of users may hang up the system., • Problem of reliability, Question of security and integrity, Problem of data communication., 2. List out the key features of Operating system, The various key features are given below, , 13, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 14 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , 3. Write a note on Multiprocessing, • Multi-processing is a one of the features of Operating System., • It has two or more processors for a single running process (job)., • Processing takes place in parallel is known as parallel processing., • The execution takes place in parallel, this feature is used for high speed execution which increases the, power of computing., Explain in Detail, (5 mark), 1. Explain the concept of a Distributed Operating System along with its advantages.., • The Distributed Operating System is used to access shared data and files that reside in any machine, around the world., • The user can handle the data from different locations. The users can access as if it is available on their, own computer., , The advantages of distributed Operating System are as follows:, • A user at one location can make use of all the resources available at another location over the network., • Many computer resources can be added easily in the network, • Improves the interaction with the customers and clients., • Reduces the load on the host computer., 2. List out the points to be noted while creating a user interface for an Operating system., The following points are considered when User Interface is designed for an application., 14, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 15 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , The user interface should enable the user to retain this expertise for a longer time., The user interface should also satisfy the customer based on their needs., The user interface should save user’s precious time., The ultimate aim of any product is to satisfy the customer. The User Interface is also to satisfy the, customer., • The user interface should reduce number of errors committed by the user, 3. Explain the process management algorithms in Operating System., • Process management is function that includes creating and deleting processes (program) and providing, mechanisms for processes to communicate and synchronize with each other., • A system task, such as sending output to a printer or screen, can also be called as a Process., A computer consists of a collection of processes; they are classified as two categories:, Operating System processes which is executed by system code, User Processes which is execute by user code, The Process Management algorithms are mainly used to allocate the job (process) to the processor, 1. FIFO, 2. SJF, 3. Round Robin, 4. Based On Priority, FIFO (First In First Out) Scheduling:, •, •, •, •, , FIFO algorithm is based on queuing technique., • Technically, the process that enters the queue first is executed first by the CPU, followed by the next, and so on., • The processes are executed in the order of the queue (row)., Example:, • Assume that a student standing in a queue (Row) can get their grade sheet from his/her teacher,, according to the order of the queue that is First In First Out., SJF (Shortest Job First) Scheduling:, This algorithm works based on the size of the job being executed by the CPU., Example:, Consider two jobs A and B., 1) A = 6 kilo bytes, 2) B = 9 kilo bytes, First the job “A” will be assigned and then job “B” gets its turn., Round Robin Scheduling, • The Round Robin (RR) scheduling algorithm is designed especially for time sharing systems., • Jobs (processes) are assigned and processor time in a circular method., Example:, Take three jobs A, B, C. First the job A is assigned to CPU then job B and job C and then again A,, B and C and so on., Based On Priority, • The given job (process) is assigned based on a Priority., • The job which has higher priority is more important than other jobs., Example:, Take two jobs A and B. Let the priority of A be 5 and priority B be 7., •, , 15, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 16 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , Job B is assigned to the processor before job A., , 5. WORKING WITH WINDOWS OPERATING SYSTEM, , Choose the correct answer:, (1 mark), 1. From the options given below, choose the operations managed by the operating system., a. Memory, b. Processes, c. Disks and I/O devices d. All of the above, 2. Which is the default folder for many Windows Applications to save your file?, a. My Document b. My Pictures, c. Documents and Settings d. My Computer, 3. Under which of the following OS, the option Shift + Delete – permanently deletes a file or folder?, a. Windows 7, b. MS-DOS, c. Linux, d. Android OS, 5. The shortcut key used to rename a file in windows, a. F2, b.F4, c.F5, d. F6, Very Short Answers, (2 mark), 1. What is known as Multitasking?, • Multiple applications can execute simultaneously in Windows, and this is known as “Multitasking”., 2. What are called standard icons?, • Icons which are available on desktop by default while installing Windows OS are called Standard, Icons., • The standard icons available in all Windows OS are My Computer, 3. Differentiate Files and Folders., Files, Folders, A file consists of a collection of data., Each file has its own extension., , A folder stores files and folders. It is also called a, directory., A folder does not have any extension, , Folder and sub folder cannot be created in a file Folder and sub folder can be created in a folder, 4. Differentiate Save and Save As option., Save, , Save As, , “Save” command is used to save a document “Save As” command can save a file by two or, by only one name, more than two names., Shortcut Keys : Ctrl + S, Shortcut Keys : Ctrl+Shift+S, 5. How will you Rename a File?, • Rename files or folders can be done in number of ways such as using the File menu, left mouse button, or right mouse button., 1. Select the File, 2. Click File→ Rename., 3. Type in the new name., 4. To finalise the renaming operation, Short Answers, (3 mark), 1. What are the functions of Windows Operating system?, • Access applications on the computer., • Load any new program on the computer., 16, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 17 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , • Manage hardware., • File management activities., • Change computer settings., 3. Write a note on the elements of a window., Title Bar, • The title bar will display the name of the application and the name of the document opened., Menu Bar, • Menus in the menu bar can be accessed by pressing Alt key and the letter that appears underlined in, the menu title., The Workspace, • The workspace area is used to enter or type the text of your document., Scroll bars, • The scroll bars are used to scroll the workspace horizontally or vertically., Corners and borders, • The corners and borders of the window helps to drag and resize the windows., 4. Write the two ways to create a new folder., Method I:, Step 1: Open Computer Icon., Step 2: Open any drive where you want to create a new folder., Step 3: Click on File → New → Folder., Step 4: A new folder is created with the default name “New folder”, Step 5: Type in the folder name and press Enter key., Method II:, In order to create a folder in the desktop:, Step 1: In the Desktop, right click → New → Folder, Step 2: A Folder appears with the default name “New folder” and it will be highlighted., Step 3: Type the name you want and press Enter Key., Step 4: The name of the folder will change., 5. Differentiate copy and move., Copy, Move, Copy option is used to copy a file or folder,, Cut option is used to move a selected file or, and paste in a specified location., folder from one place to another., Edit → Copy or Ctrl + C or Right click→ Edit → Cut or Ctrl + X or Right click → Cut, Copy, Explain in Detail, 2. Explain the different ways of finding a file or Folder., To find a file or folder:, , (5 mark), , • Click the Start button, the search box appears at the bottom of the start menu., 17, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 18 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , • Type the name of the file or the folder you want to search., • The files or the folders with the specified names will appear, if you click that file, it will directly open, that file or the folder., • Even if you give the part of the file or folder name, it will display the list of files or folders starting, with the specified name., • There is another option called “See more results” which appears above the search box., • If you click it, it will lead you to a Search Results dialog box where you can click and open that file, or the folder., Searching Files or folders using Computer icon, • Click Computer Icon from desktop or from Start menu., • The Computer disk drive screen will appear and at the top right corner of that screen, there is a search, box option., • Type the name of the file or the folder you want to search. Even if you give the part of the file or, folder name, it will display the list of files or folders starting with the specified name, • Just click and open that file or the folder., 3. Write the procedure to create shortcut in Windows OS., • Shortcuts to your most often used folders and files may be created and placed on the Desktop to help, automate your work., • Select the file or folder that you wish to have as a shortcut on the Desktop., • Right click on the file or folder., • Select Send to from the shortcut menu, then select Desktop (create shortcut) from the sub-menu., • A shortcut for the file or folder will now appear on your desktop and you can open it from the desktop, in the same way as any other icon, , 18, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 19 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , 6. INTRODUCTION TO WORD PROCESSOR, Choose the correct answer:, (1 mark), 1. Which is the opening screen of OpenOffice?, a. Star desktop, b. Star center, c. Star screen, d. Star window, 2. Which option allows you to assign text, tables, graphics and other items to a key or key combination, a. Auto format, b. Automatic, c. Auto text, d. Auto graphics, 4. Which is displayed at the top most part of the window?, a. Menu bar, b. Tool bar, c. Title bar, d. Format bar, 6. The Find & Replace option is available in which menu?, a. File, b. Edit, c. Format, d. Tools, 7. Which button selects all instances of the search text in the document?, a. Find, b. Find All, c. Replace, d. Replace All, 8. What is the shortcut key to go to the start of the document?, a. Ctrl + Home, b. Ctrl + End, c. Home, d. End, 9. What is the shortcut key for finding and replacing text in a document?, a. Ctrl + F1, b. Ctrl + F, c. Ctrl + F5, d. Ctrl +F7, 10. What is the short cut key for Undo?, a. Ctrl +E, b. Ctrl + U, c. Ctrl + Z, d. Ctrl + n, Very Short Answers, (2 mark), 1. How do you insert pictures in to your document?, Open office Writer has the ability to insert and edit images in a more simple way., Place the insertion pointer where you want the image to appear, • Select Insert Picture From file, • The insert picture dialog box appears where the picture gallery opens from which the desired picture, can be selected., • If the picture is not in the gallery, then browse the pictures from the folder, choose the desired one, and Click on the Open button, • The selected picture is inserted into the document, 2. What are the different packages in OpenOffice?, OpenOffice is a productive office suite with a collection of different software packages such as, OpenOffice Writer, Word Processor to create text documents, OpenOffice Calc, Spreadsheet to create worksheets, OpenOffice Base, Database, OpenOffice Impress, Presentation software, OpenOffice Draw, Drawing Software, OpenOffice Formula, Create formula and equations, 4. How do you merge cells in a table?, To merge a group of cells:, • Select the cells to merge., • Right click and choose Cell Merge or, 19, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 20 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , • Choose Table Merge Cells from the menu bar., 5. State the difference between proprietary software and open source software?, Proprietary software, , Open source software, , Package, , Developer, , Package, , Developer, , Microsoft Word, , Microsoft Corporation, , OpenOffice Writer, , Apache, , WPS Word, , Kingsoft, , LibreOffice Writer, , The document, foundation, , WordPro, , Lotus Corporation, , Abiword, , Abisource, , Short Answers, (3 mark), 1. What is the difference between moving and copying text?, Moving text, Copying text, To move a text from one location to another, To copy a text from one location to another, Select the text to be moved, select the text to be copied, Click Ctrl + X or Cut Icon, or Edit Cut, Click Ctrl + C or Copy Icon, or Edit Copy, The text is removed from the source location and A duplicate copy of the text is made and, placed in the clipboard, send to the clipboard, Take the insertion pointer to the new location to, Take the insertion pointer to the new, be moved, location to be copied, 3. How do you insert rows and columns?, • Place the insertion pointer in the row or in the column where you would like to add new rows or, columns and right click., • Choose Row Insert – to insert a row or Column Insert – to insert a column., • A dialog box will appear, from which you can select the number of rows or columns to insert., • You can also set the position of the new rows or columns to Before or After, 4. What are the different ways to save a document?, • You can save by clicking File Save on top left corner and then click FileSave As or, Ctrl+Shift+S . After that browse the location where exactly you want to save in your computer., • You can also save by just pressing Ctrl + S and then browse the location where you want to save., • All documents in OpenOffice writer will be stored with .odt extension. You can store your, OpenOffice document as Microsoft Word document or pdf., Explain in Detail, (5 mark), 2. What are Header and Footer? How do you insert page numbers?, The header is a section of the document that appears in the top margin, which displays the title or, chapter name, author name of a document., • Select from the main menu Insert Header Default, • The header text area is separated from the normal text area., • In the header area, Enter the text that is to be repeated in all pages or Select Insert , Fields Title., 20, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 21 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , The footer is a section of the document that appears in the bottom margin of the page which displays the, page number, date, time etc. which gets displayed on all the pages automatically., • Select from the main menu Insert Footer Default, • Place the insertion pointer in the footer part of the page., • Select Insert FieldsDate to insert date in all the pages., Inserting and Formatting page numbers, The page numbers can be inserted by performing the following steps:, • Position the insertion pointer where you want to insert the page number, • Choose Insert Fields Page Number, • The page number appears with a gray background, Normally, the page numbers appear as 1,2,3….., To change the numbering style, the following sequence, of steps can be performed:, • Position the cursor where the page number has to appear, • Select Format page, which will bring the page style dialog box as on Figure 6.29., • Select page Tab, • In the Layout settings, select the format drop down combo box, • Select the desired style and click OK button., 3. Write the steps to Find and Replace a word with another word in OpenOffice writer?, Open Office Writer has a Find and Replace feature that helps to locate for a text inside a document and, replace it with another word., Click Edit Find & Replace (or) Ctrl + F, Steps to find & replace a text, • Type the text you want to find in the Search for box, For Example : To search a word "Bombay" in a document and replace with "Mumbai", enter the word, "Bombay" in the Search for box., • To replace the text with different text, type the new text in the Replace with box, Enter the word " Mumbai" in the Replace with box and Click Find button , to start the search , the found, word is highlighted and the first occurrence of "Bombay" is highlighted., • To replace text, click Replace button., The highlighted word is replaced with the word given in the Replace with box., • Click Find All, Writer selects all instances of the search text in the document ., All occurrences of Bombay are highlighted., • Click Replace All button, Writer replaces all matches., This will replace all occurrences of, "Bombay" with "Mumbai"., • Enable Match case to perform the search case sensitively so that uppercase and lower cases are, distinguished separately., • Enable Whole Words only to make the search more specific to words used separately alone., , 21, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 22 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , 7. WORKING WITH OPENOFFICE CALC, , Choose the correct answer:, (1 mark), 1. Which is the first electronic spreadsheet?, (A)Excel, (B) Lotus 1-2-3, (C) Visicalc, (D) OpenOffice Calc, 2. Which of the following applications was the parent to OpenOffice Calc?, (A)Visicalc, (B) LibreCalc, (C) Lotus 123, (D) StarOffice Calc, 3. Grid of cells with a programmable calculator:, (A)Spreadsheet, (B) Database, (C) Word processor (D) Linux, 4. A column heading in Calc is represented using, (A)Number, (B) Symbol, (C) Date, (D) Alphabet, 5. Which key is used to move the cell pointer in the forward direction within the worksheet?, (A)Enter, (B) Tab, (C) Shift + Tab, (D) Delete, 10. Which of the following key combinations is used to increase the width of the current column?, (A)Alt + Right arrow, (B) Ctrl + Right arrow, (C)Alt + Left arrow, (D) Ctrl + Left arrow, Very Short Answers, (2 mark), 1. What are the types of toolbars available in OpenOffice calc?, There are three toolbars available by default. They are:, • Standard Toolbar, • Formatting Toolbar, • Formula bar, 2. What is a Cell pointer?, • Cell pointer is a rectangle box which can be moved around the worksheet., • The cell in which the cell pointer is currently located is known as “Active cell”., • When you type any content, it will appear in the active cell., 6. Can you edit the contents of a cell? If yes, explain any one of the method of editing the cell, content., • Yes, we can edit the contents of a cell., • Using keyboard, after selecting the cell, Press the F2 key and the cursor is placed at the end of the cell., 22, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 23 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , • The use the keyboard arrow keys to move the cursor through the text in the cell., 7. What are the options available in “Insert Cells” dialog box?, There are four options available in Insert cells, • Shift cells down, • Shift cells right, • Entire row, • Entire Column, 9. Define the following (i) Text Operator (ii) Rows and Columns of spreadsheet, i) Text Operator, • In Calc, “&” is a text operator which is used to combine two or more text. Joining two different texts, is also known as “Text Concatenation”, • An expression using the text operator has the following syntax: text reference1 & text reference2, ii) Rows and Columns of spreadsheet, • A row is a horizontal group of values within a table. It contains values for multiple fields, which are, defined by columns., • The rows are numbered from 1, 2, 3…. OpenOffice Calc version 4.1.5 contains 10,48,576 rows., • A column is a vertical group of values within a table., • It contains values from a single field in multiple rows. Each column is labelled as A, B, C, D ….. AA,, AB, AC …..It contains 1024 columns., Short Answers, (3 mark), 1. Write a short note on OpenOffice Calc., • OpenOffice Calc is a popular open source spreadsheet application maintained by Apache Foundation., • StarOffice calc was the parent application of OpenOffice Calc which was developed by a German, Company namely, Star Division in 1985., • Calc is the spreadsheet component of OpenOffice. You can enter any kind of data in a spreadsheet, and then manipulate this data to produce certain results., 2. Write about inserting columns and rows in Calc., Inserting Rows - In Calc, we can insert a new row anywhere in the worksheet., Step 1: Select the row where a new row to be inserted., Step 2: Right-click on the row number, a pop-up menu appears, Step 3: click “Insert Rows” option from the menu., Now, a new row will be inserted to above the current row. Insert Rows command is used to insert a, new row., Inserting a Column - In Calc, we can insert a new column anywhere in the worksheet., Step 1: Select the column where a new column should be inserted., Step 2: Right-click on the selected column name that you selected. A pop-up menu appears., Step 3: click the “Insert Columns” option from the menu., Now, a new column will be inserted to the left of the current column., A new column can also be inserted using Insert Columns command., , 23, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 24 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , 3. Differentiate Deleting data using Backspace and Delete, Backspace, , Delete, , Backspace key is used to delete the character left, of the insertion pointer of the cell, , Delete key is used to delete the character, right of the insertion pointer of the cell, , Explain in Detail, 1. Explain about changing the column width in Calc., , (5 mark), , Resize the width of a column using the mouse, Use the right hand border to increase or decrease the width of a column., • Position the cursor on the right hand border of the column letter box, until you see a double headed, arrow., • Hold down the left hand mouse button and drag the border to the left or right to make the column, narrower or wider as required., As you carry out this action, the width of the column displays., , Using the mouse to widen a column, Resize one or more columns using Format, • Select the column(s) whose width you wish to change, • Select Format Column Width..., • The Column Width dialog displays, , • Enter a value in the Width window or check the Default value check box to select the default column, width., • Click OK., The selected columns display with the new width., 2. Write the steps to generate the following series. 5, 10, 20 ….. 2560, STEPS TO GENERATE THE SERIES 5,10,20,…2560, 1. Select the required number of cells to generate the series., 2. Click EDIT FILL, the Fill Series dialog box appears as shown below,, 24, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 25 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , 3. Select the Direction as Down in fill series dialog box., 4. Select the Series type Growth., 5. Initial value of the series 5 should be typed in Start Value box., 6. Maximum value of the series 2560 should be typed in End Value box., 7. The value 2 should be typed in Increment box ., 8. Click OK. Now the series is generated as given below,, , 3. Read the following table, , Above table shows the sales figures for “Air Cooler” sold in four major cities of TamilNadu from the year, 2012 to 2016. Based on this data, write the formula to calculate the following., (1) Total sales in the year 2015., (2) Total sales in Coimbatore from 2012 to 2016., 25, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 26 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , (3) Total sales in Madurai and Tiruchi during 2015 and 2016., (4) Average sales in Chennai from 2012 to 2016, (5) In 2016, how many “Air Coolers” are sold in Chennai compared to Coimbatore?, ANSWER:, SL.NO, , QUESTION, , FORMULA, , ANSWER, , 1, , Total sales in the year 2015., , =SUM(B5:E5), , 4285, , 2, , Total sales in Coimbatore from 2012 to 2016., , =SUM(E2:E6), , 1600, , 3, , Total sales in Madurai and Tiruchi during, 2015 and 2016., , =SUM(C5:D6), , 4395, , 4, , Average sales in Chennai from 2012 to 2016, , =AVERAGE(B2:B6), , 1760, , 5, , In 2016, how many “Air Coolers” are sold in, Chennai compared to Coimbatore?, , =B6–E6, , 1700, , 8. PRESENTATION BASICS, , Choose the correct answer:, 1. Which is used to move quickly from one slide to another?, A) Compass, B) Navigator, C) Fill color, 2. Which is the shortcut key to view the slideshow?, A) F6, B) F9, C) F5, 6. Identify the extension of the Impress presentation., A) .odp, B) .ppt, C) .odb, , (1 mark), D) Page border, D) Both (b) or (c), D) ,ood, , Very Short Answers, (2 mark), 3. What do you understand by a presentation?, • A presentation program is a software package used to display information in the form of a slide show., • It has three major functions: an editor that allows text to be inserted and formatted, a method for, inserting and manipulating graphic images, and a slide-show system to display the content., Short Answers, (3 mark), 2. Who uses the presentation software and why?, • Businesses and professional firms use presentations to inform, educate, motivate and persuade internal, and external audiences., • They build presentations into sales, training and internal communication programs, using the power of, words and images to engage their audience and retain attention., • Presentation software is used to create presentations, quizzes, e-learning packages and multimedia, products., • ., 26, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 27 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , Explain in Detail, (5 mark), 1. Valarmathi’s teacher asks her to create a presentation in OpenOffice Impress. As Valarmathi, has never worked in Impress before, help her to perform the following tasks:, a. She wants that except for the first slide, all the slides should have the same design. For this, what, does she need to do?, • Create the presentation with same design for all slides using master page option, by clicking YES in, Page Setting dialog box, , • Click the Master slide and choose Format Page menu. The Page setup dialog box appears on the, screen., , • Click Background and choose any one of the Fill option (Colour, Gradient, Bitmap, Hatching) for, changing the background of the master slide., • The Page Setting dialog box appears on the screen,, , • Click NO in the Page Setting dialog box., • Now you can see the changes except for the first slide, all the slides will have the same design., , 27, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 28 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , b. To easily communicate with her audience, she wants to provide them with a hard copy of the, slides of the presentation. What should she create for it?, • Handout view is used for setting up the layout of your slides for a printed handout., c. She wants to insert some pictures and movie files in some slides. How can she do that?, • Select the slide to insert the picture., • Choose InsertPicture From File option, and choose the required picture that has to be inserted, into the slide., d. Suggest her the view that would be the most suitable for showing the presentation to the, audience., • Use Slide Show view to deliver your presentation to your audience. Slide Show view occupies the, full computer screen, exactly the way your presentation will look on a big screen when your audience, sees it., e. To make her presentation more attractive, she wants to add some effects in it. How can she do it?, Suggest., • To make her presentation attractive, she needs to add animation and transition effects to the slides., 2. Explain how a presentation can help a salesperson to promote his/her products., • Presentation is helpful for a sales person to promote his/her products effectively., • Presentation will give visual video, pictures to understand a goodness of the product., • By using presentation, sales person can make audience to understand easier and he can get more, response from the people., • Presentation help sales person to present prospect challenges easier., • Sales person can explain with physical demonstration by shocking animations. It helps to increase the, sales., , 9. INTRODUCTION TO INTERNET AND EMAIL, , Choose the correct answer, 1. What is the expansion of WLAN?, a) Wireless Local Area Network, c) Wireless Local Area Netware, 3. Each computer on net is called, a) host, b) server, 28, , (1 mark), , b) Wired local Area Network, d) Wireless Area Netbande, c) workstation, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , d) node, CS KNOWLEDGE OPENER
Page 29 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , 4. The internet is governed by, a) ICANM, b) ICANN, c) ICMA, d) ICNNA, 5. Expansion of W3C, a) World Wide Web Consortium, b) Wide World Web Consortium, c) World Web Wide Consortium, d) World Wide Web Consortum, 6. W3C was established in 1994 by, a) Tim Berners-Lee, b) Tim Burnard Lee c) Kim Berners, d) Kim Bernard Lee, 7. Hotspot uses which type of network services?, a) LAN, b) PAN, c) WLAN, d) CAN, 8. USB WiFi adapters are often called as, a) Data Card, b) Pen Drive, c) Dongles, d) Memory Card, 11. How many types of websites are available?, a) 3, b) 2, c) 4, d) 6, Very Short Answers, (2 Mark), 1. Name the two important protocols for internet?, • Transmission Control Protocol (TCP), • Internet Protocol (IP), 2. What is a network?, • Several networks are connected together to form a global network is called the internet., • A network is a collection of interconnected devices., 3. What is the role of ICANN?, • Internet Corporation for Assigned Names and Numbers ( ICANN) administers the domain, registration, • It helps to avoid name already registered., 4. What is a search engine?, • A search engine is a software system that is designed to search for information on the World Wide, Web., • Example: Google, Yahoo, etc., 6. What are the components of url addressing ?, , 7. What is a website?, • A website is a collection of webpages., • A webpage is a page of a website., 8. What is CC and BCC in an email?, • The CC (Carbon Copy) field allows you to specify recipients who are not direct addressees., 29, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 30 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , • The BCC (Blind Carbon Copy) field is similar to CC, except the recipients are secret., 9. What is a Static web Page?, • Static Web pages remain the same whenever it is visited., • Examples: Websites owned by Small business organizations, School websites etc., 10. What is a Dynamic web page?, • Dynamic web page contents and layouts may change during run time., • Example: Websites of Government and Entrance Exams., 12. What is Phishing?, • Phishing scams are fraudulent attempts by cybercriminals to obtain private information., • Phishing scams often appear in the guise of email messages designed to appear as though they are, from legitimate sources., Short Answers, (3 Mark), 1. What is TCP/IP?, • The Transmission Control Protocol to transmit data via various types of media., • The internet protocol (IP) addressing system is used to keep track of the millions of users., 2. Write a note on Hotspot internet service., • Hotspots are sites that offer Internet access over a wireless local area network by way of a router, that then connects to an Internet service provider., • It utilize Wi-Fi technology, which allows electronic devices to connect to the Internet or exchange, data wirelessly through radio waves., 3. Differentiate Data Card and Dongles., Dongles, , Data Card, , • Refers to any removable component used for • It is a removable electronic card which is used, enabling extra security., for storing for data., • USB Dongles can be divided into, • Types of data card are, WiFi Dongles, Expansion Card, BlueTooth Dongle, Memory Card or Flash Card, Memory Dongle, Identification Card, 4. Write a note on two access methods of connecting to internet., Indirect Access, • Indirect Access method is used in home and office networks., • The device e.g. computer connects to a network using Ethernet or WiFi and the network connects, to the Internet using Asymmetric digital subscriber line ADSL( cable or fibre)., Direct Access, • Direct Access method is used when travelling., • The device e.g. smart phone connects directly to the Internet using 3G/4G mobile networks or, public Wi-Fi., 30, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 31 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , 5. Differentiate browser and a search engine with suitable examples., BROWSER, • A Browser is used to access websites and, web pages, • It is a software used to browse the internet, • Example: Internet Explorer, Chrome, , SEARCH ENGINE, • A Search Engine issued to search for, particular information., • It is a software system used to search for, information on the World Wide Web., • Examples: Yahoo, Hotbot, Google, , 6. Differentiate Website and Webpage., WEBSITE, • Consists of a Single document displayed by, a browser, • Shares a unique domain name, • Makes up a website, , WEBPAGE, • A collection of multiple, displayable by a browser, • Has its own unique domain name, • Contains one or more webpages, , documents, , 7. What is the difference between Static and dynamic web page., Static web page, , Dynamic web page, , • The content and layout of a web page is fixed, , • The content and layout may change during run, time, , • Static Web pages never use databases, , • Databases is used to generate dynamic content, through queries, , • It directly run on the browser and do not, require any server side application program, , • It runs on the server side application programs, and displays the results, , • Static Web pages are easy to develop, , • Dynamic web page development requires, programming skills, , 8. What are Advantages of email., Free delivery - Sending an e-mail is virtually free, Global delivery - E-mail can be sent to anywhere around the world, Instant delivery - An e-mail can be instantly sent and received, File attachment - An e-mail can include one or more file attachments, Long-term storage - E-mails are stored electronically for long periods of time, Environmentally friendly - Sending an e-mail does not require conserving paper resources., Explain in detail, (5 Mark), 1. Explain any five types of internet services., Mobile, • Many cell phone and smartphone providers offer voice plans with Internet access., • It provides good speeds and allow you to access the Internet., Hotspots, 31, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 32 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , • Hotspots are sites that offer Internet access over a wireless local area network by way of a router that, then connects to an Internet service provider., • It utilize Wi-Fi technology, which allows electronic devices to connect to the Internet or exchange, data wirelessly through radio waves., DSL, • DSL, which stands for Digital Subscriber Line, uses existing 2-wire copper telephone line connected, to one's home so service is delivered at the same time as landline telephone service., • Customers can still place calls while surfing the Internet., Cable, • Cable Internet connection is a form of broadband access., • Through use of a cable modem, users can access the Internet over cable TV lines., • It provides extremely fast access to the Internet., Satellite, • In certain areas where broadband connection is not yet offered, a satellite Internet option may be, available., • Satellite connection utilizes a modem., , 10. HTML – STRUCTURAL TAGS, , Choose the correct answer, (1 mark), 1. HTML is acronym for, (a) Hyper Transfer Markup Language, (b) Hyper Text Markup Language, (c) Hyper Transfer Makeup Language, (d) Hyper Text Makeup Language, 2. The coded HTML keywords that indicates how web browser should format and display the content is, called……., (a) Tags, (b) Attributes, (c) Headings, (d) Body, 4. HTML tags should be specified within:, (a) [ ], (b) { }, (c) ( ), (d) < >, 5. An HTML document is bounded within a pair of ….. tags, (a) <body> ……. </body>, (b) <title> ……. </title>, (c) <html> ……. </html>, (d) <head> …… </head>, 6. Which of the following symbol is used to define a closing tag?, (a) < >, (b) %, (c) /, (d) \, 7. Which section of the browser window displays the main contents?, (a) Head, (b) Body, (c) Title, (d) Heading, 8. Which of the following tag is a structural tag?, (a) <html>, (b) <h1>, (c) <br>, (d) <p>, 13. How many levels of heading tags available in HTML?, (a) 6, (b) 4, (c) 8, (d) 3, Very Short Answers, (2 Mark), 1 Sandhiya is creating a webpage. She is entering HTML code on her computer. In between, she, keeps pressing “Refresh” / “Reload” button on her browser. What is the purpose?, • Refresh or Reload button is used to do modification on the webpage, 32, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 33 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , 2. Explain with the help of an example the difference between container and empty elements of, HTML., Container Tag, Empty Tag, • The tags which are required opening and, closing is known as container elements or, tags., • Example:, <html>, <body>, <title>, <p> etc.,, , • The tags which are required only opening tag, is known as empty elements or tags., • Example: <br>, , 3. What is the wrong in the following coding?, <html>, <my web page>, <title> Welcome to my web page, </head>, </title>, The Correct Code:, <html>, <head>, missing, <title>my web page</title> </title> should placed here, </head>, <body>, <body> part need to be there, Welcome to my web page, </body>, </html>, missing, 4. How do you define comments in HTML?, • Comments are used to describe the page or provide some kind of indication of the status of the page., • The tag <!> is used to create comments., • Example: <!comments>, • In HTML, the text what you type within this tag is considered as comments and it is ignored by the, browser., Short Answers, (3 Mark), 3. How do you view the source file?, • Right click on the browser, • Select View Page Source (Firefox and Chrome) / View Source (Internet Explorer) or Press Ctrl +, U (all browser), • Source file will be displayed., • In Internet Explorer, View → Source is also used to open source file., • Remember that, you cannot edit the source file opened using the methods you learnt above., 4. How do you save a file as HTML file?, • Save the file as HTML, 33, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 34 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , • Click File → Save (or) Press Ctrl + S, • Save as dialog box appears as shown in the Figure 10.3, • In “File Name” text box, type a file name with .htm or .html extension., • Select “All Files” from “Save as type” list box., • Click “Save” button., Explain in detail, (5 Mark), 1. Write a HTML program to display your school name and address using various heading level, tags., <html>, <head>, <title> My School </title>, </head>, <body>, <h1> Cs Knowledge Opener Hr.Sec.School, Puducherry</h1>, <h2> Cs Knowledge Opener Hr.Sec.School, Puducherry </h2>, <h3> Cs Knowledge Opener Hr.Sec.School, Puducherry </h3>, <h4> Cs Knowledge Opener Hr.Sec.School, Puducherry </h4>, <h5> Cs Knowledge Opener Hr.Sec.School, Puducherry </h5>, <h6> Cs Knowledge Opener Hr.Sec.School, Puducherry </h6>, </body>, </html>, 2. Write the basic structure of a HTML program., <html>, <head>, <title>My First Web Page</title>, </head>, <body>, WELCOME TO CS KNOWLEDGE OPENER, </body>, </html>, , 11. HTML – FORMATTING TEXT, CREATING TABLES, LISTS AND LINKS, , Choose the correct answer, (1 mark), 1. Which of the following tags are called as physical style tags?, (A) <html>, <b>, <br>, (B) <b>, <br>, <u>, (C) <A>, <b>, <i>, (D) <b>, <i>, <u>, 2. Which feature is used to call attention to the reader?, (A) Highlight, (B) Bold, (C) Italics, (D) Underline, 3. The tags <sub> and <sup> used for:, (A) Subject and Super, (B) Subscript and Super, (C) Subject and Superscript, (D) Subscript and Superscript, 5. Pick odd one from the list, 34, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 35 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , (A) <tr>, (B) <th>, (C) <dh>, (D) <td>, 6. Match the following:, (a) tfoot, - (1) Order list, (b) start, - (2) Hyperlink, (c) href, - (3) Highlight, (d) mark, - (4) Table, (a) (b) (c), (d), (A) 4 1, 2, 3, (B) 1 4, 3, 2, (C) 4 3 2, 1, (D) 1 2 4, 3, 7. Definition list has how many parts?, (A) 5, (B) 4, (C) 3, (D) 2, 8. A list block can be defined inside another list is:, (A) Inner List, (B) Nested List, (C) Outer List, (D) Listing List, Very Short Answers, (2 Mark), 1. Write a short note on (i) <strong> (ii) <em>, <strong> Important text:, • The <strong> tag is a phrase tag., • It is used to define important text by displaying the text as bold., <em> - Emphasized text:, • The <em> tag is used to emphasize the text., • That means, the text will be in italics., 2. What is the use of <mark> tag?, • Highlighting is used to call attention to the reader., • The <mark> tag is used to highlight the text in HTML., • This is also a container tag., • The text given between <mark> and </mark> will be displayed as highlighting with default color, (mostly yellow)., 3. Write the following equation as HTML notation: Pd = 2s – Q2, Code:, <html>, <head>, <title>html notation</title>, </head>, <body> Pd = 2s – Q<sup>2</sup>, </body>, </html>, 5. What is thematic break?, • The <hr> (Horizontal Rules) tag, which is known as “Thematic Breaks” separate sections of an, HTML document visually., • It produces a horizontal line spread across the width of the browser., 35, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 36 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , • This is an empty tag, which means the tag has no closing tag., 6. What is pixel?, • A pixel is one of the tiny dots that make up the display on computer., • Generally, 72 pixels equal to an inch., • Pixel is usually referred as points., Example:, The code <hr size = 72> display a horizontal line with 1 inch thickness, The default size is 3 pixels., 7. What are the types of list in HTML?, • Ordered / Numbered List, • Unordered/ Unnumbered List, • Definition List., • Nested List, 8. How will you define numbered list?, • Numbered list is created within the tag pair <OL> ….. </OL> tag., • The tag <LI> is used to present the list item in the list., • Ordered list displays items in a numerical or alphabetical order., • Both <OL> and <LI> tags are container tags., • No closing tag </LI., Short Answers, (3 Mark), 1. Write an HTML code to display the following text in exactly the same way as given below., I am studying Computer Science Application., Code:, <html>, <head>, <title>My First Web Page</title>, </head>, <body>, I am studying Computer Science Applications., </body>, </html>, 2. Briefly explain the attributes of <hr> tag., • The <hr> tag having four attributes viz. size, width, noshade and color., • These attributes are used to set size, width, 3D appearance and color to the horizontal line., Syntax:, <hr size=value width=value noshade, color=color_name/code>, 3. What are the core tags used to create table in HTML?, The five core tags used to create a table in HTML are,, • <table> tag is used to create a table., • <tr> tag defines table rows, • <th> tag defined table columns, 36, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 37 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , • <td> tag is used to specify the data in a cell, • <caption> tag defines title for the table, 5. Difference between <UL> and <OL> tags., Unordered lists, • Unordered lists are also called as bulleted lists., • Instead of numbers, each element in the list has, prefixed with a special bullet symbol., • Unordered list is surrounded within, <UL> ……… </UL> tags., • Each list element is defined by <LI> tag., , •, , •, •, •, , Ordered list, Ordered list displays items in a numerical or, alphabetical order within the tag pair <OL>, ….. </OL> tag., Each list element is defined by <LI> tag., Both <OL> and <LI> tags are container tags., No closing tag </LI>., , 6. Write HTML code to produce the following table:, ., B, A, C, Code:, <html>, <head>, <title> Table </title>, </head>, <body>, <table border=1 cellspacing=0 cellpadding=12>, <tr Valign =top>, <td rowspan=2>A</td><td> B</td>, </tr>, <tr><td> C</td>, </tr>, </table>, </body>, </html>, , 37, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 38 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , Explain in detail, 1. Write an HTML code the show the following text:, , (5 Mark), , MODERN ATOMIC THEORY, The finding of modern atomic theory are given as follows:, • An atom is the smallest particle which takes part in chemical reaction., • An atom is considered to be a divisible particle., • The atoms of the same element may not be similar in all respects., eg: Isotopes (17Cl35, 17Cl37), • The atoms of different elements may be similar in some respects., eg. Isobars (18Ar40, 20Ca40), Code:, <html>, <head>, <title>Table</title></head>, <boby>, <center>MODERN ATOMIC THEORY</center>, <b>The findings of modern atomic theory are given as follows:</b>, <ul >, <li>An atom is the smallest particle which takes part in chemical reaction., <li>An atom is considered to be a divisible particle., <li>The atoms of the same element may not be similar in all respects., <dl>, <dd>eg: Isotopes (<sub>17</sub>Cl<sup>35</sup>, <sub>17</sub>Cl<sup>37</sup>), </dl> </ul>, <ul>, <li>The atoms of different elements may be similar in some respects., <dl>, <dd>eg. Isobars (<sub>18</sub>Ar<sup>40</sup>, <sub>20</sub>Ca<sup>40</sup>), </dl></ul>, </body>, </html>, 2. Explain the attributes used with <table> tag in HTML., ATTRIBUTES OF TABLE, • The <table> is a container tag., • The several attributes to improve the layout of the table are listed below:, 1. Cellspacing, • It is used to set the space between cells in a table., • The value should be in pixels, , 38, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 39 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , 2. Cellpadding, • It is used to set the space between the contents of a cell and its border., • The value should be in pixels., 3. Border:, • Border attribute is used to specify the thickness of the border lines around the table., • The value of the border attribute should be a non zero value in pixels., • If its value is zero, HTML displays the table without border., • The default value is Zero in most the browsers., 4. Bordercolor:, • It is used to apply the colour to the border lines., 5. Align:, • It is used to set the position of the table within the browser window., • Left is the default position., • Right or center may be the value of align attribute., 6. BGcolor, • It is used to apply background colour to the table., 7. Height and Width, • These two attributes are used to specify the height and width of a table in terms of pixels or percentage., 3. Explain the types of list with suitable HTML code., Lists in HTML:, • Ordered / Numbered List, • Unordered/ Unnumbered List, • Definition List., • Nested List, 1. Numbered List / Ordered List, • Ordered list displays items in a numerical or alphabetical order within the tag pair, <OL> ….. </OL>, • Each list element is defined by <LI> tag., • Both <OL> and <LI> tags are container tags., • No closing tag </LI>., Attributes of Ordered List:, There are two attributes can be used to customize ordered list, they are, (1) Type - changing numbering style, • It is used to change the number style., • The default number style is standard Arabic numerals (1,2,3,…………), (2) Start - changing numbering order., • It is used to specify the number of letter with which start the list., • The default starting point is 1., , 39, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 40 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , • The value of the start attribute should be a decimal number, regardless of the numbering style, being used., 2. Un-numbered List / Unordered List, • Unordered lists are also called as bulleted lists., • Instead of numbers, each element in the list has prefixed with a special bullet symbol., • Unordered list is surrounded within <UL> ……… </UL> tags., • Each list element is defined by <LI> tag., Attribute of Unordered List:, • Type attribute is used to customize bullet style for the list of elements., • By default, a solid circle is used as bullets., 3. Definition List, • Definition list is different from other two types of list., • Definition list is surrounded within <DL> ……. </DL> tags., • No bullet or number is provided for the list items., • In this list type, the list element has two parts., (1) A Definition Term, • Definition term is presented in between <DT> ….. </DT> tag and, (2) The Definition Description, • Definition description should be surrounded within <DD> ………… </DD> tag., 4.Nested Lists:, • A list block can be defined inside another list is called as nested list., 5. Write HTML code to create the following table:, B, A, , C, , D, F, , E, , G, , Code:, <html>, <head>, <title> Table </title>, </head>, <body>, </table>, <table border=1 cellspacing=0 cellpadding=16>, <tr>, <td rowspan=3 Valign=top>A</td>, <th colspan=4>B</th>, </tr>, <tr>, 40, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 41 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , <td>C</td>, <td>D</td>, <td>E</td>, <td rowspan=2 Valign=top>G</td>, </tr>, <tr>, <th colspan=3>F</th>, </table>, </table>, </body>, </html>, , 12. HTML – ADDING MULTIMEDIA ELEMENTS AND FORMS, , Choose the correct answer, (1 mark), 1. Which image format was standardize by W3C?, (A) JPEG, (B) SVG, (C) GIF, (D) PNG, 2. The tag used to insert an image in HTML:, (A) Image, (B) Picture, (C) Img, (D) Pic, 3. In HTML, a piece of text or image can be moved horizontally or vertically by using:, (A) <marquee>, (B) <img>, (C) <embed>, (D) <text>, 4. Inline sound can be inserted using which of the following tag?, (A) <inline>, (B) <backgroundsound> (C) <bgsound>, (D) <sound>, 5. Which value causes the audio play as long as the page is in view?, (A) Stop, (B) Never Stop, (C) Continue, (D) Infinite, 6. The important attributes used with the <form> tag are, (A) method and action, (B) name and size (C) post and get, (D) type and name, 7. The tag is used to create dropdown list box in HTML is:, (A) <dropdown>, (B) <select>, (C) <listbox>, (D) <input>, 8. Match the following:, (a) <textarea>, - (1) inline, (b) <input>, - (2) Video, (c) <bgsound>, - (3) Multiline input, (d) <embed>, - (4) Password, (a) (b) (c) (d), (A) 3 1, 4, 2, (B) 3 4 1, 2, (C) 2 3 4, 1, (D) 2 1 3, 4, Very Short Answers, (2 Mark), 1. List out the popular image formats., • GIF (Graphical Interchange Format), • JPEG (Joint Photographic Experts Group), • PNG (Portable Network Graphics), 41, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 42 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , • SVG (Scalable Vector Graphics), 2. Write down the general format of marquee, General format:, <marquee> Text or image to be scroll </marquee>, 3. What is inline sound or movie?, • Music can be played in the background to a webpage, while the page is viewed., • This is known as ‘inline’ sound or movie., • The <bgsound> tag is used to attach an inline sound file in HTML, 4. What is the purpose of <input> tag?, • Most of the form controls are created by using <input> tag., • The <input> is an empty tag used to create different form elements or controls such as text box, radio, buttons so on., 5. Which tag is used to specify the list of items in dropdown list box?, • The <select> tag is used to create dropdown list box in HTML., • It provides a list of various options as a dropdown list., • This element is more helpful when a number of options are to be displayed in a limited space., • The <option> tag is used to specify list items., 6. What are the major attributes are available in <textarea> tag?, • The <Textarea> tag is used to receive multi line text data as input., • It is a container tag., • The main attributes of <Textarea> are, Name – Used to define name to the control, Rows – Specifies the number of rows in the text area control, Cols – Specifies the number of columns in the text area. (number of characters in a line), Short Answers, (3 Mark), 1. Write a short note on familiar images format., GIF (Graphical Interchange Format), • This format is one of the popular format for animated images., • Used for presenting tiny animated images, logos, icons, line art etc.,, • Not suitable for photographic work, because it uses maximum of 256 colours., JPEG (Joint Photographic Experts Group), • JPEG is the most popular image format supported by all web browsers., • This format is suitable for photographic images., • Unlike GIF, JPEG can include any number of colours., PNG (Portable Network Graphics), • PNG is designed as a replacement for GIF. It is also supported by all browsers., SVG (Scalable Vector Graphics), • SVG is a graphics format that was developed for web., 42, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 43 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , • It was standardized by World Wide Web Consortium (W3C) in 2001., • All current web browsers supports basic features of SVG., 2. How will you scroll the text in HTML?, • In HTML, a piece of text or image can be moved horizontally or vertically by using <marquee> tag., • It makes a web page as more attractive., General format:, <marquee> Text or image to be scroll </marquee>, 3. Explain the main attributes used with <form> tag., • The important attributes used with the <form> tag are method and action attributes., Method, • The method attribute is used to identify how the form element names and values will be sent to the, server., • The get method will append the names of the form elements and their values to the URL., • The post method will send the names and values of the form elements as packets., Action, • The action attribute identifies the server side program or script that will process the form., • The action will be the name of a Common Gateway Interface (CGI) program written in, programming languages like Perl, JavaScript, PHP or ASP., General Format of <form> tag, <Form method=get/post action= “back_end_server_script”>, Form elements, </Form>, 4. Explain the values of <input> tag’s type attribute., Value of type, Description, attribute, Text, • Creating a Text Box is used to get all kind of text input such as name,, address etc.,, Password, • Similar as Text box., • But,the characters are appearing as coded symbols such as asterisk., Checkbox, • Check box is a small square box used to select multiple options.., • When the user click on the square a tiny tick mark will appear inside the, square., Radio Button, • Radio button is a small circle used to select any one of the multiple options, from the list., • When it selected a tiny dot will appear within the circle., • The user can select any one of the given option from a group, all other, option will be deselected, 43, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 44 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , Reset, Submit, Button, , • It is a special command button used to clear all the entries made in the form., • It is also a special command button used to submit all the entries made in the, form to the backend server., • This is a standard graphical button on the form used to call functions on, click., , 5. Explain the attributes of <select> and <option> tags., Attributes of <Select> tag:, Name:, Provide the name to the control, which is sent to the server., Size:, Determine the style of dropdown list box., Size = 1 dropdown list box, Size = 2 List box, Multiple:, Allows user to select multiple values., Attributes of <Option> tag:, Selected:, Indicate default selection, Value:, Value to be submitted to server, , 13. CSS – CASCADING STYLE SHEETS, , Choose the correct answer, 1. Expansion of CSS, (A) Cascading Style Schools, (C) Cascading Style Sheets, 2. Which of the following is the page level style?, (A) <Page>, (B) <Style>, 3. CSS is also called as:, (A) Sitewide Style Sheets, (C) Inline Style Sheets, 4. The extension of CSS file is, (A) .ssc, (B) .css, 5. What is selector?, (A) Property, (B) Value, 6. The Declaration block of CSS is surrounded by, (A) ( ), (B) [ ], 7. The declaration should be terminated by, (A) :, (B) ;, 44, , (1 mark), , (B) Cascading Style Scheme, (D) Cascading Style Shares, (C) <Link>, , (D) <H>, , (B) Internal Style Sheets, (D) Internal Inline Sheets, (C) .csc, , (D) .htm, , (C) HTML tag, , (D) name, , (C) { }, , (D) <>, , (C) ., , (D) ,, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 45 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , 8. What is the property to set text as bold?, (A) Font-Style, (B) Font-Weight (C) Font-Property, (D) Font-Bold, 9. Which of the following indicates that the text included is a comment ?, (A) /* */, (B) !* *!, (C) <* *>, (D) \* *\, 10. Which of the following ways below is correct to write a CSS?, (A) p{color:red; text-align:center};, (B) p {color:red; text-align:center}, (C) p {color:red; text-align:center;}, (D) p (color:red;text-align:center;), Very Short Answers, (2 Mark), 1. What is the use of <style> tag?, • A style tag is used to change the default characteristics of a particular tag in the entire web document, wherever that tag is used., 2. What is CSS?, • Cascading Style Sheets (CSS) are also called as Sitewide Style sheets or external style., • CSS is a style sheet language used for describing the formatting of a document written in HTML., 3. Write the general format of linking CSS with HTML., General format of <Link> tag, <Link rel = “stylesheet” type = “text/css” href = CSS_File_Name_with_Extension>, 4. What is Inline Style?, • “Inline style” is used to define style for a particular tag anywhere in an HTML document., • “Inline style” is applicable only on that line where it is defined., 5. Write down general format of CSS declaration., Selector, Declaration, HTML Tag { Properties : Values; }, Short Answers, (3 Mark), 1. What are the advantages of using CSS?, Maintainability –, • CSS are also defined and stored as separate files. So, the style and appearance of a web page can be, dynamically changed and maintain with less effort., Reusability –, • The styles defined in CSS can be reused in multiple HTML pages., Easy to understand –, • The tags in web pages are well organized with style specifications and therefore it is easy to, understand., 2. Write a short note on rule of CSS., • CSS style declaration consists of two major parts; Selector and Declaration., • The Selector refers an HTML tag in which you want to apply styles., • The Declaration is a block of code contains style definition., • It should be surrounded by curly braces., • Any number of properties can be included for each selector, and they must be separated by semicolons., • The property name and its value should be separated by a colon., 45, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 46 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , • Each declaration should be terminated by a semicolon ( ; )., Example:, Selector, Declaration of properties and values, P, , {, , }, , Font-size : 16pt;, color : red;, font-weight : bold;, , 3. Write a CSS file to define text color and alignment to <p> tag., P, {, Color : pink;, Text-align : center;, }, 4. Write a CSS file to define font type, style and size to <h1> tag., H1, {, Font-family : “Times New Roman”;, Font-style : Italic;, Font-Size :15px;, }, Explain in detail, (5 Mark), 1. Write an HTML document to display the following paragraph as per the given description Using, CSS., • Font Name : Cooper Black, • Style : Bold Italics, • Color : Blue, “The State Institute of Education (SIE) was established in 1965 to provide for systematic study of, problems relating to School Education under the administration of Directorate of School Education.”, Coding:, <html>, <head><title> CSS FILE</title>, <style>, P, {, Font-family : “Cooper Black”; Font-style : Bold; Font-weight :Italics; color:blue;, }, </style>, <body>, <p>, 46, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 47 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , “The State Institute of Education (SIE) was established in 1965 to provide for systematic study of, problems relating to School Education under the administration of Directorate of School Education.”, </p>, </body>, </html>, 2. List and explain the Font and text element properties and values used CSS., Formatting, Properties, Values, Example, Text Colour, Color, Predefined_Color_N P, ame, {, color:pink;, }, H1, {, color : MediumSeaGreen;, }, Text Alignment, Text-align, Center / Left / Right P, / Justify, {, Text-align : center;, }, Font type, Font-family, Font_name, P, {, Font-family : “Times New, Roman”;, }, Font Style, Font-style, Normal / Italic, P, {, Font-family : “Times New, Roman”;, Font, Formatting, Properties, Values, Example, Font Style (Bold), Font-weight, Normal / Bold, P, {, Font-family : “Times New, Roman”;, Font-style : Italic;, Font-weight : bold;, }, Font size, Font-size, Size in pixels, P, {, Font-family : “Times New, Roman”;, Font-style : Italic;, 47, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 49 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , 14. INTRODUCTION TO JAVASCRIPT, , Choose the correct answer, (1 mark), 1. Which provided a common scripting language to web developers to design, test and deploy Internet, Application, A) C, B) C++, C) Java, D) JavaScript, 2. Expand CGI, A) Common Gateway Interface, B) Complex Gateway Information, C) Common Gateway Information, D) Complex Gateway Interface, 3. JavaScript programming language is used to develop the, A) Dynamic Web Page, B) Window, C) Web Page, D) Home Page, 4. The Dynamic Web Page help to save server’s, A) Work, B) Route, C) Traffic, D) Path, 5. User entered data, is validated before sending it to server is called, A) Server traffic, B) Dynamic Web Page C) Server Route, D) Web server, 6. Java Scripts can be implemented using which statements?, A) <head>, B) <Java>, C) <script>, D) <text>, 7. Expand, A) Distance Hyper Text Markup language, B) Dynamic Hyper Text Markup language, C) Distance High Text Markup language, D) Dynamic High Text Markup language, 8. How many attributes specifies that <script> tag in the scripting, A) 2, B) 3, C) 4, D) 5, 9. Which attribute is used to indicate the scripting language and its value should be sent to, “Text/JavaScript”, A) Language, B) Text1, C) Type, D) Body, 10. The file reload into the browser use the shortcut key is, A) F2, B) F3, C) F4, D) F5, 11. JavaScript ignores spaces that appear between, A) Command, B) Scripts, C) Tokens, D) Text, 12. A Data value for variable that appears directly in a program by using a, A) loop, B) Literal, C) Statement, D) Text, 13. Which is mostly used to give a warning message to users?, A) Alert Dialog Box, B) Confirm box, C) Prompt box, D) Display box, 14. In the below snippet, value of x is var x = 250 + 2 – 200;, A) 50, B) 52, C) 48, D) 42, Very Short Answers, (2 Mark), 1. Write a syntax of <script> tag, SYNTAX:, <script language="javascript" type="text/javascript">, JavaScript code, </script>, , 49, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 50 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , 2. What is scope of variables and types of scope variable?, • The scope of a variable is the life time of a variable of source code in which it is defined., • A global variable has global scope; it can be defined everywhere in the JavaScript code., • Variables declared within a function are defined only within the body of the function are called Local, Variables and have local scope., 3. Write a notes to type casting in JavaScript, • Type conversion is the act of converting one data type into a different data type which is also called as, casting., Type of casting:, 1. Implicit casting, 2. Explicit casting, 4. How many Literals in JavaScript and mention its types., • A literal is a fixed value given to a variable in source code., • Literals are often used to initialize variables., • Values may be Integer, Floating point, Character, String and Boolean., 5. What is conditional operator give suitable example., The ?: is the conditional operator in JavaScript, which requires three operands, hence it is called the, ternary operator., SYNTAX:, , var variablename = (condition) ? value1 : value2;, , EXAMPLE:, , var result = (10>15) ?100 :150;, , 6. What are the comments in Java Script?, • Single-line comments begin with a double slash (//), causing the interpreter to ignore everything from, that point to the end of the line., • Multiple line comments begins with /* and ends with */., 7. Write note on typeof Operator., • The typeof operator is used to get the data type (returns a string) of its operand., • The operand can be either a literal or a data structure such as a variable, a function, or an object., • The operator returns the data type., • Syntax: typeof operand or typeof(operand), • typeof returns: boolean, function, number, string, and undefined, 8. Write the role of variable in JavaScript., • Variables are declared in JavaScript using var keyword that allocates storage space for new data and, indicates to the interpreter that a new identifier is in use., • Declaring a variable in JavaScript as follows: var no1,no2;, • The var no1,no2; tells the interpreter that no1 and no2 are variables., 9. What is the uses of prompt dialog box?, • The prompt dialog box is very useful when the user want to pop-up a text box to get user input., • Thus, it enables you to interact with the user., • The user needs to fill in the text box field and then click OK., 50, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 51 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , Short Answers, (3 Mark), 1. What are the advantages of programming language?, • JavaScript programming language is used to develop interactive pages (Dynamic Web page )., • User entered data in the Dynamic Web page can be validated before sending it to the server., • This saves server traffic, which means less load on your server., • JavaScript includes such items as Textboxes, Buttons, drag-and-drop components and sliders to give a, Rich Interface to site visitors., • EXAMPLE: Creating a New email account in any service provider., 2. Brief the basic data types in Java Scripts., The three basic data types in Java Scripts are,, 1. A string is a list of characters, and a string literal is indicated by enclosing the characters in single or, double quotes. Strings may contain a single character or multiple characters, including whitespace and, special characters such as \n (the newline)., 2. Numbers can be integer or floating-point numerical value and numeric literals are specified in the, natural way., 3. Boolean literals are indicated by using true or false directly in the source code., 3. Write note on string Operator., • The + operator is also called as the string concatenation operator., • Because string concatenation has precedence over numeric addition,, concatenation if any of the operands are strings., Example:, , + will be interpreted as string, , 4. Write about <script> tag, • The <script>... </script> tag containing JavaScript can be placed anywhere within in the web page,, but it is normally recommended that should be kept it within the <head> tags., • The <script> tag alerts the browser program to start interpreting all the text between these tags as a, script commands., SYNTAX:, <script language="javascript" type="text/javascript">, JavaScript code, </script>, ATTRIBUTES:, Language − This attribute specifies that the scripting language., Type − This attribute is used to indicate the scripting language and its value should be set to, text/javascript"., 5. What are the uses of Logical Operators?, Usage :, • Best practice is to use logical operators on boolean operands. However, operands of any type can be, combined. The strict rules are as follows:, 51, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 52 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , • For && (AND) the result is false if the first operand is false; otherwise, the result is the Boolean value, of the second operand., • For || (OR) the result is true if the first operand is true; otherwise, the result is the Boolean value of the, second operand., • For ! (NOT) the result is true if the operand is false; otherwise, the result is true., 6. Difference between the increment and Decrement operator., Increment operator, Decrement operator, The ++ operator increments its single operand., The -- operator decrements its single operand., The operator converts its operand to a number,, It converts the value of the operand to a number,, adds 1 to that number, and assigns the incremented subtracts 1, and assigns the decremented value, value back into the variable., back to the operand., Post Increment: var a=5, b=a++;, Post Decrement: var a=5, b=a--;, Pre Increment: var a=5, b=++;, Pre Decrement: var a=5, b=a--;, Explain in detail, (5 Mark), 1. Explain about the popup dialog boxes in JavaScript., • Dialog boxes are also called as Popup Boxes., • These dialog boxes can be used to raise an alert, or to get confirmation on any input or to have a kind, of input from the users., • JavaScript supports three kind of Dialog boxes or Popup Boxes: Alert box, Confirm box, and Prompt, box., Alert Dialog Box:, • An alert dialog box is mostly used to give a warning message to the users., • For example, if one input field requires to enter some text but the user does not provide any input, then, as a part of validation, you can use an alert box to give a warning message., • Alert box gives only one button "OK" to select and proceed., The syntax of alert box is, Alert(“Message”);, (or) Window.alert(“Message”);, Example:, alert(“Name is compulsory entry”);, Confirm Dialog Box:, • A confirmation dialog box is mostly used to take user's consent on any option., • It displays a dialog box with two buttons: OK and Cancel., • If the user clicks on the OK button, the confirm() will return true., • If the user clicks on the Cancel button, then confirm() returns false., The syntax of confirm dialog box is, confirm(“message”);, (or), window.confirm(“message”);, 52, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 53 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , Example:, confirm(“Hai Do you want to continue:”);, Prompt Dialog Box:, The prompt dialog box is very useful when the user want to pop-up a text box to get user input., Thus, it enables you to interact with the user., The user needs to fill in the text box fi eld and then click OK., The prompt dialog box is displayed using a method called prompt() which takes two parameters:, (i) a label which you want to display in the text box, (ii) a default string to display in the text box., This dialog box has two buttons: OK and Cancel., If the user clicks the OK button, the prompt() will return the entered value from the text box., If the user clicks the Cancel button, the prompt() returns null., The Syntax of prompt dialog box is,, Prompt(“Message”,”defaultValue”);, (or), window.prompt("sometext","defaultText");, Example:, prompt(“Enter Your Name:”,”Name”);, 2. Explain about the Arithmetic operator with suitable example., Arithmetic Operators, JavaScript supports all the basic arithmetic operators like addition (+), subtraction (–), multiplication (*),, division (/), and modulus (%, also known as the remainder operator)., Arithmetic Operator, Meaning, Example, Result, +, Addition, var sum = 20 + 120, Variable sum = 140, Subtraction, var diff = 20 – 120, Variable diff = 100, *, Multiplication, var prod = 10 * 100, Variable prod = 1000, /, Division, var res = 100/522, Variable res = 5.22, %, Modulus operator, var rem = 100 % 522, Variable rem = 22, (remainder), Example Coding:, <Html>, <Head>, <Title>Demo Program – To test Arithmetic Operators in JavaScript </Title>, </Head>, <Body>, <script language="javascript" type="text/javascript">, var value1 = 522, value2=10;, 53, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 54 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , document.write("<br>Data1 : "+value1);, document.write("<br>Data2 : "+value2);, var sum = value1+value2;, var diff = value1-value2;, var prod = value1*value2;, var res = value1/value2;, var rem = value1%value2;, document.write("<br><br>The Sum of Data1 and Data2 : "+sum);, document.write("<br>The Difference of Data1 and Data2 : "+diff);, document.write("<br>The Product of Data1 and Data2 : "+prod);, document.write("<br>The Result after Division of Data1 and Data2 : "+res);, document.write("<br>The Remainder after Division of Data1 and Data2 : "+rem);, </script>, </Body>, </Html>, Output:, , 15. CONTROL STRUCTURE IN JAVASCRIPT, , Choose the correct answer, (1 mark), 1. Which conditional statement is used to transfer control from current statement to another statement?, (a) Branching, (b) Sequencing, (c) Looping, (d) Interating, 2. _______ statement can be used as alterative to if-else statement., (a) While, (b) If, (c) Else-if, (d) Switch, 3. Which statement in switch case is used to exit the statement once the appropriate choice is found?, (a) Exit, (b) Default, (c) Case, (d) Break, 4. Which of the following is not a looping statement?, (a) Switch, (b) While, (c) Do-While, (d) For, 5. Which part of the loop statement determines the number of times, the loop will be iterated? (MOT), (a) First, (b) Second, (c) Third, (d) Final, 54, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 55 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , 6. Which of the following is not a branching statement?, (a) Loop, (b) If-else, (c) Switch, (d) For, 7. What will be the output for the following snippet:, For (var n=0; n<10; n+1), {, if (n==3), {, break;, }, document write (n+"<br>");, }, (a) 0 1 2, (b) 0 1 2 3, (c) 0 1 2 3 4, (d) 0, 1, 3, 8. In which loop the condition is evaluated, before executing a statement? (MOT), (a) While, (b) Do while, (c) Break, (d) Continue, 9. The _______ statement is especially useful when testing all the possible results of an expression., (LOT), (a) While, (b) Do while, (c) Switch, (d) If, 10. In the _____ loop, body of the loop always executed at least once before the condition can be, executed. (LOT), (a) For, (b) While, (c) If, (d) Do while, 11. <script type = "text / javascript">, x = 6 + "3";, document write (x);, <script> what will be the output?, (a) 6, (b) 9, (c) 63, (d) Error, Very Short Answers, (2 Mark), 1. What are the different types of control statement used in JavaScript?, There are two types of controls statement,, • Branching / Selection, • Looping / Repetitive, 2. What is meant by conditional statements in JavaScript?, • Conditional statements execute or skip one or set of statements depending on the value of a specified, conditional expression., 3. List out the various branching statements in JavaScript?, The are different branching statements are,, , •, •, •, •, , 55, , if statement, if … else statement, else if statement, switch statement, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 56 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , 4. Write the general syntax for switch statement, switch(expression), {, case label1:, statements1;, break;, case label2:, statements2;, break;, case labeln:, statements - N;, break;, default:, statements;, }, 5. Differentiate the break and continue statement., break, , continue, , • The break statement terminates the loop • The continue statement executes the next, irrespective of the condition, , iteration of the loop., , Short Answers, (3 Mark), 1. What is if statement and write its types., The if statement is the control statement that allows to make decisions to execute statements, conditionally., Two forms of if:, i) Simple if:, In simple if, If the resulting value of expression is true the true block is executed., SYNTAX:, if (condition), {, True block;, }, ii) If else statement:, The if else statement follows one of two paths, If the resulting value of expression is true the true block is, executed or if it it false else block is executed., SYNTAX:, if (expression), { statements if true }, else, { statements if false }, , 56, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 57 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , 2. Write the syntax for else-if statement., if (Condition 1), { block 1; }, else if (condition 2), { block 2; }, else if (condition 3), { block 3; }, else, { block 4; }, 3. What is called a loop and what are its types?, • In JavaScript there are times when the same portion of code needs to be executed many times with, slightly different values is called Loops., • JavaScript supports three kinds of looping statements. They are, • for loop, • while loop, • do…while loop, 4. Differentiate between while and do while statements, while, do while, The purpose of a while loop is to execute a, In do..while loop the loop expression is tested at, statement /block of statement repeatedly as long as the end of the loop rather than at the beginning., an expression is true., This means that the body of the loop is always, executed at least once., SYNTAX:, SYNTAX:, while (condition), do, {, {, body of the loop, body of the loop, }, } while (expression);, 5. What message will be displayed, if the input for age is given as 20, for the following snippet., if (age> = 18 ), {, alert ("you are eligible to get Driving licence"}, }, else, alert ("you are not eligible to get driving licence");, }, Output:, you are eligible to get Driving licence, , 57, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 58 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , Explain in detail, (5 Mark), 1. Explain for loop with example, • The for loop is a very rigid structure that loops for a pre-set number of times., • In javascript for structure is very flexible, which makes this type is very useful., SYNTAX:, for(initialization; condition; increment/decrement), {, Body of the loop;, }, The for structure within parenthesis there are three parts each separated by semicolon. They are,, 1. The first part of the loop initialize a variable which is also called as control variable., 2. The second part is the conditional statement that determines how many times the loop will be iterated., 3. The third and final part determines how the value of control variable is changed, (Incremented/Decremented), EXAMPLE:, <Html>, <Body>, <script language="javascript" type="text/javascript">, var n = prompt("Please enter Table You want :", "0");, document.write("<h2> Multiplication Table</h2>");, for( var m=0;m<=5;m++), {, document.write(n+" x "+m+" = "+n*m+"<br>");, }, </script>, </Body>, </Html>, OUTPUT:, , Multiplication Table, 3x3=0, 3x1=3, 3x2=6, 3x3=9, 3 x 4 = 12, 3 x 5 = 15, , 58, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 59 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , 2. Explain switch case statement with example, • JavaScripts offers the switch statement as an alternate to using if...else structure., • The switch statement is especially useful when testing all the possible results of an expression., SYNTAX:, switch(expression), {, case label1:, statements1;, break;, case label2:, statements2;, break;, case labeln:, statements - N;, break;, default:, statements;, }, Break and Default Statement :, • The switch statement begins by evaluating an expression placed between parenthesis., • The result compared to labels associated with case structure that follow the switch statement., • If the result is equal to a label, the statements in the corresponding case structure are executed., • The default structure is can be at the end of a switch structure if the result of the expression that do not, match any of the case labels., • The break statement is also used commonly within switch to exit the statement once the appropriate, choice is found., EXAMPLE:, <html>, <head>, <title>A Simple Page</title>, <script language="JavaScript">, <!-var yourchoice;, yourchoice = prompt("Choose a number between 1 and 4", "1, 2, 3 or 4"), switch (yourchoice), {, case "1":, document.write("You typed the number 1");, break;, case "2":, document.write("You typed the number 2");, 59, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 60 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , break;, case "3":, document.write("You typed the number 3");, break;, case "4":, document.write("You typed the number 4");, break;, , }, // -->, </script>, </head>, <body>, </body>, </html>, Output, Choose a number between 1 and 4", "1, 2, 3 or 4, 2, You typed 2, 3. Write the output for the following program, <Html>, <Head>, <Title> for statement</title>, <Head>, <Body>, <script language= "java Script" type = "text / javaScript"), var no1= prompt ("please enter table you want:", "0" );, document write ("<h2> Multiplication for your need </h2>"), for (Var a= 0; a<=5; a++), {, document write (a+ "x" + b+ "=" + a+b+ "<br>);, }, </script>, </body>, </Html>, , Output, Multiplication for your need, 5x0=0, 5x1=5, 5x2=10, 5x3=15, 60, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 61 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , 5x4=20, 5x5=25, , 4. Write a Java Script program using while statement to display 10 numbers., <Head>, <Title>Program - To test while statement in JavaScript </Title>, </Head>, <Body>, <script language="javascript" type="text/javascript">, document.write("<h2> Using while Statement </h2>");, var x=0;, while(x<=9), {, document.write(x+" ");, x=x+1;, }, </script>, </Body>, </Html>, Output, , 16. JAVASCRIPT FUNCTIONS, , Choose the correct answer, (1 Mark), 1. The parameters work as, A) Local variable, B) Global Variable C) File variable, D) block variable, 2. Predefined functions are also called as, A)Library functions, B) storage functions C) instructions, D) commands, 3. Larger programs are divided into smaller are called, A) modules, B) block, C) sets, D) Group, 4. Which of the following is used to enhance reusability and program clarity., A) functions, B) modules, C) sets, D) instructions, 61, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 62 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , 5. Which of the following allow the programmer to modularize a program, A) Library functions, B) user defined functions, C) Normal functions, D) Ordinary functions, Very Short Answers, (2 Mark), 1. What is a function in JavaScript?, • A function is a block of JavaScript code that is defined once but may be executed or invoked any, number of times., 2. What is the use of function?, • Functions are used to encapsulate code that performs a specific task., • To avoid the repetition., • Reusability and Program Clarity, 3. Write a note on Library functions., • Pre-defined functions are already defined in the JavaScript library which are also called Library, functions., Example: NaN(),alert(), prompt(),write() etc, 4. Write a note on user defined functions., • User-defined functions allow the programmer to modularize a program., • Some real-world problems are much large, occupy more space and time to execute., • So large programs are divided into small programs are called modules., 5. Write the syntax of functions., SYNTAX:, Function function-name(parameters list), {, Declaration of variable, �, � Function Body, Executable stamements;, }, Short Answers, (3 Mark), 1. Write a program in JavaScript to find the cube of a number using function, <html>, <head>, <title> Cube Number </title>, </head>, <body>, <script language="javascript" type="text/javascript">, var n=prompt("enter value:","0");, var c=cube(n);, document.writeln("The value is "+n+": The Given value of Cube is: "+c);, function cube(x), {, var c=x*x*x;, return c;, }, 62, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 63 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , </script>, </body>, </html>, , Output, , 2. Write a program in JavaScript to find the sum of 10 numbers using function, <html>, <head>, <script type = "text/javascript">, var num = window.prompt("Enter the number:","");, var n = parseInt(num);, result = sumnaturalno(n);, window.alert("The sum of :" + n +"is:" + result);, function sumnaturalno(n), {, var i;, var sum = 0;, for(i = 1;i <= n; i++){, sum = sum + i;}, return (sum);, }, </script>, </head>, </html>, , 63, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 64 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , Output, , 17. COMPUTER ETHICS AND CYBER SECURITY, , Choose the correct answer, (1 Mark), 1. Which of the following is a set of moral principles that regulate the use of computers?, a. piracy, b. programs, c. virus, d. computer ethics, 2. Commercial programs made available to the public illegally are known as, a. freeware, b. warez, c. free software, d. software, Very Short Answers, (2 Mark), 1. What is Harvesting ?, • A person or program collects login and password information from a legitimate user to illegally gain, access s to others’ account(s)., 2. What are Warez?, • Commercial programs that are made available to the public illegally are often called Warez., 3. Write a short note on cracking., • Cracking is where someone edits a program source so that the code can be exploited or modified., • “Cracking” means trying to get into computer systems in order to steal, corrupt, or illegitimately view, data., • A cracker is a malicious or criminal hacker., Short Answers, (3 Mark), 3. What are the guidelines to be followed by any computer user?, • Honesty: Users should be truthful while using the internet., • Confidentiality: Users should not share any important information with unauthorized people., • Respect: Each user should respect the privacy of other users., • Responsibility: Each user should take ownership and responsibility for their actions, , 64, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 65 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , 4. What are ethical issues? Name some., • An Ethical issue is a problem or issue that requires a person or organization to choose between, alternatives that must be evaluated as right (ethical) or wrong (unethical)., • These issues must be addressed and resolved to have a positive influence in society., • COMMON ETHICAL ISSUES:, • Cyber crime, • Software Piracy, • Hacking, • Fraud, .Explain in detail, (5 Mark), 1. What are the various crimes happening using computer?, Crime, Function, • Malicious programs that can perform a variety of functions including monitoring, Malware, user’s computer activity without their permission., Harvesting, , • A person or program collects login and password information from a legitimate, user to illegally gain access s to others’ account(s)., , Spam, , • Distribute unwanted e-mail to a large number of internet users., 2. What is piracy? Mention the types of piracy? How can it be prevented?, • Software Piracy is “unauthorized copying of software”., • It includes stealing of codes / programs and other information illegally and creating duplicate copies by, unauthorized means and utilizing this data either for one’s own benefit or for commercial profit., , • Most of the commercial software is licensed for use at a single computer site or for use by only one, user at any time., • When a user buys any software, he becomes a licensed user for that software., • He is allowed to make copies of the program for backup purposes, but it is against the law to distribute, duplicate copies to others., • Such illegal copying and distribution of commercial software should not be practiced., • An entirely different approach to software piracy is called shareware, acknowledges the futility of, trying to stop people from copying software and instead relies on people’s honesty., • Shareware publishers encourage users to give copies of programs to friends and colleagues but ask, everyone who uses that program regularly to pay a registration fee to the program’s author directly., • Commercial programs that are made available to the public illegally are often called warez., PREVENTION:, • To pretend being your friend and talk to you on Internet Relay Chat(IRC) or by Instant messenger,, e-mail can also be a source for them., • They may send official e-mail requesting some sensitive information., 65, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER
Page 66 :
J. ILAKKIA M.Sc., B.Ed., M.Phil. Computer Instructor Grade-I, GHSS – V.Pagandai, Villupuram., , 18. TAMIL COMPUTING, , Very Short Answers, (2 Mark), 1. List the search engines supported by Tamil language., • Google, • Bing, • Yahoo, 2. What are the keyboard layouts used in Android?, • Sellinam and Ponmadal – are familiar Tamil keyboard layouts that works on Android operating system, in Smart phone using phonetics., 3. Write a short note about Tamil Programming Language., • Programming languages to develop software in computers and smart phones are available only in, English., • Based on Python programming language, the first Tamil programming language “Ezhil” (எ�ல் ) is, designed., 4. What is TSCII?, • TSCII (Tamil Script Code for Information Interchange) is the first coding system to handle our Tamil, language., • This encoding scheme was registered in IANA (Internet Assigned Numbers Authority) a unit of, ICANN., 5. Write a short note on Tamil Virtual Academy., • Tamil Virtual University was established on 17th February 2001 by the Govt. of Tamilnadu., • Now, this organisation functions with the name of “Tamil Virtual Academy”., • It offers different courses in Tamil language, Culture, heritage etc., from kindergarten to under, graduation level., ***, , PREPARED BY, , J. ILAKKIA M.Sc., B.Ed., M.Phil., Computer Instructor Grade-I, , Govt. Hr. Sec. School, V.Pagandai, Villupuram 605 501., 66, , Visit :http://www.youtube.com/c/CSKNOWLEDGEOPENER, , CS KNOWLEDGE OPENER