0% found this document useful (0 votes)
10 views

unit 2 fsd

Uploaded by

Ãñs Hūl
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

unit 2 fsd

Uploaded by

Ãñs Hūl
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

School of Engineering and Computing

(SOCSE)

Question Bank - Unit no. 2


Program: B.Tech CSE
Course Name: Full Stack Development Course Code: 21BTCS504
Academic year:2024-2025 Sem/Year: V/III

Level A. Easy Questions (2 marks each)


S. No. Questions
Q1 In how many ways can a CSS be integrated into a web page (types of CSS)? CO2

Q2 What is the syntax to link the external style sheet?. CO2

Q3 What is a hyperlink? Explain internal and external hyperlinks CO2

Q4 List 5 features of JavaScript. CO2

Q5 Explain the difference between client side and server-side JavaScript. CO2

Q6 What are different types of variables in JavaScript? CO2

Q7 What is the function of a document.write() method? CO2

Q8 Explain prompt(), confirm (), alert() functions in JavaScript CO2

Q9 What are the different variations of CSS? CO2

Q10 What is a CSS selector? Write name of 5 CSS selectors CO2

Q11 What is the use of CSS Opacity? CO2

Q12 Explain universal selector. CO2

Q13 Name the property for controlling the image repetition of the background with code. CO2

Q14 What is the difference between inline, embedded and external style sheets? CO2
Q15 What is CSS Box model and what are its elements? CO2

Q16 What is the float property of CSS? CO2

Q17 What is the purpose of the z-index and how is it used CO2

Q18 Explain the difference between visibility: hidden and display: none? CO2

Q19 Write Datatypes in JavaScript. CO2

Q20 Explain Min height and Max height property in CSS. CO2

Q21 What does the ‘a’ in rgba mean? CO2

Q22 What are CSS HSL Colors? CO2

Q23 What are the different CSS border properties? CO2

Q24 What does margin: 40px 100px 120px 80px signify? CO2

Q25 What is the difference between margin and padding? CO2

Q26 What are the different CSS link states? CO2

Q27 What are the various positioning properties in CSS? CO2

Q28 What does the CSS float property do? CO2

Q29 What does display: inline-block do? CO2

Q30 How can we make our website responsive using CSS? CO2

Q31 What is CSS flexbox? CO2

Q32 What is typeof operator in JavaScript? Explain with examples. CO2

Q33 What is the difference Between Programming, Scripting, and Markup CO2
Languages

Level B. Intermediate Questions (5 marks each)


Q34 What are CSS backgrounds? list the properties with Syntax? CO2
Q35 How can we format text in CSS? write with Syntex? CO2

Q36 Write JavaScript Program in HTML document to Print the Fibonacci CO2
Sequence.
Q37 What are the key differences between Java and JavaScript? How is JavaScript CO2
different from Java?

Q38 Explain the following function with respect to JavaScript. CO2


a) Substring
b) Unshift ()
c) Concat ()
Q39 Write a function in JavaScript that accept three numbers as arguments and CO2
returns the greatest number then print it.
Q40 Explain the difference between Break and Continue with example. CO2

Q41 Write a code in Java Script to accept a string from the user, the program CO2
should display length of the string, print the string in upper case and print the
first two characters of the string.

Q42 Write a program in JavaScript to print sum of even numbers between 1 to 100 CO2
using for loop.
Q43 Differentiate between prompt () and alert () methods. CO2

Level C. Difficult Questions (10 marks each)


Q44 What is the main difference between var, const, and let? Explain CO2
With program.

Q45 Write code to create the following HTML Form to accept User’s Information as CO2
part of a Magazine Survey:
Q46 Create an external style sheet “style.css” with the following specifications for CO2
the various HTML •

<BODY>:
Background color should be Aqua ()
Foreground color should be Navy () •
<H1>
Should be underlined and center aligned •
<P>
First line should be indented to 60px.
Font-weight should be normal
Write the HTML code to create a link from the HTML document to the
style sheet (style.css). Where in the HTML document should the code be
placed?
Q47 What is difference between Inline-Block, Block, and Inline in CSS. CO2
Explain with proper code.

Q48 In how many ways You can change the font size of an element. Explain with CO2
proper code.
Q49 Create a Horizontal Navigation Menu using CSS. CO2

Q50 Describe the Concept of Flexbox and its advantage over traditional CSS CO2
layouts.

You might also like