MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Computer Science
R Programming
Quiz 2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Q.1
To execute the line of source code ins script editor where the cursor currently resides you press the________
Ctrl +T
Ctrl + enter
Ctrl +R
Ctrl + Shift + enter
Q.2
________is used for comments
%
#
-
\\
Q.3
The following code is R:def get_numbers_stack(list) stack = [[[]]] output = [] until stack.empty? index, taken = stack.pop next output << taken if index == list.size stack.unshift [index +taken] stack.unshift [index +taken + [list[index]]] end output end
True
False
Q.4
The following code is Python:dec = 344print("The decimal value of", dec, "is:")print(bin(dec), "in binary.")print(oct(dec), "in octal.")print(hex(dec), "in hexadecimal.")
True
False
Q.5
Which of these is a general purpose language?
JS
Ruby
HTML
JS
Q.6
The whole point of those ___________ languages, is to create future apps in the web.
php
programming
Java
None of these
Q.7
If I were to create a web application, what 2 languages may I use?
SQL, Ruby
Ruby, Python
Python, CSS
Ruby, JS
Q.8
A brief description for Python is....
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.
Python is used to create databases and store information for apps, and uses clauses like SELECT and CREATE TABLE
Python is used to animate webpages, make drawing and animations, make simple games, and has 6 primitives.
Q.9
The language that creates webpages and has cooperates with JS is.....
JS
HTML
CSS
Python
Q.10
A famous database language is ___
MongoDB
SQL
Redis
All Of above
Q.11
The language that has 6 primitives, is in the following. Which one is it?
Python
JavaScript
HTML/CSS
R
Q.12
____ 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.
CSS
Ruby
Js
None of these
Q.13
Which languages do you prefer?
Ruby
JS
Python
HTML
Other....
Q.14
Which of these programming languages is for developing both desktop and web applications?
Python
JS
Java
R
Q.15
InR was created by Ross Ihaka and Robert Gentleman in the Department of Statistics at the University of _________.
Auckland
Harvard
California
John Hopkins
Q.16
Command lines entered at the console are limited to about ________ bytes
4095
4096
4097
4098
Q.17
How many types of R objects are present in R data type?
4
5
6
7
Q.18
Which function is used to create the vector with more than one element?
Library()
plot()
c()
par()
Q.19
In R every operation has a ______call?
System
Function
None of the above
Q.20
R allows integration with the procedures written in the?
C
Ruby
Java
Basic
0 h : 0 m : 1 s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)
Support mcqgeeks.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page