Customizing and Embedding Multimedia Components in Web Pages Notes Class 12

customizing and embedding multimedia components in web pages notes class 12

Teachers and Examiners collaborated to create the Customizing and Embedding Multimedia Components in Web Pages Notes Class 12. All the important MCQs and QA are taken from the NCERT Textbook Web Application ( 803 ).

Customizing and Embedding Multimedia Components in Web pages MCQ

1. First Multimedia elements introduce in ______________ Web browser.
a. Mosaic
b. Chrome
c. Firefox
d. Opera

Show Answer ⟶
a. Mosaic

2. First Multimedia elements add in Mosaic in the year ______.
a. 1993
b. 1995
c. 2000
d. 2001

Show Answer ⟶
a. 1993

3. Advantages of the Multimedia is
a. Greater Immersion
b. Enhanced Page Ranking
c. Better Branding
d. All of the above

Show Answer ⟶
d. All of the above

4. Disadvantages of the Multimedia is
a. Potential Damage to Search Engine Ranking
b. Loading Times
c. Compatibility
d. All of the above

Show Answer ⟶
d. All of the above

Customizing and Embedding Multimedia Components in Web Pages Notes Class 12

5. HTML stands for ________________.
a. Hyper Text Markup Language
b. Hyper Transfer Markup Language
c. Hyper Text Makeup Language
d. Hyper Transfer Makeup Language

Show Answer ⟶
a. Hyper Text Markup Language

6. XML stands for ___________________.
a. Exit Markup Language
b. Extensible Markup Language
c. Extensible Makeup Language
d. Exit Makeup Language

Show Answer ⟶
b. Extensible Markup Language

7. __________ Images based on pixels.
a. Raster image
b. Vector Image
c. Both (a) and (b)
d. None of the above

Show Answer ⟶
a. Raster image

8. __________ Images not based on pixels.
a. Raster image
b. Vector Image
c. Both (a) and (b)
d. None of the above

Show Answer ⟶
b. Vector Image

9. ____________ Image is lossless image format.
a. GIF
b. JPEG
c. PNG
d. BMP

Show Answer ⟶
a. GIF

10. ____________ Image is lossy image format.
a. GIF
b. JPEG
c. PNG
d. BMP

Show Answer ⟶
b. JPEG

11. GIF stands for _____________.
a. Graphics Interconnection Format
b. Graphics Information Format
c. Graphics Interchange Format
d. Graphics Interchange Font

Show Answer ⟶
c. Graphics Interchange Format

Customizing and Embedding Multimedia Components in Web Pages Notes Class 12

12. GIF file format are ____________ images which use a lossless compression technique.
a. 256 color (8-bit)
b. 512 color (16-bit)
c. 256 color (16-bit)
d. 512 color (8-bit)

Show Answer ⟶
a. 256 color (8-bit)

13. JPEF stands for ____________.
a. Joint Photographic Experts Group
b. Join Photo Experts Group
c. Joint Portable Experts Group
d. Joint Potable Expert Group

Show Answer ⟶
a. Joint Photographic Experts Group

14. JPEG support _________________ images that are compressed using a lossy compression.
a. 8 Million colors
b. 16.7 Million colors
c. 32 Million colors
d. 64 Million colors

Show Answer ⟶
b. 16.7 Million colors

15. JPEG support _________________ images that are compressed using a lossy compression.
a. 32-bit
b. 64-bit
c. 8-bit
d. 64-bit

Show Answer ⟶
b. 64-bit

16. PS stands for ____________.
a. Postscript
b. PostSchema
c. Both (a) and (b)
d. None of the above

Show Answer ⟶
a. Postscript

17. EPS stands for ____________.
a. Eco Postscript
b. Encapsulated Postscript
c. Both (a) and (b)
d. None of the above

Show Answer ⟶
b. Encapsulated Postscript

18. ________ format is used to edit vector graphics file.
a. .ps
b. .eps
c. .epsi
d. All of the above

Show Answer ⟶
d. All of the above

19. PDF stands for _______________.
a. Port Document Format
b. Post Document Format
c. Portable Document Format
d. Power Document Format

Show Answer ⟶
c. Portable Document Format

Customizing and Embedding Multimedia Components in Web Pages Notes Class 12

20. PDF document is created by –
a. Sun Microsystems
b. Adobe Acrobat
c. Microsoft
d. Linux

Show Answer ⟶
b. Adobe Acrobat

21. TIFF stands for ____________ .
a. Tagged Image File Format
b. Time Image File Format
c. Today Image File Format
d. None of the above

Show Answer ⟶
a. Tagged Image File Format

22. TGA file format is uncompressed ___________ images.
a. False color 24-bit
b. True color 16-bit
c. True color 24-bit
d. False color 16-bit

Show Answer ⟶
c. True color 24-bit

23. _________ is standard Macintosh image file format.
a. .tga
b. .tif
c. .bmp
d. .pict

Show Answer ⟶
d. .pict

24. ___________ File format can support a raster image and vector image.
a. .tga
b. .pict
c. .bmp
d. .tif

Show Answer ⟶
b. .pict

25. BMP files are ____________.
a. Windows Bitmap file
b. Mac Bitmap file
c. Linux Bitmap file
d. Unix Bitmap file

Show Answer ⟶
a. Windows Bitmap file

26. BMP support ______________ color images
a. 8-bit & 256 colors
b. 16-bit & 256 colors
c. 32-bit & 256 colors
d. None of the above

Show Answer ⟶
a. 8-bit & 256 colors

Customizing and Embedding Multimedia Components in Web Pages Notes Class 12

27. A PCX is a ___________ paint file
a. Sun Microsoft
b. Zsoft
c. Apple
d. Windows

Show Answer ⟶
b. Zsoft

28. Potable Bitmap(.pbm), Potable Pixmap(.ppm), and Potable Graymap(.pgm) are all file formats used by _________.
a. Unix workstation
b. Mac workstation
c. Microsoft workstation
d. All of the above

Show Answer ⟶
a. Unix workstation

29. PSD signifies an ___________________ file.
a. Sun Microsystem Graphics
b. Adobe Photoshop graphic
c. GIMP graphic
d. Microsoft Graphic

Show Answer ⟶
b. Adobe Photoshop graphic

30. _________ is a vector graphics file format and is operable by Canvas.
a. .cvs
b. .psd
c. .jpg
d. .png

Show Answer ⟶
a. .cvs

31. WPG stands for __________.
a. World Prefect Graphics
b. World Potable Graphics
c. Word Perfect Graphics
d. Word Potable Graphics

Show Answer ⟶
c. Word Perfect Graphics

32. __________files are Windows Meta Files format
a. WPG
b. .CVS
c. .WMF
d. .XPM

Show Answer ⟶
c. .WMF

33. __________ file format are used in X Windows System.
a. .xpm
b. .xbm
c. Both (a) and (b)
d. None of the above

Show Answer ⟶
c. Both (a) and (b)

Customizing and Embedding Multimedia Components in Web Pages Notes Class 12

34. Which file format is best for Internet.
a. GIF & JPEG
b. PICT & TIFF
c. PBM & PGM
d. XPM & XBM

Show Answer ⟶
a. GIF & JPEG 

35. Which file format is best for Word processing and desktop publishing?
a. GIF & JPEG
b. PICT & TIFF
c. PBM & PGM
d. XPM & XBM

Show Answer ⟶
b. PICT & TIFF

36. Which video file format developed by Microsoft
a. .avi
b. .flc
c. .mov
d. .MooV

Show Answer ⟶
a. .avi

37. ___________ is an Autodesk Flick movie and it is a raw file format.
a. .avi
b. .flc
c. .mov
d. .MooV

Show Answer ⟶
b. .flc

38. ____________ file extensions means that the video file is an Apple QuickTime move.
a. .mov, .MooV & .qt
b. .flc & .avi
c. .mp4 & .fli
d. None of the above

Show Answer ⟶
a. .mov, .MooV & .qt

Customizing and Embedding Multimedia Components in Web Pages Notes Class 12

39. Which one of the video format is Universal and supported by every computer.
a. .mov
b. .mpg
c. .mpeg
d. Both (b) and (c)

Show Answer ⟶
d. Both (b) and (c)

40. __________ audio sound file native to Sun workstations.
a. .au
b. .iff
c. .mid
d. .rmi

Show Answer ⟶
a. .au

41. _______ files can be played with the Windows MIDI sequencer.
a. .mid
b. .rmi
c. Both (a) and (b)
d. None of the above

Show Answer ⟶
c. Both (a) and (b)

42. ___________ file is a music file format originally from the Commodore Amiga.
a. .mid
b. .rmi
c. .mod
d. .qt

Show Answer ⟶
c. .mod

43. ___________ Quick Time movie can contain just sound and no video.
a. .snd
b. .voc
c. .qt
d. .wav

Show Answer ⟶
c. .qt

Customizing and Embedding Multimedia Components in Web Pages Notes Class 12

44. ___________Macintosh clickable sound format.
a. .snd
b. .qt
c. .voc
d. .wav

Show Answer ⟶
a. .snd

45. __________ files were originally popularized by creative labs and similar to WAV
a. .snd
b. .voc
c. .wav
d. .mod

Show Answer ⟶
b. .voc

46. ___________ files are Microsoft’s native audio sound format.
a. .snd
b. .qt
c. .voc
d. .wav

Show Answer ⟶
d. .wav

47. Which HTML sound code is supported in the Internet Explorer browser?
a. BGSOUND
b. EMBED
c. Both (a) and (b)
d. None of the Above

Show Answer ⟶
a. BGSOUND

Customizing and Embedding Multimedia Components in Web Pages Notes Class 12

48. Which HTML sound code is supported in Netscape browser?
a. BGSOUND
b. EMBEDDING
c. Both (a) and (b)

Show Answer ⟶
b. EMBEDDING

49. __________ tag is also non standard embed tag to adding various media file in web pages.
a. <object>
b. <head>
c. <voice>
d. All of the above

Show Answer ⟶
a. <object>

50. Param tag include ______________.
a. Height & Width
b. Background
c. Loop and autoplay
d. All of the above

Show Answer ⟶
d. All of the above

51. Type of audio media player used in web browser.
a. Windows Media Player
b. Quicktime
c. RealPlayer
d. All of the above

Show Answer ⟶
d. All of the above

52. If you want to play sound immediately after it’s loaded make the auto start parameter.
a. True
b. False

Show Answer ⟶
a. True

Customizing and Embedding Multimedia Components in Web Pages Notes Class 12

53. The parameter autoplay is similar to ____________.
a. Autotrue
b. Auto
c. Autostart
d. Autofalse

Show Answer ⟶
c. Autostart

54. Google Reader have an inbuilt MP3 player that is pretty much the same as Gmail player but it also works on _____________ websites.
a. Non-Google
b. Google Only
c. Yahoo Only
d. Odeo Only

Show Answer ⟶
a. Non-Google

55. Yahoo! Offers a code generator to help us to create a ___________ based MP3 player that matches our website color theme and layout.
a. Flash based
b. Google Based
c. Yahoo Based
d. Odeo Based

Show Answer ⟶
a. Flash based

Customizing and Embedding Multimedia Components in Web Pages Notes Class 12

56. Which media player works perfect in RSS readers
a. Google Player
b. Yahoo Player
c. Odeo MP3 Player
d. Flash Player

Show Answer ⟶
c. Odeo MP3 Player

57. In which player we can add artist and song name and ability to adjust the color scheme
a. MixPod
b. Google Player
c. Yahoo Player
d. Odeo MP3 Player

Show Answer ⟶
a. MixPod

Customizing and Embedding Multimedia Components in Web Pages Notes Class 12

58. Before playing sound in Web Browser, Which player we have to sign up.
a. MixPod
b. Yahoo Player
c. Odeo MP3 Player
d. Google Player

Show Answer ⟶
a. MixPod

59. Which browser can play sound using helper application
a. Netsscape 1.0
b. Chrome
c. Fire Fox
d. Opera

Show Answer ⟶
a. Netsscape 1.0

60. MIDI stands for _________________.
a. Musical Instruction Digital Interface
b. Musical Instrument Digital Interface
c. Musical Instrument Dynamic Interface
d. Musical Instruction Dynamic Interface

Show Answer ⟶
b. Musical Instrument Digital Interface

Customizing and Embedding Multimedia Components in Web Pages Notes Class 12

61. Write a short note on MIDI?
Answer – The MIDI format does not contain sound. It only has digital notes in it. It was first created in 1982.
It’s a versatile format that can be utilised for a variety of musical purposes.
These files are little in size. The extension. mid or. midi is used for MIDI sound files.

62 What is the main reason for the popularity of Mp3 formats?
Answer – The fact that these formats offer good compression and high quality is the fundamental reason for their appeal.
They’re also cross-platform and compatible with the majority of popular web browsers.
Mp3 is an example of a sound file extension. The extension of video files is.mpg or.mpeg.

Customizing and Embedding Multimedia Components in Web Pages Notes Class 12

63 What is MP3/MPEG format?
Answer – Moving Pictures Experts Group created the MPEG format.
The MPEG format was created for video files, whereas the MP3 format was created for sound files (music).
This format has recently gained popularity on the Internet.

64 What is AU format?
Answer – The AU format is a sound format that is supported by the majority of popular software across several platforms.
The extension for files in the AU format is .Au

65 Define WAVE format.
Answer – IBM and Microsoft jointly developed the WAVE format.
It is one of the most common formats because it is supported by all popular web browsers as well as all computers running the Windows operating system.
The extension. wav is used for WAVE files.

Customizing and Embedding Multimedia Components in Web Pages Notes Class 12

66 What Is Multimedia?
Answer – Multimedia is just a combination of many types of media. Text, images, audio, animation, video, data, and other forms of media.

67 What Are Multimedia Software’s?
Answer – There are three types of software that can be used to generate multimedia experiences:
Audio Software
Graphics Software
Video Software

Employability Skills Class 12 Notes

Employability Skills Class 12 MCQ

Employability Skills Class 12 Questions and Answers

Web Application Class 12

Reference Textbook

The above Customizing and Embedding Multimedia Components in Web Pages Notes Class 12 was created using the NCERT Book and Study Material accessible on the CBSE ACADEMIC as a reference.

Your valuable Feedback

Hi Students, Thank you for taking the time to reading Customizing and Embedding Multimedia Components in Web Pages Notes Class 12. Please take a few moments and leave your thoughts in the comment box below.

Disclaimer – 100% of the questions are taken from the CBSE textbook Customizing and Embedding Multimedia Components in Web Pages Notes Class 12, and our team has tried to collect all the correct MCQs and Question and Answer from the textbook . If you found any suggestion or any error please contact us anuraganand2017@gmail.com.

Web Scripting JavaScript Class 12 QA

web scripting javascript class 12

Teachers and Examiners collaborated to create the Web Scripting JavaScript Class 12. All the important Questions and Answers and taken from the NCERT Textbook Web Application ( 803 ).

Web Scripting JavaScript Class 12

JavaScript Introduction

1. What is JavaScript?

Answer – JavaScript is a text-based programming language for creating dynamic web pages. It may be used both on the client-side and server-side. Whereas HTML and CSS provide structure and design to web pages, JavaScript adds interactive components that keep users engaged.

2. How is JavaScript different from Java?

Answer – Brendan Eich of Netscape created JavaScript, whereas Sun Microsystems created Java. Despite the fact that the two languages overlap certain syntax, they were created independently and for different audiences.

3. What is the relationship between JavaScript and ECMAScript?

Answer – ECMAScript is yet another name for JavaScript (other names include LiveScript). The current JavaScript that you see supported in browsers is ECMAScript

4. What are the advantages of JavaScript?

Answer – The advantages of JavaScript are –
a. Developing Multimedia Application – Users can add multimedia elements like animation, audio files, video files etc.
b. Create pages dynamically – Based on the data user can make modifications in the data dynamically.
c. Interact with the user – JavaScript can validate user response when the user submit the form.

5. What are the features of JavaScript?

Answer – The features of JavaScript are –

a. Browser Support – All the browsers support the JavaScript program without using any plugins.
b. Client Side and Server Side – JavaScript programs can be written in Client Side and Server Side in both conditions.
c. Functional Programming Language – In JavaScript support function program, function just like a data type. Function can accept parameters and can also return the value.
d. Support for Objects – JavaScript handles the objects easily like Array, String and Math. It also supports Inheritance concepts just like C++ and Java programs.

6. What are the various data types in JavaScript?

Answer –
a. Number – JavaScript uses a double-precision 64-bit representation for numbers. Addition, subtraction, multiplication, division, modulus etc.
b. String – Strings are character sequences in JavaScript. They’re actually sequences of Unicode characters, each of which is represented by a 16-bit number.
c. Boolean – The boolean type in JavaScript has two potential values: true and false.
d. Null – You can give a variable the value null to indicate that it does not have a value right now but will later. A null value denotes the absence of a value.
e. Undefined – When no value is assigned to a variable or object before it is used, it has an undefined value.

7. Can you explain what isNaN function does?

Answer – If the argument does not appear to be a number, the isNaN function will return TRUE (1).

8. What is the difference between undefined value and null value?

Answer – The term “undefined” refers to a variable that has been declared but not yet given a value. Null, on the other hand, is a value assigned to a variable. It can be assigned to a variable as a no-value representation.

9. Define the characteristics of JavaScript?

Answer – JavaScript is a client-side and server-side technology mostly used for client-side validation, but it also contains a lot of other features that are listed below:
– JavaScript is a scripting language that is built on objects.
– JavaScript allows users to have more control over their browser.
– It recognizes the browser and operating system used by the user.
— It’s a scripting language, not a programming language like Java.
– JavaScript is an interpreter based scripting language.
– JavaScript is a case sensitive language.
– In JavaScript, every statement must be followed by a semicolon (;).

10. Is JavaScript case-sensitive?

Answer – Yes, JavaScript is a case-sensitive language. This means that language keywords, variables, function names, and any other identifiers must always be typed with a consistent capitalization of letters.

11. What is a Document Object Model?

Answer – The Document Object Model (DOM) is an HTML and XML programming interface. It specifies the logical structure of documents as well as how they are accessed and modified.

12. What is Client-side & Server-side JavaScript?

Answer –
a. Client – side – Client-side scripting is carried out by web browsers. When all of the code is present in the browser, it is used. The source code is used to transport data from a web server to a user’s machine via the internet and run it directly in browsers. It’s also utilised for validations and user event functions.

b. Server – side – Server-side scripting is carried out by web servers. Basically, they’re used to make dynamic pages. It also has access to the web server’s file system. A webserver is a server-side environment that runs on a server side.

13. Explain the following functions with respect to JavaScript:
a) Substring
b) Concat()
c) Shift()

Answer –
a) Substring : Extracts the characters from a string, between two specified indices
b) Concat() : Joins two or more strings, and returns a copy to the joined strings
c) Shift() : Removes the first element of an array and returns that element

14. What is the difference between entry control loop & exit control loop?

Answer – Loops are a technique for repeatedly repeating a group of statements until a condition is met. There are three types of loops in the JavaScript programming language: 1) while loop, 2) do while loop, and 3) for loop.
As a result, loops can be managed in two ways: at the entry level or at the exit level.

1. Entry Controlled Loop

2. Exit Controlled Loop

Entry Controlled Loop
Loop, where the test condition is checked before entering the loop body, known as Entry Controlled Loop.
Example: while loop, for loop

Exit Controlled Loop
Loop, where the test condition is checked after executing the loop body, known as Exit Controlled Loop.
Example: do-while loop

15. What is an event in JavaScript?

Answer – The interaction between JavaScript and HTML is handled via events that occur when the user or the browser manipulates a page. Event Handling refers to the process of reacting to situations. When the page loads, the mouse moves on the page, the user clicks on the button these all are examples of events.
Different types of event in JavaScript
a. onLoad – occurs when a page loads in a browser
b. onUnload – occurs just before the user exits a page
c. onMouseOver – occurs when you point to an object
d. onMouseOut – occurs when you point away from an object
e. onSubmit – occurs when you submit a form
f. onClick – occurs when an object is clicked

Web Scripting JavaScript Class 12

Control Statements 

If, else, else if, and switch-case statements are all conditional statements in JavaScript. They’re used to check for a specific condition and then run the code based on the result.

// Write a program to accept two numbers from the user and find the greatest numbers

<html>
<body>
<script type="text/javascript">
	var num1, num2;
	num1=parseInt(prompt("Enter 1st Number"));
	num2=parseInt(prompt("Enter 2nd Number"));
	if(num1 > num2)
	{
		document.write("1st Number is greatest");
	}
	else
	{
		document.write("2nd Number is greatest")
	}
</script>
</body>
</html>

// Write a program to accept numbers from the user and check the number is even or odd

<html>
<body>
<script type="text/javascript">
	var num1;
	num1=parseInt(prompt("Enter Number"));
	
	if(num1%2==0)
	{
		document.write("Number is even");
	}
	else
	{
		document.write("Number is Odd")
	}
</script>
</body>
</html>

// Write a program to accept three numbers from the user and find the greatest numbers

<html>
<body>
<script type="text/javascript">
	var num1, num2, num3;
	num1=parseInt(prompt("Enter 1st Number"));
	num2=parseInt(prompt("Enter 2nd Number"));
	num3=parseInt(prompt("Enter 3rd Number"));
	if(num1 > num2 && num1 > num3)
	{
		document.write("1st Number is greatest");
	}
	else if(num2 > num3)
	{
		document.write("2nd Number is greatest");
	}
	else
	{
		document.write("3rd Number is greatest")
	}
	
</script>
</body>
</html>

// Write a JavaScript program to check vowels or consonants using switch cases.

<html>
<body>
<script type="text/javascript">
	var ch;
	ch=prompt("Enter any small character");
	switch(ch)
	{
		case 'a':
		document.write("Vowel");
		break;

		case 'e':
		document.write("Vowel");
		break;

		case 'i':
		document.write("Vowel");
		break;

		case 'o':
		document.write("Vowel");
		break;

		case 'u':
		document.write("Vowel");
		break;

		default:
		document.write("Consonant");
	}
</script>
</body>
</html>

Web Scripting JavaScript Class 12

Looping Statements

Using a loop you can execute the statement multiple times.

There are three types of loop.

  1. For loop
  2. While loop
  3. Do-While loop

For Loop

// Write a program to print the number from 1 to 10 using for loop

<html>
<body>
<script type="text/javascript">
	var i;
	for(i=1;i<=10;i++)
	{
		document.write(i);
	}
	
</script>
</body>
</html>

// Write a program to print the number from 10 to 1 using for loop

<html>
<body>
<script type="text/javascript">
	var i;
	for(i=10;i>=1;i--)
	{
		document.write(i);
	}
	
</script>
</body>
</html>

// Write a program to print the even numbers from 1 to 100 using for loop

<html>
<body>
<script type="text/javascript">
	var i;
	for(i=1;i<=100;i++)
	{
		if(i%2==0)
		{
		document.write(i);
		}
	}
	
</script>
</body>
</html>

// Write a program to accept 10 numbers from the user and find the greatest number using a for loop.

<html>
<body>
<script type="text/javascript">
	var i, num, max;
	max=parseInt(prompt("Enter Number"));
	for(i=1;i<=10;i++)
	{
		num=parseInt(prompt("Enter Number"));
		if(num > max)
		{
		max = num;
		}
	}
	document.write("Greatest Number is " + max);
</script>
</body>
</html>

// Write a program to accept 10 numbers from the user and sum of numbers using a for loop.

<html>
<body>
<script type="text/javascript">
	var i, num, sum=0;
	for(i=1;i<=10;i++)
	{
		num=parseInt(prompt("Enter Number"));
		sum=sum+num;
	}
	document.write("Sum is " + sum);
</script>
</body>
</html>

While Loop

// Write a program to print the number from 1 to 10 using a while loop.

<html>
<body>
<script type="text/javascript">
	var i;
	i=1;
	while(i<=10)
	{
		document.write(i);
		i++;
	}
</script>
</body>
</html>

Do-While Loop

// Write a program to print the number from 1 to 10 using a do-while loop.

<html>
<body>
<script type="text/javascript">
	var i;
	i=1;
	do
	{
		document.write(i);
		i++;
	}while(i<=10);
</script>
</body>
</html>

Web Scripting JavaScript Class 12

Array in JavaScript

Array is a group of variables which have the same name.
There are three different ways to declare array variables.
a. var a = new Array();
b. var a = [10];
c. var a =[“Apple”, “Mangoes”, “Orange”, “Banana”];

Note – Array variable always start from 0

First Method

// Write a JavaScript program to accept 10 numbers from the user and print the numbers using an array.

<html>
<body>
<script type="text/javascript">
	var a = new Array();
 	var i;
 	for(i=0;i<=9;i++)
 	{
 		a[i]=parseInt(prompt("Enter Number"));
 	}
 	for(i=0;i<=9;i++)
 	{
 		document.write(a[i]);
 	}
</script>
</body>
</html>

Second Method

// Write a JavaScript program to accept 10 numbers from the user and print the numbers using an array.

<html>
<body>
<script type="text/javascript">
	var a = [10];
 	var i;
 	for(i=0;i<=9;i++)
 	{
 		a[i]=parseInt(prompt("Enter Number"));
 	}
 	for(i=0;i<=9;i++)
 	{
 		document.write(a[i]);
 	}
</script>
</body>
</html>

Third Method

// Write a JavaScript program to print the number from 1 to 5.

<html>
<body>
<script type="text/javascript">
	var a = ["1", "2", "3", "4", "5"];
 	var i;
 	for(i=0;i<=4;i++)
 	{
 		document.write(a[i]);
 	}
</script>
</body>
</html>

Web Scripting JavaScript Class 12

String in JavaScript

Combination of characters is know as string.

// Write a program to display the middle value from the string using substring.

<html> 
<body> 
<script> 
var str, result;
str=prompt("Enter String");
result=str.substring(1, 4);
document.write(result);
</script> 
</body> 
</html>

Answer - 
Input - INTERNATIONAL
Output - NTE

// Write a program to concatenate the two given strings.

<html> 
<body> 
<script> 
var str1, str2, result;
str1=prompt("Enter String");
str2=prompt("Enter String");
result=str1.concat(str2);
document.write(result);
</script> 
</body> 
</html>

Answer - 
Input - Str1 = Hello, Str2 = World
Output - HelloWorld

// Write a program to join the array string using join.

<html> 
<body> 
<script> 
var str=["Hello", "World"];
var result;
result=str.join();
document.write(result);
</script> 
</body> 
</html>

Answer - 
Input - str=[“Hello”,”World”];
Output - Hello, World

Note - Join function is used to convert array string to normal string.

// Write a program to remove the last element from the string.

<html> 
<body> 
<script> 
var str=["Welcome", "to", "New", "World"];
str.pop()
document.write(str);
</script> 
</body> 
</html>

Answer - 
Input - str=["Welcome", "to", "New", "World"];
Output - Welcome,to,New

Note - Pop is used to remove the last element from the array.

// Write a program to add the last element in the array string.

<html> 
<body> 
<script> 
var str=["Welcome", "to", "New"];
str.push("World");
document.write(str);
</script> 
</body> 
</html>

Answer - 
Input - str=["Welcome", "to", "New"]; str.push("World");
Output - Welcome,to,New,World

Note - In the array you can add new element in the last 

 // Write a program to display the array elements in reverse order.

<html> 
<body> 
<script> 
var str=["Welcome", "to", "New", "World"];
str.reverse();
document.write(str);
</script> 
</body> 
</html>

Answer - 
Input - str=["Welcome", "to", "New", "World"];
Output - World,New,to,Welcome

// Write a program to remove the first element from the array.

<html> 
<body> 
<script> 
var str=["Welcome", "to", "New", "World"];
str.shift();
document.write(str);
</script> 
</body> 
</html>

Answer - 
Input - str=["Welcome", "to", "New", "World"];
Output - to,New,World

// Write a program to remove the first element from the array.

<html> 
<body> 
<script> 
var str=["Banana", "Orange", "Lemon", "Apple", "Mango"];
var result;
result = str.slice(1, 4);
document.write(result);
</script> 
</body> 
</html>

Answer - 
Input - str=["Banana", "Orange", "Lemon", "Apple", "Mango"];
Output - Orange,Lemon,Apple
 

// Write a program to sort the array elements.

<html> 
<body> 
<script> 
var str=["Banana", "Orange", "Lemon", "Apple", "Mango"];
var result;
result = str.sort();
document.write(result);
</script> 
</body> 
</html>

Answer - 
Input - str=["Banana", "Orange", "Lemon", "Apple", "Mango"];
Output - Apple,Banana,Lemon,Mango,Orange

// Write a program to add the new element in the array.

<html> 
<body> 
<script> 
var str=["Banana", "Orange", "Lemon", "Apple", "Mango"];
var result;
str.splice(2, 0, "Lichi", "Kiwi");
document.write(str);
</script> 
</body> 
</html>

Answer - 
Output - Banana,Orange,Lichi,Kiwi,Lemon,Apple,Mango  
Note - Splice will add the new element after two element 

// Write a program to add the new element in the beginning of the array.

<html> 
<body> 
<script> 
var str=["Banana", "Orange", "Lemon", "Apple", "Mango"];
var result;
str.unshift("Lemon", "Kiwi");
document.write(str);
</script> 
</body> 
</html>

Answer - 
Output  -   Lemon,Kiwi,Banana,Orange,Lemon,Apple,Mango  
  
Note - unshift allows you to add a new element before the first array element.   

Web Scripting JavaScript Class 12

Function in JavaScript

In JavaScript, functions can be declared using the function keyword, followed by the function name, and, in parentheses, the list of parameters (without a var declaration). The actual function definition is enclosed in curly brackets. The return keyword is used to return a value or just terminate the function. 

Syntax – 

function function-name(parameter-list)

declarations and statements 

// Write a program to accept two numbers from the user and find the sum of two numbers using function;

<html> 
<body> 
<script> 
function sum(x, y)
{
  var sum;
  sum=x+y;
  return sum;
}
var num1, num2, result;
num1=parseInt(prompt("Enter Number"));
num2=parseInt(prompt("Enter Number"));
result = sum(num1, num2);
document.write("Sum is " + result);
</script> 
</body> 
</html>

Web Scripting JavaScript Class 12

Math in JavaScript

// Write a program to accept decimal values from the user and roundup the value.

<html> 
<body> 
<script> 
var num, result;
num=parseFloat(prompt("Enter Number"));
result = Math.round(num)
document.write(result);
</script> 
</body> 
</html>

// Write a program to display any random value from 0 to 1.

<html> 
<body> 
<script> 
var result;
result = Math.random();
document.write(result);
</script> 
</body> 
</html>

// Write a program to find the maximum value from 5 numbers.

 54, 38, 71, 44, 92

<html> 
<body> 
<script> 
var result;
result = Math.max(54, 38, 71, 44, 92);
document.write(result);
</script> 
</body> 
</html>

// Write a program to find the minimum value from 5 numbers.

 54, 38, 71, 44, 92

<html> 
<body> 
<script> 
var result;
result = Math.min(54, 38, 71, 44, 92);
document.write(result);
</script> 
</body> 
</html>

Events in JavaScript

// Onload event

<html> 
<script> 
function myFunction()
{
  confirm("Welcome to the browser");
}
</script>
<body onload="myFunction()"> 
</body> 
</html>

// OnClick event

<html> 
<script> 
function myFunction()
{
  confirm("You have clicked on the button");
}
</script>
<body> 
<button onclick="myFunction()">Click me</button>
</body> 
</html>

Employability Skills Class 12 Notes

Employability Skills Class 12 MCQ

Employability Skills Class 12 Questions and Answers

Web Application Class 12

Reference Textbook

The above Web Scripting JavaScript Class 12 was created using the NCERT Book and Study Material accessible on the CBSE ACADEMIC as a reference.

Your valuable Feedback

Hi Students, Thank you for taking the time to reading Web Scripting JavaScript Class 12. Please take a few moments and leave your thoughts in the comment box below.

Disclaimer – 100% of the questions are taken from the CBSE textbook Web Scripting JavaScript Class 12, and our team has tried to collect all the correct Question and Answer from the textbook . If you found any suggestion or any error please contact us anuraganand2017@gmail.com.

Movie Editing Tools Class 12 MCQ & QA

movie editing tools class 12

Teachers and Examiners collaborated to create the Movie Editing Tools Class 12. All the important MCQs and QA are taken from the NCERT Textbook Web Application ( 803 ).

Movie Editing Tools Class 12 MCQ

1. Does Movie Maker program used for making or creating a movie or film?
a. It’s only for editing audio
b. It’s Only for editing Video
c. Both (a) and (b)
d. None of the above

Show Answer ⟶
c. Both (a) and (b)

2. Does movie maker used for editing images?
a. Yes
b. No
c. Some of image you can
d. None of the above

Show Answer ⟶
b. No

3. What is the 4 main parts of Movie Maker?
a. Movie Tasks, Video Preview, communication, storyboard
b. Movie Tasks, tasks, Item List, storyboard
c. Movie Tasks, Video Preview, Item List, Story Board
d. None of the above

Show Answer ⟶
c. Movie Tasks, Video Preview, Item List, Story Board

4. How can we import a video?
a. From movie tasks we chose(import video)
b. For Video preview we chose(import video)
c. From time line we chose(import video)
d. None of the above

Show Answer ⟶
a. From movie tasks we chose(import video)

5. How can we import an effects in my video?
a. From play we chose(View Video Effects)
b. From Movie Tasks we chose(View Video Effects)
c. From file we chose (View Video Effects)
d. None of the above

Show Answer ⟶
b. From Movie Tasks we chose(View Video Effects)

6. From where can we import View Video transitions?
a. From Item List
b. From Video Preview
c. From Movie Tasks
d. None of the above

Show Answer ⟶
c. From Movie Tasks

Movie Editing Tools Class 12

7. How to Export Move or save it?
a. From Movie Tasks we chose save to my computer or Save project
b. We cannot save it
c. From Movie Tasks we chose Play movie when I click Finish
d. None of the above

Show Answer ⟶
a. From Movie Tasks we chose save to my computer or Save project

8. Can we record an audio or video directly from Windows Movie Maker?
a. No
b. Only Video
c. Yes
d. Only Audio

Show Answer ⟶
c. Yes

9. Windows Movie Maker is __________________ editing video.
a. Non-linear
b. Linear
c. Both (a) and (b)
d. None of the above

Show Answer ⟶
a. Non-linear

10. NLE stands for ____________.
a. Non Linear Editing
b. Next Linear Editing
c. Nixon Linear Editing
d. None of the above

Show Answer ⟶
a. Non Linear Editing

11. First Windows Movie Maker software included in ______________ operating System.
a. Windows XP
b. Windows 9
c. Windows ME in 2000
d. Windows 10

Show Answer ⟶
c. Windows ME in 2000

12. With type of file format supported by Windows Movie Maker.
a. DV, AVI and WMV 8 file
b. All Video Format
c. All Audio Format
d. None of the above

Show Answer ⟶
a. DV, AVI and WMV 8 file

13. First time DVD burning facility given in _______________ operating system.
a. Windows XP
b. Windows XP Media Center
c. Windows 2000
d. Windows 98

Show Answer ⟶
b. Windows XP Media Center

Movie Editing Tools Class 12

14. VirtualDub support (install) ____ and____ bit of windows platform.
a. 08-bit and 16-bit
b. 32-bit and 64-bit
c. 64-bit and 128-bit
d. None of the above

Show Answer ⟶
b. 32-bit and 64-bit

15. VirtualDub comes under ______________ licensed.
a. JNP
b. GNU(General Public License)
c. PND
d. CDS

Show Answer ⟶
b. GNU(General Public License)

16. VirtualDub having ________________ capabilities for processing large numbers of files.
a. Batch-processing
b. Bit-Processing
c. World-Processing
d. Group-Processing

Show Answer ⟶
a. Batch-processing

17. T@b ZS4 Video Editor is __________ and __________ software which aims to provide media experts with a facility to combine a variety of media types.
a. Video Editing and Compositing Software
b. Batch-Processing and Bit-Processing
c. Both (a) and (b)
d. None of the above

Show Answer ⟶
a. Video Editing and Compositing Software

18. Wax can give _______ and _________ special effects in the project.
a. 7D and 10D
b. 4D and 5D
c. 2D and 3D
d. 1D and 7D

Show Answer ⟶
c. 2D and 3D

19. Cinefx is based on the _______________ technology.
a. Windows
b. Apple
c. Both (a) and (b)
d. Jahshaka

Show Answer ⟶
d. Jahshaka

20. ___________ Offline software is used to create a block buster films.
a. VirtualDub
b. Windows Movie Maker
c. Cinefx
d. Wax

Show Answer ⟶
c. Cinefx

Movie Editing Tools Class 12

21. The software comes under GNU General Public License.
a. Blender
b. VirtualDub
c. MovieStorm
d. All of the above

Show Answer ⟶
d. All of the above

22. __________ software use to creating 3D content.
a. Blender
b. Windows Movie Maker
c. Cinefx
d. T@b ZS4

Show Answer ⟶
a. Blender

23. __________ is used to create cartoons, crime, music, horror videos.
a. Blender
b. Windows Movie Maker
c. T@b ZS4
d. MovieStorm

Show Answer ⟶
d. MovieStorm

24. __________ Software provide lot of keyboard shortcuts to make the job easier.
a. Movica
b. Blender
c. Windows Movie Maker
d. MovieStorm

Show Answer ⟶
a. Movica

25. __________ Software is used to join and split avi files.
a. AVIedit
b. Blender
c. Windows Movie Maker
d. MovieStorm

Show Answer ⟶
a. AVIedit

26. __________ Software provide one-frame-per-minute option.
a. AVIedit
b. Blender
c. Windows Movie Maker
d. MovieStorm

Show Answer ⟶
a. AVIedit

27. For video editing _____________ software is designed to give easy facilities to teachers and students.
a. AVIedit
b. Blender
c. StoryBoard Pro
d. Windows Movie Maker

Show Answer ⟶
c. StoryBoard Pro

28. __________ is a free video editor for fast and lossless AVI editing.
a. Blender
b. Wax
c. AVI Trimmer
d. DVD Knife

Show Answer ⟶
c. AVI Trimmer

29. Zwei-Stien Video Editor is based on ________________ video compositing and editing software.
a. Non-destructive
b. Destructive
c. Both (a) and (b)
d. None of the above

Show Answer ⟶
a. Non-destructive

30. __________ can edit up to 256 video, audio and still image clips, each with up to 64 effects.
a. Zwei-Stien Video Editor
b. Blender
c. Wax
d. Windows Movie Maker

Show Answer ⟶
a. Zwei-Stien Video Editor

Movie Editing Tools Class 12

31. AVITricks Video Editor is based on ________________ video compositing and editing software.
a. Non-destructive
b. Destructive
c. Both (a) and (b)
d. None of the above

Show Answer ⟶
a. Non-destructive

32. _____________ represented clearly 12 and graphically on a timeline and a tree-structure.
a. Blender
b. Wax
c. AVITricks
d. Windows Movie Maker

Show Answer ⟶
c. AVITricks

33. ______________ is a simple tool for extracting DVD clips from your DVD’s.
a. Blender
b. Wax
c. DVD Knife
d. Windows Movie Maker

Show Answer ⟶
c. DVD Knife

34. ____________ Software is used to save the DVD clips in VOB format only.
a. Blender
b. Wax
c. DVD Knife
d. Windows Movie Maker

Show Answer ⟶
c. DVD Knife

35. Mewa Film video editing software is also called ____________ .
a. Blender
b. Montage
c. Wax
d. Windows Movie Maker

Show Answer ⟶
b. Montage

36. Which software use to cutting and assembling videos using “drag and drop” and “rubber band selection”
a. Mewa Film
b. Blender
c. Wax
d. Windows Movie Maker

Show Answer ⟶
a. Mewa Film

37. Windows Movie Maker is divided into three main area
a. Panes, Storyboard/timeline and preview monitor
b. Preview monitor, Digital Cutting and Timeline
c. Both (a) and (b)
d. None of the above

Show Answer ⟶
a. Panes, Storyboard/timeline and preview monitor

38. ___________ includes importing file, editing and publishing movie in Windows Movie Maker.
a. Tasks pane
b. Timeline
c. Storyboard
d. None of the above

Show Answer ⟶
a. Tasks pane

39. We can drag clips, transitions, or effects from the __________ pane.
a. Tasks pane
b. Collections pane
c. Preview pane
d. None of these

Show Answer ⟶
b. Collections pane

Movie Editing Tools Class 12

40. __________ is use to add sequence or ordering of the clips in the project.
a. Storyboard
b. Preview Monitor
c. Collection pane
d. Tasks pane

Show Answer ⟶
a. Storyboard 

41. Where we can add any video effects or video transitions in the Windows Movie Maker.
a. Storyboard
b. Timeline
c. Both (a) and (b)
d. None of the above

Show Answer ⟶
c. Both (a) and (b)

42. __________ provides a more detailed view of our movie project.
a. Storyboard
b. Timeline
c. Both (a) and (b)
d. None of the above

Show Answer ⟶
b. Timeline

43. ___________ enables us to view individual clips or an entire project in the screen.
a. Preview Monitor
b. Story Board
c. TimeLine
d. None of the above

Show Answer ⟶
a. Preview Monitor

44. Windows Movie Maker is provided freely by ____________________________.
a. Google
b. Yahoo
c. Microsoft
d. Gmail

Show Answer ⟶
c. Microsoft

45. ______________ option tells the number of images stored in a album.
a. Images
b. Videos
c. Yahoo
d. Google

Show Answer ⟶
a. Images

46. _________________ are added at the starting of the movie.
a. Images
b. Videos
c. Titles
d. Google

Show Answer ⟶
c. Titles

47. ________________ are added at the end of the movie.
a. Images
b. Videos
c. Credits
d. Titles

Show Answer ⟶
c. Credits

48. ______________ means to emphasize certain effects on movie.
a. Create
b. Overlook
c. Display
d. Overlay

Show Answer ⟶
d. Overlay

49. Which one of the following is not a feature of movie editing tools
a. Video filters
b. Image transitions
c. Text
d. Image transfer

Show Answer ⟶
d. Image transfer

50. _________ is a high performance and flexible video compositing and special effects software.
a. Wax
b. VirtualDB
c. Windows Movie Maker
d. T@b ZS4 Video Editor

Show Answer ⟶
a. Wax

Movie Editing Tools Class 12

Movie Editing Tools Class 12 Notes

51. What is the use of Windows Movie Maker Software?
Answer – Windows Movie Maker is a Non linear video editing software software. Window Movie Maker is included with Windows XP. It is also available for download through Microsoft’s Windows website. Movie Maker enables users to create movies by combining images, video clips, and sounds. To make a movie look more professional, titles, transitions, and effects can be added. Movies made with Windows Movie Maker can also be viewed on computers and video players. These videos can also be shared on the internet.

52. What is the difference between clip and Videos?
Answer – A clip is created by slicing a video into smaller segments. A video file is substantially greater in size than a clip. A video’s time duration is also greater than that of a clip. We can merge several clips to make a single video file. We can quickly build a video by mixing clips in Windows Movie Maker, and we can also divide a video into smaller parts.

53. List the features of Window Movie maker.
Answer – The features of Window Movie Maker are as follows.
a. Simple to Use: It supports a variety of file formats, including.WMY/.WMA/.WAV/.AVI/.MP3 and others.
b. Background Music: You can use this software to add background music to your videos.
b. Crop a Video: Using Windows Movie Maker, you may easily crop a video.
d. Include Subtitles: Videos can be made more clear and appealing by including subtitles.
e. Audio extraction from video.

Movie Editing Tools Class 12

54. Differentiate between title and credits.
Answer – Titles and captions are used to offer text-based information to the movie. Titles are inserted at the beginning of the film, and credits are added at the end.

55. What is a storyboard?
Answer – The storyboard depicts the transitions and visual effects used in the video production process. It is used to explore between video, divide them as needed, and arrange clips in order.


56. Write the steps to export a movie.
Answer – Take the following steps:
a. On the timeline, select the export option.
b. A dialog box with export options displays.
b. Come up with a title for a movie.
d. Select the Save option.
e. In the folder box, select a folder or type a name.
f. Select the folder by clicking on it.
g. Select Settings to add more information.
h. Select the export option.

57. How will you save a movie?
Answer – Take the following steps:
a. Select the file tab.
b. Click the Save Project button.
c. A dialog window for saving project appears.
d. Press the save button.

Employability Skills Class 12 Notes

Employability Skills Class 12 MCQ

Employability Skills Class 12 Questions and Answers

Web Application Class 12

Reference Textbook

The above Movie Editing Tools Class 12 was created using the NCERT Book and Study Material accessible on the CBSE ACADEMIC as a reference.

Your valuable Feedback

Hi Students, Thank you for taking the time to reading Movie Editing Tools Class 12. Please take a few moments and leave your thoughts in the comment box below.

Disclaimer – 100% of the questions are taken from the CBSE textbook Movie Editing Tools Class 12, and our team has tried to collect all the correct Question and Answer from the textbook . If you found any suggestion or any error please contact us anuraganand2017@gmail.com.

CBSE Top 81+ Web Scripting JavaScript Class 12 MCQ

web scripting javascript class 12 mcq

Teachers and Examiners collaborated to create the Web Scripting JavaScript Class 12 MCQ. All the important MCQs are taken from the NCERT Textbook Web Application 803.

Important Web Application Class 12 MCQ ( Subject Code 803 )

Web Scripting JavaScript Class 12

1. JavaScript is an ______________ computer programming language.
a. Compiler
b. Interpreter
c. Assembler
d. None of the above

Show Answer ⟶
b. Interpreter

2. JavaScript is originally implemented to ___________.
a. Control the browser
b. Interact with the user
c. Communicate asynchronously
d. All of the above

Show Answer ⟶
d. All of the above

3. JavaScript was developed in 1995 by___________.
a. Brendan Eich
b. Chalse Babage
c. Sam Eich
d. None of the above

Show Answer ⟶
a. Brendan Eich

4. JavaScript was released in ____________ browser.
a. Firefox
b. Netscape
c. Chrome
d. None of the above

Show Answer ⟶
b. Netscape

5. Initially JavaScript is known as __________.
a. Java
b. LiveScrip
c. C++Script
d. None of the above

Show Answer ⟶
b. LiveScrip

6. Microsoft introduced JavaScript support in its own web browser __________.
a. Firefox
b. Internet Explorer
c. Chrome
d. Safari

Show Answer ⟶
b. Internet Explorer

7. JavaScript is a ____________.
a. Cross – platform
b. Object – oriented
c. Lightweight language
d. All of the above

Show Answer ⟶
d. All of the above

Web Scripting JavaScript Class 12 MCQ

8. What different objects can be supported by JavaScript _________.
a. Array
b. Date
c. Math
d. All of the above

Show Answer ⟶
d. All of the above

9. DOM Stands for __________.
a. Document Object Model
b. Document Object Module
c. Document Other Model
d. None of the above

Show Answer ⟶
a. Document Object Model

10. ECMA stands for ____________.
a. European Computer Manufacturers Association
b. Endues Computer Manufacturers Association
c. East Computer Manufacturers Association
d. None of the above

Show Answer ⟶
a. European Computer Manufacturers Association

11. The users can use JavaScript to add __________.
a. Video Elements
b. Audio Elements
c. Multimedia Elements
d. All of the above

Show Answer ⟶
d. All of the above

12. JavaScript dictionaries can get and set the properties of an object using _______.
a. . (dot Operator)
b. [ ] (Operator)
c. Both a) and b)
d. None of the above

Show Answer ⟶
c. Both a) and b)

13. JavaScript can be used on __________.
a. Client Side
b. Server Side
c. Both a) and b)
d. None of the above

Show Answer ⟶
c. Both a) and b)

14. JavaScript is a ____________.
a. Functional Programming Language
b. Support for Objects
c. Run – time Environment
d. All of the above

Show Answer ⟶
d. All of the above

15. JavaScript is officially managed by __________.
a. Chrome Foundation
b. Mozilla Foundation
c. Microsoft Edge
d. None of the above

Show Answer ⟶
b. Mozilla Foundation

Web Scripting JavaScript Class 12 MCQ

16. JavaScript support ________.
a. Predefined Object
b. User Defined Object
c. Both a) and b)
d. None of the above

Show Answer ⟶
c. Both a) and b)

17. What are the basic rules for writing JavaScript code ____________.
a. JavaScript code is case sensitive
b. White Space between words and tabs are ignored
c. Line breaks are ignored except within a students
d. All of the above

Show Answer ⟶
d. All of the above

18. The <Script> tag alerts a browser, what is a method for writing script in browser?
a. <SCRIPT> </SCRIPT>
b. <SCRIPT language=”JavaScript”></SCRIP>
c. Both a) and b)
d. None of the above

Show Answer ⟶
c. Both a) and b)

19. The comments can be written using __________.
a. // Two forward slashes
b. /// Three forward slashes
c. //// Four forward slashes
d. None of the above

Show Answer ⟶
a. // Two forward slashes

20. JavaScript has a runtime environment console object that can be used to print output ____________.
a. document.write(“Hello world!”);
b. console.log(“Hello world!”);
c. alert(“Hello world!”);
d. None of the above

Show Answer ⟶
b. console.log(“Hello world!”);

21. JavaScript is a simple __________ language invented specifically for use in web browsers to make websites more dynamic.
a. Programming
b. Scripting
c. Assembly
d. None of the above

Show Answer ⟶
b. Scripting

22. JavaScript is supported by ___________ browser.
a. Netscape
b. Internet Explorer
c. Opera
d. All of the above

Show Answer ⟶
d. All of the above

23. Where JavaScript code will be written___________.
a. Same as HTML editor
b. In the database
c. Any software you want
d. None of the above

Show Answer ⟶
a. Same as HTML editor

24. What is the file extension of JavaScript ________.
a. .html
b. .JavaScript
c. .js
d. All of the above

Show Answer ⟶
c. .js

Web Scripting JavaScript Class 12 MCQ

25. The text inside double quotes is called a ________.
a. Number
b. String
c. Double
d. None of the above

Show Answer ⟶
b. String

26. JavaScript code ends with the help of ________.
a. Semicolon
b. Colon
c. Dash
d. None of the above

Show Answer ⟶
a. Semicolon

27. In the JavaScript “object methods” or “properties” we write the object name using ______.
a. $ dolar
b. . dot
c. – dash
d. # hash

Show Answer ⟶
b. . dot

28. How to save and run a JavaScript program?
a. Use any text editor like notepad
b. Save the file extension using .html or .htm
c. Open the file in Web browser
d. All of the above

Show Answer ⟶
d. All of the above

29. What are the different operators present in JavaScript?
a. Arithmetic & Comparison Operator
b. Logical & Relational Operator
c. Assignment & Conditional Operator
d. All of the above

Show Answer ⟶
d. All of the above

30. Give the example of arithmetic operators ________.
a. +, -, *, /
b. %
c. ++, —
d. All of the above

Show Answer ⟶
d. All of the above

31. Give the example of comparison operators ________.
a. ==, !=
b. >, <
c. >=, <=
d. All of the above

Show Answer ⟶
d. All of the above

32. Give the example of logical operators __________.
a. &&
b. ||
c. !
d. All of the above

Show Answer ⟶
d. All of the above

33. Give the example of Bitwise Operators _______.
a. &, |
b. ^, ~
c. <<, >>, >>>
d. All of the above

Show Answer ⟶
d. All of the above

34. Give the example of assignment operator _________.
a. =
b. +=, -=, *=, /=
c. %=
d. All of the above

Show Answer ⟶
d. All of the above

35. Give the example of a conditional operator______.
a. ?:
b. ?;
c. ?-
d. All of the above

Show Answer ⟶
a. ?:

36. A ________ is a classification of the type of data that a variable or object can hold.
a. Operator
b. Data type
c. Data Value
d. All of the above

Show Answer ⟶
. Data type

37. Numbers in JavaScript are double – precision ________ format.
a. 32 – bit
b. 64 – bit
c. 128 – bit
d. None of the above

Show Answer ⟶
b. 64 – bit

38. JavaScript has a built – in object called _________ to handle more advanced mathematical functions and constants.
a. String function
b. Number function
c. Math function
d. None of the above

Show Answer ⟶
c. Math function

Web Scripting JavaScript Class 12 MCQ

39. We can convert a string to an integer using the built – in _________ function.
a. pasreNumber();
b. parseInt();
c. NumString();
d. All of the above

Show Answer ⟶
b. parseInt();

40. In the parseInt special value called NaN is returned if the value is __________.
a. Numeric
b. Non Numeric
c. Both a) and b)
d. None of the above

Show Answer ⟶
b. Non Numeric

41. We can test NaN using the built-in function ________.
a. isNan();
b. isNanNan();
c. empty();
d. isempty();

Show Answer ⟶
a. isNan();

42. __________ is known as sequences of characters.
a. Number
b. String
c. Characters
d. None of the above

Show Answer ⟶
b. String

43. _________ function is used to find the length of a string.
a. “Hello”.length
b. “Hello”.len
c. “Hello”.count
d. “Hello”.counter

Show Answer ⟶
a. “Hello”.length

44. ________ function is used to replace the word from the string.
a. “Hello, world”.exchange(“hello”, “goodbye”)
b. “Hello, world”.replace(“hello”, “goodbye”)
c. “Hello, world”.change(“hello”, “goodbye”)
d. None of the above

Show Answer ⟶
b. “Hello, world”.replace(“hello”, “goodbye”)

45. __________ function is used to convert string to lowercase to uppercase.
a. “hello”.UpperCase()
b. “hello”.toUpperCase()
c. “hello”.changeCase()
d. None of the above

Show Answer ⟶
b. “hello”.toUpperCase()

46. __________ object is used to define non – value.
a. Null
b. None
c. No Value
d. None of the above

Show Answer ⟶
a. Null

47. What will be the output of boolean(234) in the JavaScript.
a. True
b. False
c. NaN
d. None of the above

Show Answer ⟶
a. True

48. New variables in JavaScript are declared using ____ keyword.
a. Variable
b. Variant
c. Var
d. None of the above

Show Answer ⟶
c. Var

49. What are the different looping statements in JavaScript?
a. For Loop
b. While Loop
c. Do-While Loop
d. All of the above

Show Answer ⟶
d. All of the above

Web Scripting JavaScript Class 12 MCQ

50. Give the example of control structures in JavaScript.
a. If structure
b. Else if structure
c. Nested if structure
d. All of the above

Show Answer ⟶
d. All of the above

51. What will be the output of the following
<script>
var age = 19;
var allowed= ( age > 18 )? “Yes” : “No”;
document.write(allowed);
</script>
a. Yes
b. No
c. Both a) and b)
d. None of the above

Show Answer ⟶
a. Yes

52. Comparisons take place between the two using the _______ operator.
a. =
b. ==
c. ===
d. None of the above

Show Answer ⟶
b. ==

53. How you can create an empty object in JavaScript.
a. Var obj = new Object();
b. Var obj = {};
c. Both a) and b)
d. None of the above

Show Answer ⟶
c. Both a) and b)

54. ______ is a special type of object, which can store multiple data in a single variable.
a. Array
b. String
c. Var
d. None of the above

Show Answer ⟶
a. Array

55. How you can declare Array in JavaScript.
a. Var a = new Array();
b. Var a = [“dog”, “cat”, “hen”];
c. Var a = [3];
d. All of the above

Show Answer ⟶
d. All of the above

56. _________ function extracts the characters from a string, between two specified indices.
a. substring()
b. concat()
c. join()
d. pop()

Show Answer ⟶
a. substring()

57. _________ function joins two or more strings in JavaScript.
a. substring()
b. concat()
c. join()
d. pop()

Show Answer ⟶
b. concat()

58. _________ function joins all elements of an array into a string.
a. substring()
b. concat()
c. join()
d. pop()

Show Answer ⟶
c. join()

59. _________ function removes and returns the last item.
a. substring()
b. concat()
c. join()
d. pop()

Show Answer ⟶
d. pop()

Web Scripting JavaScript Class 12 MCQ

60. _________ function adds one or more items to the end.
a. push()
b. reverse()
c. shift()
d. slice()

Show Answer ⟶
a. push()

61. ________ function reverses the order of an element in JavaScript.
a. push()
b. reverse()
c. shift()
d. slice()

Show Answer ⟶
b. reverse()

62. ________ function removes the first element of an array and returns that element.
a. push()
b. reverse()
c. shift()
d. slice()

Show Answer ⟶
c. shift()

63. _______ function returns a sub – array.
a. push()
b. reverse()
c. shift()
d. slice()

Show Answer ⟶
d. slice()

64. _______ function converts numbers in ascending or descending order.
a. sort()
b. splice()
c. unshift()
d. None of the above

Show Answer ⟶
a. sort()

65. ________ function modifies an array by deleting a section and replacing it with more items.
a. sort()
b. splice()
c. unshift()
d. None of the above

Show Answer ⟶
b. splice()

66. ________ function prep ends items to the start of the array.
a. sort()
b. splice()
c. unshift()
d. None of the above

Show Answer ⟶
c. unshift()

Web Scripting JavaScript Class 12 MCQ

67. How can you declare a function in JavaScript?
a. function add(){ }
b. add() { }
c. add function{ }
d. None of the above

Show Answer ⟶
a. function add(){ }

68. The variable declared inside the function is known as ________.
a. Local Variable
b. Global Variable
c. Both a) and b)
d. None of the above

Show Answer ⟶
a. Local Variable

69. The variable declared outside the function is known as _________.
a. Local Variable
b. Global Variable
c. Both a) and b)
d. None of the above

Show Answer ⟶
b. Global Variable

70. Function have access to an additional variable inside their body called _________.
a. Value
b. Arguments
c. Parentheses
d. None of the above

Show Answer ⟶
b. Arguments

71. JavaScript allows reusability, meaning JavaScript can run the same function multiple times it is known as _________.
a. Know function
b. Calling function
c. Declaring function
d. None of the above

Show Answer ⟶
b. Calling function

72. The function declared inside the other function is known as _________.
a. Inner Function
b. Outer Function
c. No Function
d. None of the above

Show Answer ⟶
a. Inner Function

73. How many types of function are given in JavaScript.
a. Predefined
b. Userdefined
c. Both a) and b)
d. None of the above

Show Answer ⟶
c. Both a) and b)

74. The function declared by the user is known as _________.
a. User defined function
b. Predefined function
c. Both a) and b)
d. None of the above

Show Answer ⟶
a. User defined function

75. document.write (); is an example of __________.
a. Userdefined function
b. Predefined function
c. Both a) and b)
d. None of the above

Show Answer ⟶
b. Predefined function

76. What are the different built-In Objects available in JavaScript?
a. String
b. Math
c. Array
d. All of the above

Show Answer ⟶
d. All of the above

77. ________ function used to find the position of the first occurrence of a text in the string.
a. index()
b. indexOf()
c. indexOn()
d. None of the above

Show Answer ⟶
b. indexOf()

78. _______ function used to search the text from the string.
a. match()
b. compair()
c. search()
d. None of the above

Show Answer ⟶
a. match()

79. __________ method returns a number to the nearest integer.
a. round()
b. pow()
c. random()
d. sqrt()

Show Answer ⟶
a. round()

80. _________ method returns a random number in the JavaScript.
a. round()
b. pow()
c. random()
d. sqrt()

Show Answer ⟶
c. random()

81. ________ method returns the number with the highest value.
a. max()
b. min()
c. round()
d. pow()

Show Answer ⟶
a. max()

82. ________ method returns the number with the lowest value.
a. max()
b. min()
c. round()
d. pow()

Show Answer ⟶
b. min()

83. ________ object is used to store multiple values in a single variable.
a. Array
b. Function
c. Math
d. All of the above

Show Answer ⟶
a. Array

Employability Skills Class 12 Questions and Answers

Employability Skills Class 12 Notes

Employability Skills Class 12 MCQ

Employability Skills Class 12 Questions and Answers

Web Application Class 12

Reference Textbook

The above Web Scripting JavaScript Class 12 MCQ was created using the NCERT Book and Study Material accessible on the CBSE ACADEMIC as a reference.

Your valuable Feedback

Hi Students, Thank you for taking the time to reading Web Scripting JavaScript Class 12 MCQ. Please take a few moments and leave your thoughts in the comment box below.

Disclaimer – 100% of the questions are taken from the CBSE textbook Web Scripting JavaScript Class 12 MCQ, and our team has tried to collect all the correct MCQs from the textbook . If you found any suggestion or any error please contact us anuraganand2017@gmail.com.

error: Content is protected !!