wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Computer Programming Languages

Total questions: 17

Worksheet time: 12mins

Name
Class
Date
1.

What are programming languages that link to each other?

a)

JavaScript

b)

HTML

c)

CSS

d)

R

e)

Python

2.

The (a)   language cooperates with CSS and JavaScript to make websites.

3.

Which of these programming languages is for developing both desktop and web applications?

a)

Python

b)

JS

c)

Java

d)

R

4.

If I were to create an application, which 2 languages would I use?

a)

SQL

b)

Python

c)

JS

d)

HTML/CSS

5.

The language that has 6 primitives, is in the following. Which one is it?

a)

Python

b)

JavaScript

c)

HTML/CSS

d)

R

6.

(a)   is most used for building web applications. However, it is a general-purpose language similar to Python, so it has many other applications like data analysis, prototyping, and proof of concepts.

7.

Which languages do you prefer?

a)

Ruby

b)

JS

c)

Python

d)

HTML

e)

Other....

8.

The following block for loop is for the _ programming language:

x <- c(2,5,3,9,8,11,6)

count <- 0

for (val in x) {

if(val %% 2 == 0) count = count+1

}

print(count)

(a)  

9.

A famous database language is (a)  

10.

The language that creates webpages and has cooperates with JS is.....

a)

JS

b)

HTML

c)

CSS

d)

Python

11.

A brief description for Python is....

a)

Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Python's simple, easy to learn syntax emphasizes readability and therefore reduces the cost of program maintenance. Python supports modules and packages, which encourages program modularity and code reuse.

b)

Python is used to create databases and store information for apps, and uses clauses like SELECT and CREATE TABLE

c)

Python is used to animate webpages, make drawing and animations, make simple games, and has 6 primitives.

12.

Choose the languages that can make some sort of application.

a)

SQL

b)

JS

c)

Python

d)

Ruby

e)

HTML

13.

If I were to create a web application, what 2 languages may I use?

a)

Ruby

b)

Python

c)

CSS

d)

JS

e)

SQL

14.

The whole point of those (a)   languages, is to create future apps in the web.

15.

Which of these is a general purpose language?

a)

JS

b)

Ruby

c)

HTML

d)

JS

16.

The following code is Python:

dec = 344


print("The decimal value of", dec, "is:")

print(bin(dec), "in binary.")

print(oct(dec), "in octal.")

print(hex(dec), "in hexadecimal.")

a)

True

b)

False

17.

The following code is R:

def get_numbers_stack(list) stack = [[0, []]] output = [] until stack.empty? index, taken = stack.pop next output << taken if index == list.size stack.unshift [index + 1, taken] stack.unshift [index + 1, taken + [list[index]]] end output end

a)

True

b)

False