Font size
WorksheetsFull Stack
Total questions: 104
Worksheet time: 1hrs 18mins
What is the 16-bit compiler allowable range for integer constants?
-3.4e38 to 3.4e38
-32767 to 32768
-32668 to 32667
-32768 to 32767
What will happen when the following code is executed?
void main()
{
printf("MIET");
main();
}
Wrong statement
It will keep on printing MIET
It will print MIET once
None of these
What is the result after execution of the following code if a is 10, b is 5, and c is 10?
if ((a > b) && (a <= c))
a = a + 1;
else
c = c+1;
a = 10, c = 10
a = 11, c = 10
a = 10, c = 11
a = 11, c = 11
Which one of the following is a loop construct that will always be executed once?
for
while
switch
do while
Directives are translated by the
Pre-processor
Compiler
Linker
Editor
Which of the following will copy the null-terminated string that is in array src into array dest?
dest = src;
dest == src;
strcpy(dest, src);
strcpy(src, dest);
What will the result of 'num' variable after execution of the following statements?
int num = 58;
num % = 11;
3
5
8
11
What will the result of num1 variable after execution of the following statements?
int j = 1, num1 = 4;
while (++j <= 10)
{
num1++;
}
11
12
13
14
What will be the output of the following code?
#include <stdio.h>
int main()
{
int *ptr, a = 10;
ptr = &a;
*ptr += 1;
printf("%d,%d/n", *ptr, a);
}
10, 10
10, 11
11, 10
11, 11
Give the following declarations and an assignment statement. Which one is equivalent to the expression str [4]?
char str[80];
char * p;
p = str;
p + 4
*p + 4
*(p + 4)
p[3]
Javascript is _________ language.
Programming
Scripting
Application
applet
JavaScript is ______ Side Scripting Language.
JSP
Servlet
Server
Browser
JavaScript is designed for following purpose -
To Style HTML Pages
To Perform Server Side Scripting Opertion
To add interactivity to HTML Pages.
To Execute Query Related to DB on Server
JavaScript is can be written -
directly into JS file and included into HTML
directly into HTML pages
directly on the Server Script
None of these
JavaScript is an ________ language.
compiled
interpreted
JavaScript Code is written inside file having extension __________.
.jsc
.jvs
.js
.javascript
Why JavaScript is called as Lightweight Programming Language ?
because JS can provide programming functionality inside but up to certain extend.
because JS is client side scripting
because JS is available free of cost.
because we can add programming functionality inside JS
Local Browser used for validations on the Web Pages uses __________.
HTML
CSS
js
java
JavaScript Code can be called by using _________.
RMI
Function / Method
Triggering Event
Preprocessor
Is this correct syntax to include JS Code inside HTML Page ?
<script type="text/javascript">
...
</script>
Yes
No
We cannot Place JS Code in the body tag . Say true/false.
True
False.
Change the border size of the body or image
border-style
border-width
border-color
width
To create a dotted border around the page
border-style
border-width
border-color
width
sets the color of words in a paragraph
h1 {
color: pink;
}
img {
color: pink;
}
body {
color: pink;
}
p {
color: pink;
}
What does a class do?
adds color to words
adds style to specific elements
adds style to a whole page
adds a lot more work
Select the rule set to make all the text in your web page blue and centered.
p {
color: blue;
}
body {
text-align: left;
color: blue;
}
p {
text-align: center;
color: blue;
}
body {
text-align: center;
color: blue;
}
Which rule set would change the font size to 24?
font-size: 24
size: 24;
font-size: 24;
font size: 24;
What is the correct syntax to change the background color with css?
background-color: purple;
background-color = "purple";
backgroundcolor=orange
change-background-color: purple
Where should you put the link tag to connect your CSS and HTML file?
Between the <head> </head> in HTML
Between the <body> </body> in HTML
None of the above.
Which of the following is the correct CSS link tag?
<link rel="styles" href="stylesheet.css">
<link href="stylesheet">
<link rel="stylesheet" src="styles.css">
<link rel="stylesheet" href="styles.css">
p {color: red;}
HTML stands for...
Hyper Time Multiple Language
Hyper Text Mark-up Language
Hippo T-Rex Mascot Lemur
Hipper Text Make Language
Which is the proper way to write an h1 tag
<h1>Hello</h1>
<h1>"Hello
{h1}Hello{/h1}
<h1>Hello<h1>
<p> tag is for...
Page of Text
Picture
Paragraph of text
Pineapples
What does a opening tag look like?
< >
</ >
<< >>
<
What does a closing tag look like?
< >
<\ >
</ >
<< >>
What should a HTML web page start with?
<b>
<li>
<html>
<start>
What should a HTML web page end with?
</html>
<head>
</end>
</body>
What does this tag stand for? <b>
bright
big
beautiful
bold
Which of the following codes would create a horizontal line
<br>
<h1></h1>
<hr>
<p>
src attribute in an image tag means what?
Source of the image
Name of the image
Description of the image
Not used with image tag
Which list tag would you use for an ordered list
<h1></h1>
<ol></ol>
<ul></ul>
<a></a>
When working with color codes RGB stands for...
Green Red Purple
Red Great Blue
Red Green Blue
Blue Green Raspberry
Which of the tag is used to create a numbered list?
<L> </L>
<LI> </LI>
<li> </lo>
<ol> </ol>
Web pages starts with which of the following tag?
<form>
<HTML>
<body>
<Title>
<p> is the opening tag for a _____________
page
paragraph
preorder
period
</p>
Group of webpages is called _____.
Website
Web browser
Web Search engine
None of the above
In a form, a drop-down list of options
begins with a select tag followed by a list of option tags.
begins with an option tag followed by a list of select tags.
begins with a select tag followed by a list of datalist tags.
begins with a datalist tag followed by a let of option tags.
How more than one option can be selected in drop down?
Use of multiple attribute inside <option> tag.
Use of multiple attribute inside <select> tag.
Use of multiple attribute inside <text> tag.
It is not possible to select more than one option in drop down.
Which portion of this tag is the text that will show up if there is a problem with my photo link?
<img src="cat.jpeg" alt="cat jumping"/>
img src=
cat.jpeg
cat jumping
alt=
<input type="___________" name="gender" value="male"> Male
<input type="___________" name="gender" value="female">Female
(Fill the type of input which used to select just one option.)
(a)
Look at this series: 201, 202, 204, 207, ... What number should come next?
205
208
210
211
Look at this series: 544, 509, 474, 439, ... What number should come next?
404
414
420
445
9 16 23 30 37 44 51
59 66
56 62
58 66
58 65
54 61
In a certain code, HARYANA is written as 8197151, how is DELHI written in that code?
45389
57389
89654
12547
If in a code language. COULD is written as BNTKC and MARGIN is written as LZQFHM, how will MOULDING be written in that code?
CHMFINTK
LNKTCHMF
LNTKCHMF
NITKHCMF
In a certain code, MONKEY is written as XDJMNL. How is TIGER written in that code?
QDFHS
SDFHS
SDFHS
UJHFS
Direction
Study the data given below and answer the following questions:
‘Royal Monarch Regal’ is written as @ # *,
‘Regal legacy Gold’ is written as * % ?,
‘Hope Gold Life’ is written as % & $,
‘Regal Monarch Morals’ is written as # * ∀
Q. What will be the code for Regal?
%
*
$
#
?
Direction
Study the data given below and answer the following questions:
‘Royal Monarch Regal’ is written as @ # *,
‘Regal legacy Gold’ is written as * % ?,
‘Hope Gold Life’ is written as % & $,
‘Regal Monarch Morals’ is written as # * ∀
Q. What will be the code for “Gold Legacy”?
# &
% #
? %
* ∀
& $
Direction-
Study the data given below and answer the following questions:
‘Royal Monarch Regal’ is written as @ # *,
‘Regal legacy Gold’ is written as * % ?,
‘Hope Gold Life’ is written as % & $,
‘Regal Monarch Morals’ is written as # * ∀
Q. Which word is coded as #?
Moral
Life
Regal
Monarch
Legacy
Direction
Study the data given below and answer the following questions:
‘Royal Monarch Regal’ is written as @ # *,
‘Regal legacy Gold’ is written as * % ?,
‘Hope Gold Life’ is written as % & $,
‘Regal Monarch Morals’ is written as # * ∀
Q. In the given coded language, which of the following words has been coded as &?
Gold
Life
Hope
Either ‘2’ or ‘3’
None of the above
Direction -
Study the data given below and answer the following questions:
‘Royal Monarch Regal’ is written as @ # *,
‘Regal legacy Gold’ is written as * % ?,
‘Hope Gold Life’ is written as % & $,
‘Regal Monarch Morals’ is written as # * ∀
Q. What is the code for royal?
%
@
?
*
∀
If A + B means A is the mother of B; A - B means A is the brother B; A % B means A is the father of B and A x B means A is the sister of B, which of the following shows that P is the maternal uncle of Q?
Q - N + M x P
P + S x N - Q
P - M + N x Q
Q - S % P
Introducing a boy, a girl said, "He is the son of the daughter of the father of my uncle." How is the boy related to the girl?
Brother
Nephew
Uncle
Son-in-law
Introducing Sonia, Aamir says, "She is the wife of only nephew of only brother of my mother." How Sonia is related to Aamir?
Wife
Sister
Sister-in-law
Data is inadequate
Introducing a boy, a girl said, "He is the son of the daughter of the father of my uncle." How is the boy related to the girl?
Brother
Nephew
Uncle
Son-in-law
Introducing Sonia, Aamir says, "She is the wife of only nephew of only brother of my mother." How Sonia is related to Aamir?
Wife
Sister
Sister-in-law
Data is inadequate
Direction -
Five girls are sitting on a bench to be photographed. Seema is to the left of Rani and to the right of Bindu. Mary is to the right of Rani. Reeta is between Rani and Mary.
Q. Who is sitting immediate right to Reeta?
Bindu
Rani
Mary
Seema
Direction -
Five girls are sitting on a bench to be photographed. Seema is to the left of Rani and to the right of Bindu. Mary is to the right of Rani. Reeta is between Rani and Mary.
Q. Who is in the middle of the photograph ?
Bindu
Rani
Reeta
Seema
Direction -
Five girls are sitting on a bench to be photographed. Seema is to the left of Rani and to the right of Bindu. Mary is to the right of Rani. Reeta is between Rani and Mary.
Q. Who is second from the right ?
Mary
Rani
Reeta
Bindu
Direction -
Five girls are sitting on a bench to be photographed. Seema is to the left of Rani and to the right of Bindu. Mary is to the right of Rani. Reeta is between Rani and Mary.
Q. Who is second from the left in photograph ?
Reeta
Mary
Bindu
Seema
(a)
a
b
c
d
There was a plane crash, every single person died then who survived
(a)
1
2
3
a
b
c
d
a
b
c
d
1
2
3
4
(a)
What comes once in a minute, twice in a moment and never in a thousand years
(a)
In this room two people go in and three come out, what am I ?
(a)
a
b
c
d
(a)
