Search Header Logo

Project 1 quiz

Authored by Lay Jones

Science, Computers

1st - 2nd Grade

Used 5+ times

Project 1 quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The <br> tag is good to use for layout

TRUE

FALSE

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is Rails' ORM library?

ActiveWear

LightsCameraAction

ActionCable

ActiveRecord

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

If I create a new user on my live website (Heroku), what happens on my localhost version?

It will show up in my local version immediately

It will show up in my local version after I run db:seed and migrate

It won't show up on my local version

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Why should I be careful running db:seed in my production website (Heroku)

It will delete everything any users have made (assuming you are using .destroy_alls)

If you don't run db:migrate first the database will fill itself up with arrays

Because I break everything when I use the terminal

5.

MULTIPLE SELECT QUESTION

20 sec • 1 pt

What does this code do?

Book1.pages << page2

Associates page2 with Book1

checks if Book1 has less pages than page2

Brings back traumatic memories

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does db:migrate actually do?

Clears the cache

Runs all of your migration files in the db/migrate folder

Runs your seed file in db/seeds.rb

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

You can edit your schema.rb file directly

TRUE

FALSE

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?