0

web technology Online Quiz - 69

Description: web technology Online Quiz - 69
Number of Questions: 20
Created by:
Tags: web technology
Attempted 0/20 Correct 0 Score 0

What is/are the use(s) of Quantum dots

  1. Anti septic

  2. LED

  3. Refridegeration

  4. solid State quantum computation


Correct Option: B,D

DATA TEMP; X= ‘13MAR2000’d;RUN;What is stored in x?

  1. Corresponds to days from 01 Jan 1960: 14682

  2. 13MAR2000

  3. 13/03/2000

  4. 03/13/2000


Correct Option: A
Explanation:

To solve this question, the user needs to know the basics of SAS date format. In SAS, the dates are stored as a number that corresponds to the number of days since January 1, 1960. When a date is read into SAS, it is converted into a number and stored as a SAS date value.

In the given SAS code, the date '13MAR2000' is assigned to variable X. This means that the value of X will be the SAS date value corresponding to '13MAR2000'.

Now, let's go through each option and explain why it is right or wrong:

A. Corresponds to days from 01 Jan 1960: 14682: This option is correct. The SAS date value corresponding to '13MAR2000' is 14682, which represents the number of days between January 1, 1960, and March 13, 2000.

B. 13MAR2000: This option is incorrect because the SAS date value is a number, not a character string. Although the date '13MAR2000' was assigned to X, it is stored as a SAS date value, not a character string.

C. 13/03/2000: This option is incorrect because it is a date format used in other programming languages, but not in SAS. The SAS date format is different from other date formats used in programming.

D. 03/13/2000: This option is incorrect because it is a date format used in some countries, but not in SAS. The SAS date format is different from other date formats used in different countries.

The Answer is: A. Corresponds to days from 01 Jan 1960: 14682

Which of the following command runs the migrations for your rails project

  1. rake db:migrations

  2. rake db:migrate

  3. rake db:migrates

  4. rake db:migrate project


Correct Option: B

Which of the following is a built-in server for rails?

  1. Webmagick

  2. Webwidget

  3. Webrick

  4. Weblaunch


Correct Option: C

Rails is an open source framework

  1. True

  2. False


Correct Option: B

Every model class in a rails application inherits from which of the following base class?

  1. ActiveRecord

  2. ApplicationRecord

  3. ActiveSummary

  4. ActiveModel


Correct Option: A

What architecture does Rails follow?

  1. 1-Tier Architecture

  2. MVC Architecture

  3. 2-Tier Architecture

  4. 3-Tier Architecture


Correct Option: B

CRUD stands for

  1. Create Read Update Delete

  2. Create Request Update Delete

  3. Create Read Update Drop

  4. Create Redo Update Direct


Correct Option: A

Ruby is a

  1. Compiled and Procedural Programming Language

  2. Interpreted and Object Oriented Programming Language

  3. Interpreted and Procedural Programming language

  4. Compiled and Object Oriented Programming Language


Correct Option: B

Which of the following is valid rails syntax for scaffolding?

  1. ruby script/generate scaffold recipe [name,type] => [string,string]

  2. ruby scaffold recipe [name,type] => [string,string]

  3. ruby script/generate scaffold recipe name=string type=string

  4. ruby script/generate scaffold recipe name:string type:string


Correct Option: D

Rails has agile web development methods

  1. True

  2. False


Correct Option: B

The request from the web browser is handled by which of the following component?

  1. Model only

  2. View and Controller

  3. Controller only

  4. Medel and Controller


Correct Option: C

Which of the following commands creates a rails application?

  1. rails create app sampleapplication

  2. rails sampleapplication

  3. rails create sampleapplication

  4. rails app sampleapplication


Correct Option: B

Which of the following is a rails file for changing the database configurations?

  1. database.xml

  2. database.rb

  3. database.yml

  4. db_config.xml


Correct Option: C

What is the framework used in rails?

  1. ActionControl

  2. ActionWeb

  3. ActionPack

  4. ActionClass


Correct Option: C

ActionMailer serves as the JS library

  1. True

  2. False


Correct Option: B

CATIA competes in the CAD/CAM/CAE market with

  1. Solidedge

  2. UG Nx

  3. Pro E

  4. All of the above

  5. None of the above


Correct Option: D

How many views are present in QTP?

  1. 2

  2. 3

  3. 1

  4. 5


Correct Option: A

What is the output ? #define sum(x,y) x+y main() { int i=10, j=20; i=j*sum(i,j)*i; printf("%d", i); }

  1. 6000

  2. 400

  3. 10

  4. Compilation error-Functions can not be defined as macro


Correct Option: B

List the steps of Importing an image into your page?

  1. Image -> Colour -> Insert

  2. Image -> Drawing Object -> Insert

  3. Insert -> Drawing Object -> Image

  4. Image -> Insert -> Drawing Object


Correct Option: C
- Hide questions