adplus-dvertising
frame-decoration

Question

What is the file extension conventionally used for Ruby scripts?

a.

.ruby

b.

.rbs

c.

.script

d.

.rb

Answer: (d)..rb Explanation:Ruby scripts are conventionally saved with the .rb file extension.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the file extension conventionally used for Ruby scripts?

Similar Questions

Discover Related MCQs

Q. What is the purpose of the "puts" command in Ruby?

Q. In Python, why is proper indentation important?

Q. How can you print output in Python?

Q. What is the purpose of the special character "\n" in Perl?

Q. Why is a semicolon used at the end of each Perl command?

Q. Which interpreted language is built into web browsers and commonly used by penetration testers for browser-based exploits?

Q. What HTML tag is used to include JavaScript code in an HTML document?

Q. What does the alert() function do in JavaScript?

Q. In the context of web browsers, why is JavaScript considered a common vector for attacks?

Q. What is a notable characteristic of Python regarding code indentation?

Q. Which command is used to print output in Python?

Q. What is the file extension conventionally used for Python scripts?

Q. In Perl, what does the special character "\n" indicate in a printed string?

Q. What is the purpose of ending every Perl command with a semicolon?

Q. Which interpreted language is built into web browsers and is commonly used for launching browser-based exploits?

Q. How is JavaScript code typically embedded in an HTML document?

Q. What does the "alert()" function do in JavaScript?

Q. In an HTML document, where is JavaScript code inserted for execution?

Q. What is the purpose of the <!DOCTYPE html> declaration in an HTML document?

Q. In the array "ages = [16,15,18,15,16,14,13,17,13,14]," what does the index 0 represent?