Friday, December 1, 2017

Top 10 Google Dart Interview Questions With Answers PDF


Hiried Google Dart Interview Questions And Answers PDF

What is Dart language?

Dart is an application programming language that’s easy to learn, easy to scale, and deployable everywhere.
Google uses Dart to make very large apps.It is open-source software under a permissive free software license (modified BSD license).
Dart is an object-oriented, class defined, single inheritance language using C# style syntax that transcompiles optionally into JavaScript. It supports interfaces, mixins, abstract classes, reified generics, and optional typing.

Top 10 CherryPy Interview Questions with Answers PDF

Hiried CherryPy Interview Questions And Answers PDF


1. What is CherryPy?
CherryPy is an object-oriented HTTP web application framework based on Python programming language.CherryPy is designed for rapid development of web applications and allows developers to build web applications in much the same way they would build any other object-oriented Python program. This results in smaller source code developed in less time.It is an open-source project, you are free to fork CherryPy on GitHub

2. Why Cherrypy?

CherryPy is now more than ten years old and it is has proven to be very fast and stable. It is being used in production by many sites, from the simplest to the most demanding. Also,
•    It can run anywhere Python runs
•    It does not require a C compiler
•    It can run on various implementations of the Python language: CPython, IronPython, Jython and PyPy

3. List some features of Cherrypy Framework?
Below is list of some key features of Cherrypy Framework
•    A reliable, HTTP/1.1-compliant, WSGI thread-pooled web server.
•    Easy to run multiple HTTP servers (e.g. on multiple ports) at once.
•    A powerful configuration system for developers and deployers.
•    A flexible plugin system.
•    Built-in tools for caching, encoding, sessions, authentication, static content, and much more.
•    In CherryPy everything is swappable and customizable.
•    Built-in profiling, coverage, and testing support.
•    Runs on Python 2.7+, 3.1+, PyPy, Jython and Android.
Recently Asked CherryPy Interview Questions And Answers
4. List Requirements to install CherryPy?
CherryPy does not have any mandatory requirements. CherryPy comes with pluggable components or modules.To use a certain feature you need to install certain packages
The basic requirements for installation of CherryPy framework include
•    Python with version 2.7 or above
•    CherryPy 3.0
CherryPy can be easily installed via common Python package managers such as setup tools or pip.
$ easy_install cherrypy
pip install cherrypy
You may also get the latest CherryPy version by grabbing the source code from Github:
$ git clone
$ cd cherrypy
$ python setup.py install

5. How to disable logging in CherryPy?
Disabling File Logging in CherryPy :
To disable file logging in CherryPy, simply set an empty string to the log.access_file or log.error_file keys in your global configuration.
cherrypy.config.update({'log.access_file': '',
                        'log.error_file': ''})
Disabling Console Logging in CherryPy :
To disable Console logging in CherryPy, simply set log.screen to False in your global configuration.
cherrypy.config.update({'log.screen': False})



Latest CherryPy Interview Questions for freshers and Experienced pdf

Sunday, November 26, 2017

10 Top A+ programming Interview Questions And Answers PDF


Hiried A+ programming Interview Questions with Answers PDF


1. What is A+ programming language?
A+ is a powerful and efficient programming language. It is freely available under the GNU General Public License. It embodies a rich set of functions and operators, a modern graphical user interface with many widgets and automatic synchronization of widgets and variables, asynchronous execution of functions associated with variables and events, dynamic loading of user compiled subroutines, and many other features. Execution is  by a rather efficient interpreter. A+ was created at Morgan Stanley. Primarily used in a withstood the demands of real world developers over many years. Written in an interpreted language, A+ applications tend to be portable.

2. Who Wrote A+ ?
A+ is written by Arthur Whitney at Morgan Stanley in 1988 .

3.What is APL programming language?
APL (named after the book A Programming Language) is a programming language developed in the 1960s by Kenneth E. Iverson. Its central datatype is the multidimensional array. It uses a large range of special graphic symbols to represent most functions and operators, leading to very concise code. It has been an important influence on the development of concept modeling, spreadsheets, functional programming, and computer math packages.It has also inspired several other programming languages.It is still used today for certain applications.
Source :Wikipedia.

4. What were the changes that the A+ language brought about in APL?
The A+ language implements the following changes to the APL language:
•    An A+ function may have up to nine formal parameters.
•    A+ code statements are separated by semicolons, so a single statement may be divided into two or more physical lines.
•    The explicit result of a function or operator is the result of the last statement executed.
•    A+ implements an object called a dependency, which is a global variable (the dependent variable) and an associated definition that is like a function with no arguments. Values can be explicitly set and referenced in exactly the same ways as for a global variable, but they can also be set through the associated definition.

5. List some features of A+ programming language
•    An A+ function may have up to nine formal parameters.
•    A+ code statements are separated by semicolons.
•    The explicit result of an operator or function is the result of the last statement executed.
•    A+ implements an object called a dependency.

6. Explain Nonscalar Primitive Functions
The A+ nonscalar primitive functions can be grouped, among many other ways, in these eight categories:
•    Informational functions: Shape, Count, Depth, Type;
•    Structural functions: Reshape, Interval, Restructure, Reverse, Rotate, Transpose, Transpose Axes, Ravel, Item Ravel, Enclose, Disclose, Rake, Raze, Partition, Take, Drop, Replicate, Expand, Catenate, Laminate;
•    Selection functions: Pick, Choose, Bracket Indexing, Right, Left, Null, Separate Symbols;
•    Computational functions: Matrix Inverse, Solve, Deal, Pack, Unpack, Encode, Decode;
•    Comparison functions: Match, Member, Find, Bins, Grade up, Grade down, Partition Count;
•    Format and representation functions: Format, Default Format, Cast;
•    Specificational functions: Assignment, Append, Bracket Indexing Selective Assignment, Replace All, Selective Assignment;  Beam;
•    Evaluative, display, and control functions: Execute, Execute in Context, Protected Execute, Value, Value in Context, Result, Signal, Print, Stop;  Time.

7. What type of control statements are used in A+?
Unlike functions and operators, which take arguments and return results, control statements are primarily used for their side effects, although they always do have explicit results. Some control statements also have syntax that differs from that of functions taking arguments. The keywords are reserved: the words or names case, do, if, else, and while can appear only as parts of control statement

8. How numbers are represented in A+?
The machines on which A+ is run represent numbers in binary (base 2), for efficient storage and computation. A+ (via C) represents integers in 32 bits (binary digits) and floating-point numbers in 64. The largest integer representable in this way is (2*31)-1 and the smallest is ¢2*31 (-2147483648); the greatest magnitude representable as a floating-point number is approximately 1.7977e+308.
In display and print, of course, A+ represents numbers in decimal. People tend to think in decimal and their input is usually decimal. Numbers like .1 and .01 seem exactly representable intrinsically (as they are in decimal), but, in fact, these numbers cannot be exactly represented in binary, and decimal to binary and binary to decimal conversions are one source of imprecision.

9. What is the rank operator?
The concepts of leading axis and item are generalized by treating an array as a frame defined by the array’s leading m axes holding cells of rank n defined by the array’s trailing n axes, where m+n is the rank of the array. A function f is applied to all cells of rank n with the expression f@n. The rank operator (@) applies uniformly to all functions of one or two arguments: primitive, derived, or defined, except Assignment and (because of its syntax) Bracket Indexing (@ does apply to Choose, which is semantically equivalent).

10. List some Scalar Monadic Functions of A+ programming ?
+ – × ÷ | ⌈ ⌊ * ⍟ ○ ! ~ ? ∊



Latest A+ programming Interview Questions for freshers and Experienced pdf

Friday, November 24, 2017

10 Top Sinatra framework Interview Questions with Answers PDF


Hiried Sinatra framework Interview Questions And Answers PDF

1. What is Sinatra?
Sinatra is web application framework for rapidly building applications in Ruby.Sinatra is a domain specific language or DSL which means it is designed from the ground up to build applications with minimal efforts.It is written in Ruby and an alternative to Ruby web application frameworks such as Ruby on Rails, Merb, Nitro, and Camping.

2. How to use sessions in Sinatra?
By default, Sessions are disabled in Sinatra.You need to enable them and then use the session hash from routes and views. Below code shows
how to enable, set or get a session in Sinatra.
//Enabling Session

enable :sessions

get '/foo' do
  // setting session value
  session[:message] = 'Hello World!'
  redirect to('/bar')
end

get '/bar' do
 // getting session value
  session[:message]   # => 'Hello World!'
end

3. How do you flash a session message in Sinatra ?
Rack:: Flash is used to flash a message in Sinatra.
Example Usage :
require 'sinatra/base'
require 'rack-flash'

class MyApp < Sinatra::Base
  enable :sessions
  use Rack::Flash

  post '/set-flash' do
    # Set a flash entry
    flash[: notice] = "Thanks for signing up!"
   
    # Get a flash entry
    flash[:notice] # => "Thanks for signing up!"
   
    # Set a flash entry for only the current request
    flash.now[: notice] = "Thanks for signing up!"
  end
end

4. How do I get the “route” for the current page?
The request object probably has what you’re looking for:
get '/hello-world' do
  request.path_info   # => '/hello-world'
  request.fullpath    # => '/hello-world?foo=bar'
  request.url         # => 'http://example.com/hello-world?foo=bar'
end



Latest Sinatra framework Interview Questions for freshers and Experienced pdf

Top 10 Google Adsense Interview Questions with Answers PDF

Hirred Google Adsense Interview Questions And Answers PDF


1) Explain what is Adwords?
Adwords is the system that Google has designed to assist in marketing product or services in Google search engine and its affiliated sites.  It will place a text ad that appears when people search for phrases associated to your offering.

2) Explain how Adwords work?
Adwords work on bidding system if the bidding price is higher your ad will appear on top of the Google page.  Adwords works on “pay per click” that means you only pay the amount you have bid if someone taps on your ad as a result of a web search.

3) Explain why to use Google Adwords?
Google Adwords behave differently to traffic that comes from Google Adwords or “Pay Per Click”. The traffic that comes through surfing often visits the website for information, whereas the traffic via pay per click knows what they are clicking on and what they want to buy.  So few visitors through Adwords might be more valuable than million visitors.
Frequently Asked Google Adsense Interview Questions And Answers
4) Explain what is Ad rank?
Ad rank determines your ad position on Google page, and it is determined by your bid for that keyword and quality score.

5) Explain how does Ad rank impact Cost-Per-Click?
Ad rank plays a huge role in defining the actual cost-per-click that your opponents pay when someone clicks on their ads.  Your CPC can be calculated by following way
Your Price = The ad rank of the person below you/ your quality score + $0.01

6) What is the maximum number of AdSense units you can put on a page?
Google AdSense offers different types of ads, and most are categorized in the following formats:
•    AdSense content unit
: Max three ads unit allowed on a page
•    AdSense link unit
: Max three ads unit allowed on a page
•    AdSense for search
: Max two ads unit allowed on a page


Latest Google Adsense Interview Questions for freshers and Experienced pdf

Top 10 Seo Interview Questions And Answers PDF


Hirred Seo Interview Questions with Answers PDF


1. What is SEO and List its types?
SEO(Search Engine Optimization): SEO stands for Search Engine Optimization. SEO is the method of changing the top rank of a webpage or website in the search results of a search engine.
SEO is a process of keep changing the position of a webpage or website in a search engine results by using desired keywords or phrases.
There are two types of SEO
•    ON page Optimization.
•    OFF page optimization.

2. What is Link Building ?
Link building basically means “making incoming links to a website”. This can be achieved in many different ways.
Here are few examples of link Building:
1.    Reciprocal linking is what we call when two webmasters decide to link to each other’s sites.
2.    When you submit your site to website directories, you get a link from these directories to your website.
3.    When you buy blog posts from a blogger, where he or she writes a blog post about your site, and links to it, is also a very important link building practice.
4.    If another site publishes a popular newsletter, and mentions your website, with a link to it, this is also considered link building.

3. Describe Alexa Rank in SEO?
Alexa is a Ranking System set by Alexa.com. Alexa calculates the quality of website and gives the rank to the website that is compared with world wise websites and give the local rank according to the domain registered country.
Alexa gives the more information about the website i.e. how many people are visiting site daily, bounce rate and shows number of backlinks the website contains.
Recently Asked Seo Interview Questions With Answers
4. Explain 301 Redirect and when would you use it?
The meaning of 301 Redirect is ‘moved permanently’ and is a way to send both users and search engines to a different URL from the one they originally requested.One can use 301 redirect to permanently move a website to a new domain.

5. List some advantages of link building in Seo ?
Advantages of link building in Seo
1.    Link building increases quality traffic from relevant sites.
2.    If there are many higher quality links to a website, the website that is linked to, is considered higher quality as well.
3.    Link building puts your website on a map, so to say.
4.    More traffic through your link building efforts, means more income from your website.

6. Differentiate between Dofollow and Nofollow?
Dofollow link
Dofollow link is a kind of hyperlink which enhances the ranking of your site as it acts as a backlink that is counted by search engines.
Nofollow link
Nofollow link is an HTML attribute value used to instruct search engine bots that a hyperlink should not influence the ranking of the link target in search engine’s index.



Latest Seo Interview Questions for freshers and Experienced pdf

15 Top LISP Programming Interview Questions with Answers PDF


Hirred LISP Programming Interview Questions And Answers PDF


1. What is LISP Programming
List Processing – Lisp (or LISP) is the second oldest high-level programming language after Fortran developed by John McCarthy in 1958 while he was at the Massachusetts Institute of Technology (MIT). LISP is a commonly used language for artificial intelligence (AI) programming.Lisp has changed since its early days, and many dialects have existed over its history. Today, the best known general-purpose Lisp dialects are Common Lisp and Scheme.

2. How many types of variables are available in LISP?
There are two types of variables are available in LISP one is lexical variable, and other is special variable

3. What is LISP Machine (LISPM)
Lisp machines are general-purpose computers designed to efficiently run Lisp as their main software and programming language, usually via hardware support. They are an example of a high-level language computer architecture, and in a sense, they were the first commercial single-user workstations.

4. Who is the Founder of LISP Programming
Lisp was invented by John McCarthy in 1958.

5. What is the full form of LISP?
Lisp stand for – List Processing – Lisp (or LISP)
Frequently Asked LISP Programming Interview Questions And Answers
6. What is LG3 , How to pass commands to LG3

7. Is lisp a functional programming language ?
No

8. For what lisp programming is used for

9. What is meant by symbolic expression in lisp?

10. How many types of arguments are available in lisp?

11. Which primitive in LISP tests two arguments to see if their values are the same expression?

12. What is meant by keyword argument in LISP?
keyword argument are function arguments that are passed by keyword, instead of position.Keyword arguments can be mixed with by-position arguments, and default-value expressions can be supplied for either kind of argument:
(define greet
  (lambda (given #:last surname)
    (string-append "Hello, " given " " surname)))

> (greet "John" #:last "Smith")
"Hello, John Smith"
> (greet #:last "Doe" "John")
"Hello, John Doe"
In above example last is a keyword argument.

13. Which symbol is used to represent the prompt in LISP?
* symbol is used to represent the prompt in LISP.

14. Which notation facilitates uniformity in Lisp?
Prefix notation facilitates uniformity in lisp.



Latest LISP Programming Interview Questions for freshers and Experienced pdf