Martin Richards
Dennis Ritchie
Ken Thompson
Herman Hellorith
<
=
>=
<=
Assignment Relational Arithmetic
Arithmetic Relational Assignment
Relational Arithmetic Assignment
Assignment Arithmetic Relational
PHP 4
PHP 5
PHP 5.3
PHP 6
float
real
int
double
The basic data type of C
Qualifier
Short is the qualifier and int is the basic data type
All of the mentioned
What is the output of the following code?
int a = 10, b = 5;printf("%d", a / b);
5
2
0.5
15
*
+
++
&&
.html
.xml
.php
.ph
Easier to maintain and update
Greater consistency in design
More formatting options.
All of the above
Adobe Dreamweaver
Apache
IIS
2 bytes
4 bytes
8 bytes
1 byte
Creating Style Sheets
Cascading Style Sheets
Computer Style Sheets
Colorful Style Sheets
1
-1
0
What will be the output of the following program?
int main() { int x=5; printf(“%d %d %d”,x,x<<2,x>>2); }
1 20 5
5 1 20
5 20 1
20 1 5
What will be the output of the following pseudo code ?
Integer aSet a =4do print a + 2 a = a-1while (a not equals 0)end while
6 6 6 6
6 5 4 3
6 7 8 9
6 8 10 12
int number;
float rate;
int variable_count;
int $main;
Find the output of following code :
int main() { int i=-2; printf (“-i=%d”,-i); return b; }
–i=2
i=-2
–i=-2
–i=+2
< php >
< ? php ?>
?>
They can contain alphanumeric characters as well as special characters
It is not an error to declare a variable to be one of the keywords(like goto, static)
Variable names cannot start with a digit
Variable can be of any length
Rich Decorations
Faster download times.
Greater consistency in design.
No need to write HTML Tags
char
infomax
info_max
info max
All of these
4
Depends on the system
LowerCase letters
UpperCase letters
CamelCase letters
None of these
What is the output of the following code:
int x = 5;
printf("%d", x++);
6
Undefined
immutable
mutable
const
volatile
What will be the output of the following code?
int a = 10, b = 20;printf("%d", a + b);
30
1020
10+20
Compiler error
Inline CSS
Internal CSS
Embedded CSS
External CSS
&
||
!
Input data
The program does not require any function.
Output data
The program must have at least one function.
results in a syntax error
output Infomax7
outputs garbage
outputs infomax and terminates abruptly
compare two numeric values
combine two numeric values
compare two boolean values
None of the above
System programming language
General purpose language
Data processing language
Some selectors can lead to cross-browser issues
Cannot request a webpage through CSS
Parent Selector tag is always available
Cannot always assure compatibility with every browser
float, double
short int, double, long int
float, double, long double
double, long int, float
long double
far double
scanf()
getch()
getche()
gets()
print("Hello World");
echo("Hello World");
printf("Hello World");
What will be the output of the following code segment?
int x = 24, y = 39, z = 45;z = x + y;y = z - y;x = z - y;printf("\n%d %d %d", x, y, z);
24 39 63
39 24 63
24 39 45
39 24 45
-3.4e38 to 3.4e38
-32767 to 32768
-32668 to 32667
-32768 to 32767
Addition, Division, Modulus
Addition, Modulus, Division
Multiplication, Substration, Modulus
Modulus, Multiplication, Substration
include
Constants
Keywords
Operators
Tokens
int a = 5;printf("%d", a == 5);
getchar()
cin.get()
What will be output if you will compile and execute the following c code?
int main(){ int a=5; float b; printf("%d",sizeof(++a+b)); printf(" %d",a); return 0;}
2 6
4 6
2 5
4 5
int num;
integer num;
num int;
num integer;
main(){ int a, b; a=b=4; b=a++; printf("%d %d %d %d", a++, --b, ++a, b--);}
5 3 7 3
Syntax error
5 4 5 3
6 2 6 4
int my_num = 100,000;
int my_num = 100000;
int my num = 1000;
int $my_num = 10000;