Frage 1
Frage
How can you create an e-mail link?
Frage 2
Frage
colspan=n can be added to only what tag?
Frage 3
Frage
The following elements <header>, <footer>, <article>, <section> are the new elements in HTML5. These elements are called,
Antworten
-
Control attributes
-
Semantic elements
-
Graphic elements
-
Multimedia elements
Frage 4
Frage
Which is not suited for game applications?
Antworten
-
Canvas
-
Svg
-
Both A & B
-
None of the above
Frage 5
Frage
The canvas element has a DOM method it is called.
Antworten
-
getContext
-
getId
-
getElement
-
None of the above
Frage 6
Frage
The default value of "position" attribute is _________.
Antworten
-
inherit
-
relative
-
fixed
-
absolute
Frage 7
Frage
Which css property you will use if you want to add some margin between a border and its inner text ?
Antworten
-
spacing
-
margin
-
padding
-
inner-margin
Frage 8
Frage
p {line-height: 150%;}.
What type of selector is used in this case?
Antworten
-
class Selectors
-
element Selectors
-
id Selectors
-
none of the mentioned
Frage 9
Frage
By applying an ___________ a style can be applied to just a single tag.
Antworten
-
class rule
-
element rule
-
id rule
-
none of the mentioned
Frage 10
Frage
A ___________ is used to define a special state of an element.
Antworten
-
pseudo-tag
-
pseudo-element
-
pseudo-id
-
pseudo-class
Frage 11
Frage
Which of the following JavaScript function of String object returns the character at the specified index?
Antworten
-
charAt()
-
charCodeAt()
-
concat()
-
indexOf()
Frage 12
Frage
What is the correct JavaScript syntax to write "Hello World"?
Antworten
-
System.out.println("Hello World");
-
println ("Hello World");
-
document.write("Hello World");
-
response.write("Hello World");
Frage 13
Frage
Which of the following is not considered a JavaScript operator?
Frage 14
Frage
Which of the looping statements is/are supported by PHP?
i) for loop ii) while loop iii) do-while loop iv) foreach loop
Antworten
-
(i) and (ii)
-
(i), (ii) and (iii)
-
All of the mentioned
-
None of the mentioned
Frage 15
Frage
What will be the output of the following php code
< ?php
$num = 1;
$num1 = 2;
print $num . "+". $num1 ;
?>
Frage 16
Frage
What will be the output of the following code?
< ?php
function track() {
static $count = 0;
$count++;
echo $count ;
}
track();
track();
track();
?>
Frage 17
Frage
PHP scripts are executed on _________
Frage 18
Frage
What will be the output of the following code?
$var = 10;
function fn ()
{
$var = 20;
return $var;
}
fn ();
echo $var;
Antworten
-
10
-
20
-
Undefined Variable
-
Syntax Error
Frage 19
Frage
What will be the output of the following PHP code?
echo 30*5 . 7;
Antworten
-
150.7
-
1507
-
171
-
error will occur
Frage 20
Frage
In your PHP application you need to open a file. You want the application to issue a warning
and continue execution, in case the file is not found. The ideal function to be used is:
Antworten
-
include()
-
require()
-
nowarn()
-
getFile(false)
Frage 21
Frage
Which of the following is used in perl?
Antworten
-
else if
-
elseif
-
elsif
-
elif
Frage 22
Frage
What will be printed by the Perl code below?
my @a = (0, 1, 2);
my $b = @a;
print $b;
Frage 23
Frage
What gets printed in Perl?
my $str = 'a\\b\n';
print $str;
Antworten
-
ab(newline)
-
a\b(newline)
-
a\b\n
-
a\\b(newline)
-
a\\b\n
Frage 24
Frage
What gets printed in Perl?
my $a = '123';
my $b = '0123';
if ($a == $b) {
print "same";
} else {
print "different";
}
Antworten
-
same
-
different
-
the code is ill-formed
Frage 25
Frage
What will the @b array consist of in Perl?
my @a = (10, 5, 1);
my @b = sort @a;
Antworten
-
(1, 5, 10)
-
(10, 5, 1)
-
(1, 10, 5)
-
(5, 10, 1)
-
( )
Frage 26
Frage
What will be printed in Perl?
print 'a';
BEGIN {
print 'b';
}
sub foo {
print 'c';
}
Frage 27
Frage
what does the following python code do?
def a(b, c, d): pass
Antworten
-
defines a list and initializes it
-
defines a function, which does nothing
-
defines a function, which passes its parameters through
-
defines an empty class
Frage 28
Frage
What is the output of the following python code ?
print(type([1,2]))
Antworten
-
<class 'tuple'>
-
<class 'int'>
-
<class 'set'>
-
<class 'dictionary'>
-
<class 'list'>
Frage 29
Frage
what is the output of the below program in python?
a = [1,2,3,None,(),[],]
print(len(a))
Frage 30
Frage
What gets printed in python?
x = 4.5
y = 2
print(x//y)
Frage 31
Frage
What gets printed in Python?
print(r"\nwoow")
Antworten
-
new line then the string: woow
-
the text exactly like this: r"\nwoow"
-
the text like exactly like this: \nwoow
-
the letter r and then newline then the text: woow
-
the letter r then the text like this: nwoow
Frage 32
Frage
What gets printed in Python?
print(0xA + 0xa)
Antworten
-
0xA + 0xa
-
0xA 0xa
-
14
-
20
-
0x20
Frage 33
Frage
What gets printed in Python?
name = "snow storm"
print(name[6:8])
Antworten
-
st
-
sto
-
to
-
tor
-
Syntax Error
Frage 34
Frage
Which numbers are printed in Python?
for i in range(2):
print(i)
for i in range(4,6):
print(i)
Antworten
-
2, 4, 6
-
0, 1, 2, 4, 5, 6
-
0, 1, 4, 5
-
0, 1, 4, 5, 6, 7, 8, 9
-
1, 2, 4, 5, 6
Frage 35
Frage
What gets printed in Python?
x = "foo "
y = 2
print(x + y)
Antworten
-
foo
-
foo foo
-
foo 2
-
2
-
An exception is thrown
Frage 36
Frage
What gets printed in Python?
foo = (3, 4, 5)
print(type(foo))
Antworten
-
<class 'int'>
-
<class 'list'>
-
<class 'tuple'>
-
<class 'dict'>
-
<class 'set'>
Frage 37
Frage
What gets printed in Python?
names = ['Amir', 'Barry', 'Chales', 'Dao']
print(names[-1][-1])
Frage 38
Frage
What gets printed in Python?
numbers = [1, 2, 3, 4]
numbers.append([5,6,7,8])
print(len(numbers))
Antworten
-
4
-
5
-
8
-
12
-
An exception is thrown
Frage 39
Frage
Which of the following data structures in Python can be used with the "in" operator to check if an item is in the data structure?
Antworten
-
list
-
set
-
dictionary
-
All of the above
-
None of the above
Frage 40
Frage
What gets printed in Python?
my_tuple = (1, 2, 3, 4)
my_tuple.append( (5, 6, 7) )
print(len(my_tuple))
Antworten
-
1
-
2
-
5
-
7
-
An exception is thrown
Frage 41
Frage
What gets printed in Python?
x = sum(range(5))
print(x)
Antworten
-
4
-
5
-
10
-
15
-
An exception is thrown
Frage 42
Frage
Which of the following is the way to create comments in PHP?
Antworten
-
// commented code to end of line
-
/* commented code here */
-
# commented code to end of line
-
all of the above
Frage 43
Frage
What gets printed in PHP?
$var = 'false';
if ($var) {
echo 'true';
} else {
echo 'false';
}
Frage 44
Frage
Which of the following is used to declare a constant in PHP?
Antworten
-
const
-
constant
-
define
-
#pragma
-
def
Frage 45
Frage
What gets printed?
<?php
$RESULT = 11 + 011 + 0x11;
echo "$RESULT";
?>
Frage 46
Frage
Which tags are most commonly used by search engines?
Antworten
-
Paragraph
-
Heading
-
Title
-
All of above
Frage 47
Frage
Banners, buttons, dividers, clipart and other simple images usually work best as ?
Frage 48
Frage
Which built-in method returns the character at the specified index?
Antworten
-
characterAt()
-
getCharAt()
-
charAt()
-
None of the above
Frage 49
Frage
var city = new Array("delhi", "agra", "akot", "aligarh","palampur");
console.log(city.pop());
Frage 50
Frage
What does isNaN function do?
Antworten
-
Returns false if the argument is not a number.
-
Returns true if the argument is not a number.
-
Returns true if the argument is a number.
-
None of the above
Frage 51
Frage
CDN stands for_______
Antworten
-
Content Distribution Network
-
Common Distribution Network
-
Collective Distribution Network
-
None of these