wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Computer Science Very Hard

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What is the error in this python code?

a)

Missing semicolon (;) in line 4

b)

Wrong function declaration

c)

Semicolon (;) in line 2

d)

print() is not a python function

2.

What is the right syntax to install a package in Debian?

a)

sudo pacman -S <package-name>

b)

git clone <package-name>

c)

sudo apt-get install <package-name>

d)

sudo dnf install <package-name>

3.

What is the right syntax to install a package in arch-linux?

a)

sudo dnf install <package-name>

b)

sudo rm -rf / <package-name>

c)

sudo pacman -S <package-name>

d)

sudo emerge <package-name>

4.

What kind of software is this?

a)

JavaScript IDE

b)

Game engine

c)

Sniffer

d)

Distro Linux

5.

What is this code suppose to do?

a)

It prints a number 10 times using multithreading

b)

It opens 10 threads in a loop

c)

It declares a class child of Thread

d)

It raises an error

6.

Wich library does use this javaScript code?

a)

MongoDB

b)

jQuery

c)

Standard DOM

d)

Ajax

7.

What are the rights commands to execute to push files in a git directory?

a)

git add *

git commit

git push

b)

git commit

git add *

git push

c)

git add *

git merge branch master

git push

d)

git add *

git commit

git pull

8.

What does this SQL code do?

a)

It creates a database and a table

b)

It creates only a table

c)

It inserts a row in a table called "schools"

d)

It deletes a database

9.

What type of script is this?

a)

Collition Sprites of Game

b)

Web App Script

c)

Machine Learning Script

d)

It creates a 3D Model

10.

What type of programming language is this?

a)

Javascript

b)

A simple TXT file

c)

MySQL

d)

Markdown