Giter Site home page Giter Site logo

programming-univbasics-expressions-quiz-sgharms-test-webdev-fund's Introduction

Programming as Conversation 1: Expressions Quiz

???

Programming as Conversation 1: Expressions Quiz

?: The comparison operator == is distinct from the assignment operator = that is used to set a variable equal to a value.

(X) TRUE ( ) FALSE

?: Ruby will treat anything that is false or nil as "falsey"

(X) TRUE ( ) FALSE

?: What does REPL stand for?

(X) read–eval–print loop ( ) ruby-eval-print loop ( ) ruby-expression-print loop ( ) read-expression-print loop

?: puts "hello world” returns:

( ) hello world ( ) "hello world" (X) nil ( ) None of the above.

?: Which symbols are used as the interpolation operator in Ruby?

( ) {} (X) #{} ( ) ${} ( ) None of the above.

?: To escape double-quotes in a string, which symbol is used?

( ) '' ( ) / (X) \ ( ) None of the above.

?: To join a String in Ruby, which symbol is used?

(X) + ( ) ++ ( ) #{} ( ) ''

?: A TypeError occurs when:

( ) You concatenate a Integer with an Integer (X) You concatenate a String with an Integer ( ) You leave off the + symbol ( ) You use mixed double and single quotes in an expression.

?: Which symbol represents exponentiation in programming?

( ) ^ ( ) () (X) ** ( ) *

?: The expression below evaluates to:

3 + 6 * 2

( ) 18 (X) 15 ( ) 11 ( ) 39

???

programming-univbasics-expressions-quiz-sgharms-test-webdev-fund's People

Contributors

drakeltheryuujin avatar

Watchers

Kevin McAlear avatar  avatar  avatar Victoria Thevenot avatar Belinda Black avatar Bernard Mordan avatar raza jafri avatar  avatar Joe Cardarelli avatar Sara Tibbetts avatar The Learn Team avatar Sophie DeBenedetto avatar  avatar Antoin avatar Alex Griffith avatar  avatar Amanda D'Avria avatar  avatar Scott Ungchusri avatar Nicole Kroese  avatar Lore Dirick avatar Kaeland Chatman avatar Lisa Jiang avatar Vicki Aubin avatar Maxwell Benton avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.