Keyword

Result: 108 questions

What constitutes  Django templates ?

Answer:

Template can create formats like XML,HTML and CSV(which are text based formats). In general terms template is a simple text file. It is made up of variables that will later be replaced by values after the template is evaluated and has tags which will control template’s logic.

View

Mention what does the Django templates consists of?

Answer:

The template is a simple text file.  It can create any text-based format like XML, CSV, HTML, etc.  A template contains variables that get replaced with values when the template is evaluated and tags (% tag %) that controls the logic of the template.

View

Which of following is a callback method that inflates and options menu from file res/menu/menu.xml?

Quiz

Which of the following is a call-back method that inflates an options menu from file res/menu/menu.xml?

Quiz

What is not true about the AndroidManifest.xml file?

Quiz

Which UI does the following code builds?

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmins:android=http://schemas.android.com/apk/res/android android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical">
    <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal">
        <TextView android:id="@+id/textView1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Name:"/>
        <EditText android:id="@+id/editText1" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1" android:ems="10"/>
    </LinearLayout>
    <Button android:id="@+id/button1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Post" />
</LinearLayout>

 

Quiz

What Activity method you use to retrieve a reference to an Android view by using the id attribute of a resource XML?

Quiz

What is a correct statement about an XML layout file?

Quiz

Which of the following is correct about XML layoutfiles?

Quiz

Which of the following is true about attribute android:windowSoftInputMode of the <activity> tag in file AndroidManifest.xml?

Quiz

What is the role of services in AngularJS and name any services made available by default?

Answer:

– AngularJS Services are objects that provide separation of concerns to an AngularJS app.
– AngularJS Services can be created using a factory method or a service method.
– Services are singleton components. All components of the application (into which the service is injected) will work with single instance of the service.
– An AngularJS service allows developing of business logic without depending on the View logic which will work with it.

Few of the inbuilt services in AngularJS are:
– the $http service: The $http service is a core Angular service that facilitates communication with the remote HTTP servers via the browser’s XMLHttpRequest object or via JSONP
– the $log service: Simple service for logging. Default implementation safely writes the message into the browser’s console
– the $anchorScroll: it scrolls to the element related to the specified hash or (if omitted) to the current value of $location.hash()
Why should one know about AngularJS Services, you may ask. Well, understanding the purpose of AngularJS Services helps bring modularity to AngularJS code.
Services are the best may to evolve reusable API within and AngularJS app

Overview:

  • AngularJS Services help create reusable components.
  • A Service can be created either using the service() method or the factory() method.
  • A typical service can be injected into another service or into an AngularJS Controller.

Source:
– https://docs.angularjs.org/guide/services
– http://www.tutorialspoint.com/angularjs/angularjs_services.htm

View

Can you optimize the website which has pages in millions?

Answer:

From SEO point of view, for dynamic website, special additional SEO stuffs have to be    implemented.

  1. Good Internal link structure
  2. Generation of dynamic title and description
  3. Dynamic XML sitemap generation
View

What does the Django templates contain?

Answer:

A template is a simple text file. It can create any text-based format like XML, CSV, HTML, etc. A template contains variables that get replaced with values when the template is evaluated and tags (%tag%) that controls the logic of the template.

View

What is MVC?

Answer:

Most programmers know this, but interviewers will likely look for a deep understanding of MVC, and some explanation or examples on how/why/ when you used it. 

MVC - Model, View, Controller - is simply a way of organizing your code into 3 separate layers each with there own job. 

Model - Usually contains data access code and all of you business logic code. 
View - Contains markup/design code, generally html,xml, json. 
Controller - Usually contains very little code, just whatever is needed to call the Model code and render the View code.

http://www.symfony-project.org/book/1_0/02-exploring-symfony-s-code

View

What Are The Core Default Modules Available In Python? List Down A Few Of Them.

Answer:

Following are a few of the default modules available in Python.

  • email – Help to parse, handle, and generate email messages.
  • string – Contains functions to process standard Python strings.
  • sqlite3 – Provides methods to work with the SQLite database.
  • XML – Enables XML support.
  • logging – Adds support for log classes and methods.
  • traceback – Allows to extract and print stack trace details.
View

What is the difference between Node.js vs Ajax?

Answer:

The difference between Node.js and Ajax is that, Ajax (short for Asynchronous Javascript and XML) is a client side technology, often used for updating the contents of the page without refreshing it. While,Node.js is Server Side Javascript, used for developing server software. Node.js does not execute in the browser but by the server.

View

Is this a "well formed" XML document? Tove Jani Reminder Don't forget me this weekend!

Quiz

XML preserves white spaces

Quiz

Is this a "well formed" XML document? <?xml version="1.0"?> <to>Tove</to> <from>Jani</from> <heading>Reminder</heading> <body>Don't forget me this weekend!</body>

Quiz

Which Statement about xml is true?

Quiz

© 2017 QuizBucket.org