Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

PRELIMINARY ROUND

Total questions: 20

Worksheet time: 7mins

Name
Class
Date
1.

1. What type of an AI was Jarvis?

a)

Weak AI

b)

Powerful AI

c)

Strong AI

d)

Soft AI

2.

Which language is commonly used for data preprocessing?

a)

Python

b)

Java

c)

R

d)

C++

3.

Which language has the fastest compilation time?

a)

Java

b)

Python

c)

C#

d)

C++

4.

Which language is usually used to give functionality to a webpage?

a)

Java

b)

C++

c)

JavaScript

d)

Elixir

5.

 Which language/framework provides a cross-platform development in app development?

a)

Flutter

b)

JavaScript

c)

Kotlin

d)

 C#

6.

Which of the following is NOT a cloud platform service?

a)

GCloud

b)

AWS

c)

Azure

d)

Elixir

7.

State the full form of IPS

a)

Intrusion Prevention Systems

b)

Intrusion Pairing Systems

c)

Integrity Pairing Society

d)

Such a term does not exist

8.

Which language is used in over 13 billion devices?

a)

Python

b)

PhP

c)

Java

d)

C++

9.

Which of these is NOT an SQL statement?

a)

DDL

b)

DBL

c)

DCL

d)

DML

10.

The given Query can also be replaced with_______:

SELECT name, course_id  

FROM instructor, teaches  

WHERE instructor_ID= teaches_ID;

a)

Select name,course_id from teaches,instructor where instructor_id=course_id;

b)

Select name, course_id from instructor natural join teaches;

c)

Select name, course_id from instructor;

d)

Select course_id from instructor join teaches;

11.

#include<stdio.h>

   # include<string.h>

   main()

   {

      printf("%d",strcmp("strcmp()","strcmp()"));

   }

a)

0

b)

1

c)

-1

d)

Invalid Use of strcmp() function

12.

 Function fopen() with the mode ‘r+’ tries to open the file for

a)

Reading and Writing

b)

Reading and adding new content

c)

Only for reading

d)

It works only for directories

13.

#include<stdio.h>

int main()

{

   const int i = 0;

    

   printf("%d\n", i++);

   return 0;

}

a)

100

b)

Infinity

c)

0

d)

Return Error

14.

According to ANSI specification, how to declare main() function with command-line arguments?

a)

Int main(int argc, char *argv[])

b)

Int char main(int argc, *argv[])

c)

Int char(*argv argc)

d)

None of the above

15.

#include<stdio.h>

void main()

{

   char *s = "C++";

   

   printf("%s ", s);

   s++;

   printf("%s", s);

}

a)

C++ C++

b)

C++ ++

c)

++ ++

d)

Compilation Error

16.

In Python, which function helps in creating anonymous functions during runtime?

a)

Pi

b)

Anonymous

c)

Lambda

d)

None of the above

17.

Which flavour of Python uses .NET?

a)

Jython

b)

NETPython

c)

Iron Python

d)

DOTPython

18.

 What is the full form of OSI reference model?

a)

Open System Interconnection

b)

Operating System Interconnection

c)

Open Source Internet

d)

None of the above

19.

 What does TCP and UDP stand for respectively?

a)

Transmission Control Protocol and User Datagram Protocol

b)

Transmission Control Protocol and Unified Datagram Protocol

c)

Track Control Protocol and Unified Datagram Protocol

d)

Track Control Protocol and User Datagram Protocol

20.

What is the worst case time complexity for search, insert and delete operations in a general Binary Search Tree?

a)

O(n) for all

b)

O(log n) for all

c)

O(log n) for search and insert, and O(n) for delete

d)

O(log n) for search and O(n) for delete and insert