Deck 11: Ruby on Rails Web Development

ملء الشاشة (f)
exit full mode
سؤال
The official Ruby on Rails website is located at http://www.myruby.com .
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
When Ruby on Rails is installed on your computer, so is a small web server called WEBrick, which you use as your Ruby on Rails development environment.
سؤال
SQLite is a low cost database management system, which you can download and install for a small fee.
سؤال
Most application code is contained in its controllers.
سؤال
Models are implemented via Ruby on Rails' Active Record library.
سؤال
By default, all Ruby on Rails applications are configured to work with the SQLite database management system.
سؤال
One limitation of Ruby on Rails applications is that they are limited to a small subset of supported database management systems.
سؤال
The easiest way to download and install SQLite is to use RubyGems.
سؤال
The MVC architecture facilitates DRY programming and keeps the programming logic that controls application execution separate from the programming logic that manages the presentation of data.
سؤال
By applying the principle of DRY, Ruby on Rails applications are created based on a set of assumptions and common standards, that result in general-purpose applications that can be further customized as necessary.
سؤال
Ruby on Rails uses models to process data and manage the flow of data communication with web browsers.
سؤال
The Ruby on Rails framework is a collection of programs that provides everything needed to develop database-driven web applications.
سؤال
By applying the principle of Convention Over Configuration, Ruby on Rails applications are designed based on the idea that you should avoid writing the same program code more than once within a web application.
سؤال
Views are responsible for performing data validation.
سؤال
Views are programs responsible for an application's user interface, presenting data in a predefined format.
سؤال
Active Record provides Ruby on Rails with database independence, allowing it to work with all major database management systems.
سؤال
Ruby on Rails includes a collection of scripts used to automate the creation of web-based applications.
سؤال
The Action View library defines presentation templates that are used in displaying data.
سؤال
Models are Ruby on Rails programs that manage the relationship between controllers and the application's database
سؤال
One limitation of Ruby on Rails is that you cannot customize its applications after they have been created.
سؤال
____ are programs responsible for an application's user interface, presenting data in a predefined format.

A) Views
B) Models
C) Controllers
D) Records
سؤال
You can customize a Ruby on Rails application in a variety of ways, including which of the following?

A) Edit your application's HTML code
B) Modify the CSS style sheets to alter the application's appearance
C) Change the application's database management system
D) All of the above
سؤال
The MVC architecture facilitates the ____ principle by keeping the programming logic that controls application execution separate from the programming logic that manages the presentation of data.

A) Convention over Configuration
B) Restful
C) DRY
D) Stateful
سؤال
The easiest way to install Ruby on Rails on a computer running Windows is through the fxri-interactive Ruby and Help Console.
سؤال
Railties provide a framework for adding email services to Ruby on Rails applications, enabling applications to send email and receive email.
سؤال
____ tie together different models and views, processing application input and output.

A) Models
B) Views
C) Controllers
D) Records
سؤال
____ provides a framework for adding email services to Ruby on Rails applications, enabling applications to send email and receive email.

A) Action Mailer
B) Active Resource
C) Railties
D) Active Support
سؤال
Ruby on Rails is built on a MVC architecture, which organizes your applications into which three primary components?

A) Models, views, and controllers
B) Models, views and containers
C) Makers, views, and controllers
D) Markers, view, and containers
سؤال
____ are Ruby on Rails programs that manage the relationship between controllers and the application's database.

A) Views
B) Models
C) Controllers
D) Records
سؤال
To work with Ruby on Rails, you need a basic understanding of which of the following?

A) HTML
B) Cascading style sheets (CSS)
C) Database management systems
D) All of the above
سؤال
The data displayed by a view is updated based on the actions of ____.

A) Views
B) Models
C) Controllers
D) Records
سؤال
Active Resource manages the connections between application objects and database tables, mapping local application objects to web resources.
سؤال
Railties provide the program code (help scripts) that actually creates Ruby on Rails applications and ties everything together.
سؤال
Which of the following commands can be used to keep Ruby on Rails up to date?

A) gem update
B) gem update rails
C) gem get rails
D) rubygem update rails
سؤال
Which of the following commands is used to start the WEBrick web server?

A) script/start
B) start/script
C) script/server
D) script/webrick
سؤال
Controllers are Ruby on Rails programs that manage the relationship between models and an application's database.
سؤال
Views are implemented via Ruby on Rails' ____ library, which defines presentation templates that are used in displaying data.

A) Action View
B) Active Record
C) Action Controller
D) Action Record
سؤال
Which of the following URLs can be used to access your computer's locally installed web server?

A) http://127.0.0.1:3000
B) http://127.0.0.0:2000
C) http://127.1.1.1.3000
D) http://127.0.0.1:1000
سؤال
____ Manages the connections between application objects and database tables, mapping local application objects to web resources.

A) Action Mailer
B) Active Resource
C) Railties
D) Active Support
سؤال
____ help maintain a separation between an application's programming logic and the presentation of its data.

A) Views
B) Models
C) Controllers
D) Records
سؤال
To determine if Ruby Gems is installed, issue the command ____.

A) gem -i
B) gem -v
C) gem -r
D) RubyGems -v
سؤال
The WEBrick web server monitors which of the following ports?

A) 1000
B) 2000
C) 3000
D) 5000
سؤال
____ is a library of classes used by Ruby on Rails programs.

A) Action Mailer
B) Active Resource
C) Railties
D) Active Support
سؤال
Ruby on Rails works with which of the following types of database management systems?

A) SQLite
B) MySQL
C) Oracle
D) All of the above
سؤال
____ is a Ruby script that creates a Ruby on Rails project, including its directory structure and its core application files.

A) rails
B) reals
C) RubyGems
D) gems
سؤال
____ is a small database management system that is automatically installed on Mac OS X 10.5 machines.

A) MySql
B) Oracle
C) DB2
D) SQLite
سؤال
Ruby on Rails can work with any web server. In addition, it comes with its own web server named ____.

A) WEBrick
B) Webserver
C) Apache
D) WEBsvr
سؤال
____ provides the program code (help scripts) that actually creates Ruby on Rails applications and ties everything together.

A) Action Mailer
B) Active Resource
C) Railties
D) Active Support
سؤال
____ automates the download and installation of Ruby on Rails programs and related development software tools.

A) RubyInstaller
B) Gems
C) RubyGems
D) RubyMgr
سؤال
____ is a database management system, used by Ruby on Rails by default, which is easily installed using RubyGems.

A) SQLite
B) MySQL
C) Oracle
D) All of the above
سؤال
Almost every Ruby on Rails application involves the storage and retrieval of information using a ____.

A) web server
B) database
C) log file
D) data file
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/51
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 11: Ruby on Rails Web Development
1
The official Ruby on Rails website is located at http://www.myruby.com .
False
2
When Ruby on Rails is installed on your computer, so is a small web server called WEBrick, which you use as your Ruby on Rails development environment.
True
3
SQLite is a low cost database management system, which you can download and install for a small fee.
False
4
Most application code is contained in its controllers.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
5
Models are implemented via Ruby on Rails' Active Record library.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
6
By default, all Ruby on Rails applications are configured to work with the SQLite database management system.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
7
One limitation of Ruby on Rails applications is that they are limited to a small subset of supported database management systems.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
8
The easiest way to download and install SQLite is to use RubyGems.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
9
The MVC architecture facilitates DRY programming and keeps the programming logic that controls application execution separate from the programming logic that manages the presentation of data.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
10
By applying the principle of DRY, Ruby on Rails applications are created based on a set of assumptions and common standards, that result in general-purpose applications that can be further customized as necessary.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
11
Ruby on Rails uses models to process data and manage the flow of data communication with web browsers.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
12
The Ruby on Rails framework is a collection of programs that provides everything needed to develop database-driven web applications.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
13
By applying the principle of Convention Over Configuration, Ruby on Rails applications are designed based on the idea that you should avoid writing the same program code more than once within a web application.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
14
Views are responsible for performing data validation.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
15
Views are programs responsible for an application's user interface, presenting data in a predefined format.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
16
Active Record provides Ruby on Rails with database independence, allowing it to work with all major database management systems.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
17
Ruby on Rails includes a collection of scripts used to automate the creation of web-based applications.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
18
The Action View library defines presentation templates that are used in displaying data.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
19
Models are Ruby on Rails programs that manage the relationship between controllers and the application's database
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
20
One limitation of Ruby on Rails is that you cannot customize its applications after they have been created.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
21
____ are programs responsible for an application's user interface, presenting data in a predefined format.

A) Views
B) Models
C) Controllers
D) Records
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
22
You can customize a Ruby on Rails application in a variety of ways, including which of the following?

A) Edit your application's HTML code
B) Modify the CSS style sheets to alter the application's appearance
C) Change the application's database management system
D) All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
23
The MVC architecture facilitates the ____ principle by keeping the programming logic that controls application execution separate from the programming logic that manages the presentation of data.

A) Convention over Configuration
B) Restful
C) DRY
D) Stateful
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
24
The easiest way to install Ruby on Rails on a computer running Windows is through the fxri-interactive Ruby and Help Console.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
25
Railties provide a framework for adding email services to Ruby on Rails applications, enabling applications to send email and receive email.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
26
____ tie together different models and views, processing application input and output.

A) Models
B) Views
C) Controllers
D) Records
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
27
____ provides a framework for adding email services to Ruby on Rails applications, enabling applications to send email and receive email.

A) Action Mailer
B) Active Resource
C) Railties
D) Active Support
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
28
Ruby on Rails is built on a MVC architecture, which organizes your applications into which three primary components?

A) Models, views, and controllers
B) Models, views and containers
C) Makers, views, and controllers
D) Markers, view, and containers
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
29
____ are Ruby on Rails programs that manage the relationship between controllers and the application's database.

A) Views
B) Models
C) Controllers
D) Records
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
30
To work with Ruby on Rails, you need a basic understanding of which of the following?

A) HTML
B) Cascading style sheets (CSS)
C) Database management systems
D) All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
31
The data displayed by a view is updated based on the actions of ____.

A) Views
B) Models
C) Controllers
D) Records
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
32
Active Resource manages the connections between application objects and database tables, mapping local application objects to web resources.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
33
Railties provide the program code (help scripts) that actually creates Ruby on Rails applications and ties everything together.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
34
Which of the following commands can be used to keep Ruby on Rails up to date?

A) gem update
B) gem update rails
C) gem get rails
D) rubygem update rails
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
35
Which of the following commands is used to start the WEBrick web server?

A) script/start
B) start/script
C) script/server
D) script/webrick
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
36
Controllers are Ruby on Rails programs that manage the relationship between models and an application's database.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
37
Views are implemented via Ruby on Rails' ____ library, which defines presentation templates that are used in displaying data.

A) Action View
B) Active Record
C) Action Controller
D) Action Record
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
38
Which of the following URLs can be used to access your computer's locally installed web server?

A) http://127.0.0.1:3000
B) http://127.0.0.0:2000
C) http://127.1.1.1.3000
D) http://127.0.0.1:1000
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
39
____ Manages the connections between application objects and database tables, mapping local application objects to web resources.

A) Action Mailer
B) Active Resource
C) Railties
D) Active Support
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
40
____ help maintain a separation between an application's programming logic and the presentation of its data.

A) Views
B) Models
C) Controllers
D) Records
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
41
To determine if Ruby Gems is installed, issue the command ____.

A) gem -i
B) gem -v
C) gem -r
D) RubyGems -v
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
42
The WEBrick web server monitors which of the following ports?

A) 1000
B) 2000
C) 3000
D) 5000
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
43
____ is a library of classes used by Ruby on Rails programs.

A) Action Mailer
B) Active Resource
C) Railties
D) Active Support
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
44
Ruby on Rails works with which of the following types of database management systems?

A) SQLite
B) MySQL
C) Oracle
D) All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
45
____ is a Ruby script that creates a Ruby on Rails project, including its directory structure and its core application files.

A) rails
B) reals
C) RubyGems
D) gems
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
46
____ is a small database management system that is automatically installed on Mac OS X 10.5 machines.

A) MySql
B) Oracle
C) DB2
D) SQLite
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
47
Ruby on Rails can work with any web server. In addition, it comes with its own web server named ____.

A) WEBrick
B) Webserver
C) Apache
D) WEBsvr
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
48
____ provides the program code (help scripts) that actually creates Ruby on Rails applications and ties everything together.

A) Action Mailer
B) Active Resource
C) Railties
D) Active Support
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
49
____ automates the download and installation of Ruby on Rails programs and related development software tools.

A) RubyInstaller
B) Gems
C) RubyGems
D) RubyMgr
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
50
____ is a database management system, used by Ruby on Rails by default, which is easily installed using RubyGems.

A) SQLite
B) MySQL
C) Oracle
D) All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
51
Almost every Ruby on Rails application involves the storage and retrieval of information using a ____.

A) web server
B) database
C) log file
D) data file
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 51 في هذه المجموعة.