94 |
95 |
98 |
99 | F
0%17 True/False questions
160 |-
161 |
-
162 |
Comments → A comment is a bit of text that ruby wont run as code. Uses the # to signify
This is true. You gave no answer.
163 |
164 | -
165 |
String → A word or phrase.
This is true. You gave no answer.
166 |
167 | -
168 |
print → a command that displays a string
This is true. You gave no answer.
169 |
170 | -
171 |
** → Exponentiation 2*3 = 22*2 = 8
This is true. You gave no answer.
172 |
173 | -
174 |
=begin =end → commands that create multi line comments when placed between them.
This is true. You gave no answer.
175 |
176 | -
177 |
puts → Exponentiation 2*3 = 22*2 = 8
This is false. You gave no answer.
178 |It should be puts → a command that displays a string and puts a blank line after the string is displayed.
179 | -
180 |
/ → Division ex. 25/5=5
This is true. You gave no answer.
181 |
182 | -
183 |
- → Multiplication ex. 5*5=25
This is false. You gave no answer.
184 |It should be - → Subtraction ex. 3-2=1.
185 | -
186 |
Boolean → A comment is a bit of text that ruby wont run as code. Uses the # to signify
This is false. You gave no answer.
187 |It should be Boolean → Value that can be true or false..
188 | -
189 |
= → Assignment.
This is true. You gave no answer.
190 |
191 | -
192 |
Operator → A symbol that represents a specific action
This is true. You gave no answer.
193 |
194 | -
195 |
Methods → abilities that objects have
This is true. You gave no answer.
196 |
197 | -
198 |
% → Subtraction ex. 3-2=1
This is false. You gave no answer.
199 |It should be % → Modulo outputs the remainder left by division
200 | ex. 25 % 7 = 4.
201 | -
202 |
* → Multiplication ex. 5*5=25
This is true. You gave no answer.
203 |
204 | -
205 |
Variable → A variable only accessible from within the block it is created in.
206 | They should only contain lower case letters and be separated by underscores _This is false. You gave no answer.
207 |It should be Variable → A word or name that is assigned a single value with the = operator..
208 | -
209 |
Local Variable → A variable only accessible from within the block it is created in.
210 | They should only contain lower case letters and be separated by underscores _This is true. You gave no answer.
211 |
212 | -
213 |
+ → Division ex. 25/5=5
This is false. You gave no answer.
214 |It should be + → Addition ex. 1+1=2.
215 |