0% found this document useful (0 votes)
8 views6 pages

TEST 1 (IT Skills)

The document contains a test consisting of multiple-choice questions that assess IT skills, particularly in programming languages like C and Python, as well as web development concepts including HTML and CSS. Each question presents four options, covering topics such as syntax, data types, functions, and HTML tags. The test aims to evaluate the understanding of fundamental programming and web development principles.

Uploaded by

amrithavarsha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views6 pages

TEST 1 (IT Skills)

The document contains a test consisting of multiple-choice questions that assess IT skills, particularly in programming languages like C and Python, as well as web development concepts including HTML and CSS. Each question presents four options, covering topics such as syntax, data types, functions, and HTML tags. The test aims to evaluate the understanding of fundamental programming and web development principles.

Uploaded by

amrithavarsha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

TEST 1 ( IT skills)

1.​ What does HTML stand for?​


A) Hyperlinks and Text Markup Language​
B) Home Tool Markup Language​
C) Hyper Text Markup Language​
D) Hyper Tool Markup Language​

2.​ What does CSS do on a webpage?​


A) Adds interactivity​
B) Adds structure​
C) Adds style​
D) Connects to database​

3.​ Which symbol is used to end a statement in C?​


A) .​
B) :​
C) ;​
D) ,​

4.​ Which of the following is a programming language?​


A) Chrome​
B) Java​
C) Google​
D) HTML5​

5.​ In C, which keyword is used to take input?​


A) output​
B) input​
C) scanf​
D) write​

6.​ What does printf do in C?​


A) Takes input​
B) Prints output​
C) Defines variables​
D) Ends program​

7.​ Which one is used to store numbers in C?​


A) char​
B) float​
C) int​
D) bool​

8.​ What is the correct extension of a C program file?​


A) .c​
B) .cpp​
C) .py​
D) .java​

9.​ In Python, which symbol is used for comments?​


A) //​
B) /**/​
C) #​
D) --​

10.​ Which of these is used to store text in Python?​


A) int​
B) str​
C) float​
D) bool​
11.​ What is the output of 3 + 2 * 2 in C?​
A) 10​
B) 7​
C) 8​
D) 9​

12.​ What is a loop used for?​


A) Storing data​
B) Running code again and again​
C) Drawing​
D) Closing program​

13.​ What does IDE stand for?​


A) Internal Data Entry​
B) Integrated Development Environment​
C) Interactive Document Editor​
D) Initial Design Execution​

14.​ In Python, what does print("Hi") do?​


A) Take input​
B) Add numbers​
C) Show "Hi"​
D) Close window​

15.​ What is the use of if in programming?​


A) Looping​
B) Decision making​
C) Printing​
D) Closing​

16.​ Which of these is a valid variable name?​


A) 1name​
B) name_1​
C) name-1​
D) name 1​

17.​ What is a function in programming?​


A) A loop​
B) A block that performs a task​
C) A comment​
D) A server​

18.​ Which of the following is NOT a data type?​


A) int​
B) var​
C) char​
D) float​

19.​ Which language is used to style web pages?​


A) C​
B) Java​
C) HTML​
D) CSS​

20.​ What does a compiler do?​


A) Displays images​
B) Edits files​
C) Converts code to machine language​
D) Connects to internet​

21.​ In C, what is main()?​


A) A loop​
B) The start of the program​
C) A header​
D) A comment​

22.​ What symbol is used for “equal to” in conditions?​


A) =​
B) ==​
C) :=​
D) equals​

23.​ Which programming language is known for simplicity?​


A) Python​
B) C++​
C) Assembly​
D) Java​

24.​ What is the output of print(4 > 2) in Python?​


A) 4​
B) True​
C) 2​
D) Error​

25.​ Which of the following is a loop in Python?​


A) if​
B) repeat​
C) for​
D) define​

26.​ What is the result of 10 % 3?​


A) 3​
B) 1​
C) 0​
D) 2​

27.​ In Python, how do you define a list?​


A) {}​
B) ()​
C) []​
D) <>​

28.​ Which keyword is used to define a function in Python?​


A) define​
B) fun​
C) def​
D) function​

29.​ What is int used for?​


A) Text​
B) Decimal​
C) Whole numbers​
D) Images​

30.​ What type of error stops the code from running?​


A) Warning​
B) Syntax error​
C) Hint​
D) Style error​

1.​ What is a website?​


A) A file​
B) A document​
C) A collection of web pages​
D) A software​
2.​ Which tag makes text bold in HTML?​
A) <bold>​
B) <b>​
C) <text>​
D) <stronger>​

3.​ Which tag is used to start a paragraph in HTML?​


A) <br>​
B) <p>​
C) <h1>​
D) <start>​

4.​ What does the <img> tag do?​


A) Makes a list​
B) Adds image​
C) Adds form​
D) Adds video​

5.​ What is the function of <a> in HTML?​


A) Image​
B) Audio​
C) Hyperlink​
D) Video​

6.​ Which of the following is a browser?​


A) Apache​
B) Chrome​
C) HTML​
D) Java​

7.​ What does URL stand for?​


A) User Required Link​
B) Uniform Resource Locator​
C) Unique Reference Locator​
D) Uniform Refer Link​

8.​ HTML is used to:​


A) Design databases​
B) Style text​
C) Create structure of web pages​
D) Write programs​

9.​ Which of these is a correct HTML file extension?​


A) .htl​
B) .html​
C) .hpage​
D) .web​

10.​ To style a web page, we use:​


A) HTML​
B) Java​
C) CSS​
D) SQL​

11.​ Which tag is used to break a line in HTML?​


A) <br>​
B) <lb>​
C) <break>​
D) <new>​
12.​ Which HTML element is used for headings?​
A) <head>​
B) <heading>​
C) <h1>​
D) <top>​

13.​ CSS stands for:​


A) Central Style Sheet​
B) Cascading Style Sheet​
C) Creative Style Sheet​
D) Class Style Sheet​

14.​ Which tag defines an unordered list?​


A) <ul>​
B) <ol>​
C) <li>​
D) <list>​

15.​ What does DNS do?​


A) Sends emails​
B) Hosts websites​
C) Converts names to IP​
D) Styles pages​

16.​ Which HTML tag is used for tables?​


A) <tr>​
B) <table>​
C) <tab>​
D) <data>​

17.​ Which symbol selects a class in CSS?​


A) #​
B) .​
C) *​
D) $​

18.​ Which of the following is used to insert CSS into HTML?​


A) <css>​
B) <style>​
C) <script>​
D) <link-css>​

19.​ What does the alt attribute in <img> do?​


A) Set image size​
B) Add link​
C) Show alternative text​
D) Upload image​

20.​ What does the <title> tag show?​


A) Footer​
B) Page heading​
C) Tab name​
D) Image​

21.​ Which of these is a valid HTML tag?​


A) <h0>​
B) <x>​
C) <div>​
D) <tag>​

22.​ How many heading tags are there in HTML?​


A) 3​
B) 5​
C) 6​
D) 10​

23.​ Which tag creates a text input box?​


A) <input>​
B) <box>​
C) <form>​
D) <text>​

24.​ Which is a block-level element?​


A) <span>​
B) <b>​
C) <div>​
D) <i>​

25.​ To make a numbered list, use:​


A) <ul>​
B) <ol>​
C) <list>​
D) <item>​

26.​ Which of these is NOT a tag?​


A) <body>​
B) <head>​
C) <style>​
D) <page>​

27.​ The <link> tag is used to:​


A) Add image​
B) Add CSS file​
C) Add paragraph​
D) Add JavaScript​

28.​ Which of the following adds color in CSS?​


A) text-color​
B) color​
C) background​
D) color-text​

29.​ Which is used for padding inside a box?​


A) margin​
B) border​
C) padding​
D) align​

30.​ Which of the following is used to run websites?​


A) Compiler​
B) Browser​
C) Terminal​
D) IDE​

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy