picture picture

Drupal Interview Questions – Part 1

All about drupal1. What is Drupal ?
Drupal is an open-source platform and content management system for building dynamic web sites offering a broad range of features and services including user administration, publishing workflow, discussion capabilities, news aggregation, metadata functionalities using controlled vocabularies and XML publishing for content sharing purposes. Equipped with a powerful blend of features and configurability, Drupal can support a diverse range of web projects ranging from personal weblogs to large community-driven sites.

2. What is a CMS ?
A content management system (CMS) is a collection of procedures used to manage work flow in a collaborative environment. These procedures can be manual or computer-based. The procedures are designed to:
— Allow for a large number of people to contribute to and share stored data
— Control access to data, based on user roles. User roles define what information each user can view or edit
— Aid in easy storage and retrieval of data
— Reduce repetitive duplicate input
— Improve the ease of report writing
— Improve communication between users

What is an Open source software ?

what is opensourceOpen-source software (OSS) is computer software for which the source code and certain other rights normally reserved for copyright holders are provided under a software license that meets the Open Source Definition or that is in the public domain.This permits users to use, change, and improve the software, and to redistribute it in modified or unmodified forms. It is very often developed in a public, collaborative manner.

Open source doesn’t just mean access to the source code.
The distribution terms of open-source software must comply with the following criteria:
1. Free Redistribution
The license shall not restrict any party from selling or giving away the software as a component of an aggregate software distribution containing programs from several different sources. The license shall not require a royalty or other fee for such sale.

XML Interview questions & answers

1) What is XML?
The Extensible Markup Language (XML) is a general-purpose specification for creating custom markup languages.[1] It is classified as an extensible language, because it allows the user to define the mark-up elements. XML’s purpose is to aid information systems in sharing structured data.

2) What is the version information in XML?
The root element can be preceded by an optional XML declaration element stating what XML version is in use (normally 1.0); it might also contain character encoding and external dependencies information.

3) What is ROOT element in XML?
XML documents must contain one element that is the parent of all other elements. This element is called the root element.

MySQL Interview Questions – Part 3

67) Explain Database Basics
Databases are managed by a relational database management system (RDBMS). An RDBMS supports a database language to create and delete databases and to manage and search data. The database language used in almost all DBMSs is SQL, a set of statements that define and manipulate data. After creating a database, the most common SQL statements used are INSERT, UPDATE, DELETE, and SELECT, which add, change, remove, and search data in a database, respectively.

68) what is Database?
A repository to store data.

69) What is Table?
The part of a database that stores the data. A table has columns or attributes, and the data stored in rows.

70) Define Attributes?
The columns in a table. All rows in table entities have the same attributes. For example, a customer table might have the attributes name, address, and city. Each attribute has a data type such as string, integer, or date.

MySQL Interview Questions – Part 2

31) How are ENUMs and SETs represented internally?
As unique integers representing the powers of two, due to storage optimizations.

32) How do you start and stop MySQL on Windows?
net start MySQL, net stop MySQL

33) How do you start MySQL on Linux?
/etc/init.d/mysql start

34) Explain the difference between mysql and mysql interfaces in PHP?
mysqli is the object-oriented version of mysql library functions.
What’s the default port for MySQL Server?
3306

35) What does tee command do in MySQL?
tee followed by a filename turns on MySQL logging to a specified file. It can be stopped by command note.