Technical Skill Evaluation Test

NAME: ______ROLL NO:______

MOBILE NO: ______CLASS / SEM:______

Objective Questions: (1 mark each)

1.  C Language developed at ______?

a) AT & T's Bell Laboratories of USA in 1972

b) AT & T's Bell Laboratories of USA in 1970

c) Sun Microsystems in 1973

d) Cambridge University in 1972

Ans:

2. For 16-bit compiler allowable range for integer constants is ______?

a) -3.4e38 to 3.4e38

b) -32767 to 32768

c) -32668 to 32667

d) -32768 to 32767

Ans:

3. C programs are converted into machine language with the help of

a) An Editor

b) A compiler

c) An operating system

d) None of these.

Ans:

4. Standard ANSI C recognizes ______number of keywords.

a) 30

b) 32

c) 24

d) 36

Ans:

5. What will be printed after execution of the following program code?

main()

{

printf("\\nab");

printf("\\bsi");

printf("\\rha");

}

a) absiha

b) asiha

c) hai

d) None of these

Ans:

6. Which is the only function all C programs must contain?

a) start()

b) main()

c) printf()

d) getch()

Ans:

7.Find the output of the following program. void main() { int i=01289; printf("%d", i); }

a) 0289

b) 1289

c) 713

d) Syntax error

Ans:

8. What is the difference between a declaration and a definition of a variable?

a) Both can occur multiple times, but a declaration must occur first.

b) A definition occurs once, but a declaration may occur many times.

c) Both can occur multiple times, but a definition must occur first.

d) A declaration occurs once, but a definition may occur many times.

Ans:

9. The keyword used to transfer control from a function back to the calling function is

a) switch

b) goto

c) go back

d) return

Ans:

10.What does HTML stand for?

a) Hyper Text Markup Language

b) Hyperlinks and Text Markup Language

c) Home Tool Markup Language

d) None of these

Ans:

11.Who is making the Web standards?

a) Google

b) Mozilla

c) The World Wide Web Consortium

d) Microsoft

Ans:

12.Choose the correct HTML element for the largest heading:

a) <h6>

b) <head>

c) <heading>

d) <h1>

Ans:

13.What is the correct HTML for adding a background color?

a) <body style="background-color:yellow;">

b) <background>yellow</background>

c) <body bg="yellow">

d) None of these

Ans:

14.What is the correct HTML for creating a hyperlink?

a) <a>http://www.w3schools.com</a>

b) <a url="http://www.w3schools.com">W3Schools.com</a>

c) a href="http://www.w3schools.com">W3Schools</a>

d) <a name="http://www.w3schools.com">W3Schools.com</a>

Ans:

15.How can you open a link in a new tab/browser window?

a) <a href="url" target="_blank">

b) <a href="url" target="new">

c) <a href="url" new>

d) None of these

Ans:

16.How can you make a numbered list?

a) <ul>

b) <dl>

c) <list>

d) <ol>

Ans:

17. What is the correct HTML for making a drop-down list?

a) <select>

b) <input type="list">

c) <list>

d) <input type="dropdown">

Ans:

18.What is the correct HTML for inserting an image?

a) <img src="image.gif" alt="MyImage">

b) <img alt="MyImage">image.gif</img>

c) <img href="image.gif" alt="MyImage">

d) <image src="image.gif" alt="MyImage">

Ans:

19.What is the correct HTML for inserting a background image?

a) <background img="background.gif">

b)<body style="background-image:url(background.gif)">

c)<body bg="background.gif">

d) None of these

Ans:

20.Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed?

a) alt

b) src

c) title

d) longdesc

Ans:

21. What does CSS stand for?

a) Cascading Style Sheets

b) Colorful Style Sheets

c) Computer Style Sheets

d) Creative Style Sheets

Ans:

22.What is the correct HTML for referring to an external style sheet?

a) <style src="mystyle.css">

b) <link rel="stylesheet" type="text/css" href="mystyle.css">

c) <stylesheet>mystyle.css</stylesheet>

d) None of these

Ans:

23. Where in an HTML document is the correct place to refer to an external style sheet?

a) In the <body> section

b) At the end of the document

c) In the <head> section

d) All of Above

Ans:

24. Which HTML attribute is used to define inline styles?

a) style

b) styles

c) class

d) font

Ans:

25.How do you insert a comment in a CSS file?

a) /* this is a comment */

b) ' this is a comment

c) // this is a comment

d) // this is a comment //

Ans:

26.How do you add a background color for all <h1> elements?

a) all.h1 {background-color:#FFFFFF;}

b) h1 {background-color:#FFFFFF;}

c) h1.all {background-color:#FFFFFF;}

d) All are Correct

Ans:

27. How do you display hyperlinks without an underline?

a) a {text-decoration:no-underline;}

b) a {decoration:no-underline;}

c) a {underline:none;}

d) a {text-decoration:none;}

Ans:

28.How do you display a border like this:

a) The top border = 10 pixels

b) The bottom border = 5 pixels

c) The left border = 20 pixels

d) None of these

Ans:

29.The right border = 1pixel?

a) border-width:10px 1px 5px 20px;

b) border-width:10px 5px 20px 1px;

c) border-width:10px 20px 5px 1px;

d) .border-width:5px 20px 10px 1px;

Ans:

30.How do you make a list that lists its items with squares?

a) list: square;

b) list-type: square;

c) list-style-type: square;

d) None of these

Ans:

31.How do you select an element with id "demo"?

a) demo

b) *demo

c) demo

d) #demo

Ans:

32.How do you select all p elements inside a div element?

a) div p

b) div + p

c) div.p

d) none of these

Ans:

33. How do you group selectors?

a) Separate each selector with a plus sign

b) Separate each selector with a comma

c) Separate each selector with a space

d) None of these

Ans:

34.What is the default value of the position property?

a) relative

b) static

c) fixed

d) absolute

Ans:

35. HTML is what type of language ?

a) Scripting Language

b) Markup Language

c) Programming Language

d) Network Protocol

Ans:

36. Fundamental HTML Block is known as ______.

a) HTML Body

b) HTML Tag

c) HTML Attribute

d) HTML Element

Ans:

37. What tag is used to display a picture in a HTML page?

a) picture

b) image

c) img

d) src

Ans:

38. HTML web pages can be read and rendered by ______.

a) Compiler

b) Server

c) Web Browser

d) Interpreter

Ans:

39. Which of the following is not a browser ?

a) Microsofts Bing

b) Netscape Navigator

c) Mozilla Firefox

d) Opera

Ans:

40. Tags and test that are not directly displayed on the page are written in _____ section.

a) <head>

b) <title>

c) <body>

d) <html>

Ans:

Short Description Questions: (2 marks each)

1.  What is difference between object oriented and structured languages?

2.  What do you understand by pointer?

3.  Which do you understand by platform independent language? Which languages are platform independent languages?

4.  What is difference between client side and server side technology?

5.  What is difference between a website and a portal?

Sakaar Microsolutions Pvt Ltd

SCO-211, Second Floor, Defence Colony, Jalandhar – 144 001, Ph: +91 9876881181, +911814618880