WorksheetsGDSC AIKTC Quiz
Total questions: 6
Worksheet time: 80secs
Name
Class
Date
1.
Output of the following C program is:
a)
-3
b)
0
c)
3
d)
Error
2.
Which of the following command is used to know what files are in the directory you are in while using Linux?
a)
cd
b)
rm
c)
pwd
d)
ls
3.
What is the output of the following code:
a)
5
b)
6
c)
7
d)
4
4.
The result of the below given code in python is:
print( "42" + '5')
a)
47
b)
425
c)
42.5
d)
Error
5.
Identify the given programming language using the syntax given below:
cout << "HELLO WORLD" << endl;
a)
Swift
b)
C++
c)
Java
d)
GO
6.
Identify the given programming language using the code given below :
System.out.println(“HELLO WORLD”);
a)
C++
b)
GO
c)
Java
d)
Ruby
100 %
