Hitechsgeeks is a platform for students and working professionals to share their knowledge and experience in the field of engineering and technology

Hitechsgeeks is a platform for students and working professionals to share their knowledge and experience in the field of engineering and technology

Hitechsgeeks is a platform for students and working professionals to share their knowledge and experience in the field of engineering and technology

Hitechsgeeks is a platform for students and working professionals to share their knowledge and experience in the field of engineering and technology.

Hitechsgeeks is a platform for students and working professionals to share their knowledge and experience in the field of engineering and technology.

Wednesday, 20 April 2016

Job opening in NPCIL for Engineering Graduates




Job opening Details: Nuclear Power Corporation of India Limited (NPCIL) invites application from Engineering Graduates for the post of Executives Trainee (ET-2016)

Number of Vacancy: 183

Disciplines wise Vacancy:
1. Mechanical - 75
2. Electrical - 32
3. Electronics 26
4. Chemical - 28
5. Instrumentation – 12
6. Industrial & Fire Safety – 10

Qualification: Full time BE/B.Tech/B.Sc Engineering (4 years)

Age Limit: 26 years as on 15/05/2016

Job Location: All over India

How to Apply: The Online registration will be start from 25/04/2016 at 10:00 Hrs. and will end on 15/05/2016 at 17:00 Hrs.

Company profile: NPCIL is a Public Sector Enterprise under the administrative control of the Department of Atomic Energy (DAE),Government of India. The Company was registered as a Public Limited Company under the Companies Act, 1956 in September 1987 with the objectives of operating atomic power plants and implementing atomic power projects for generation of electricity in pursuance of the schemes and programmes of the Government of India.
NPCIL is responsible for design, construction, commissioning and operation of nuclear power reactors. NPCIL is a MoU signing, profit making and dividend paying company with the highest level of credit rating (AAA rating by CRISIL and CARE). NPCIL is presently operating 21 nuclear power reactors with an installed capacity of 5780 MW. The reactor fleet comprises two Boiling Water Reactors (BWRs) and 18 Pressurised Heavy Water Reactors (PHWRs) including one 100 MW PHWR at Rajasthan which is owned by DAE, Government of India







Tuesday, 5 April 2016

JavaScript Interview Questions





1)  What is JavaScript?
JavaScript is a lightweight programming language, designed to add interactivity to HTML pages. . It can enhance the dynamics and interactive features of your page by allowing you to perform calculations, check forms, write interactive games, add special effects, customize graphics selections, and create security passwords and more.

2) Are Java and JavaScript the Same?
NO, Java and JavaScript have almost nothing in common except for the name. Java is technically an interpreted programming language, it is coded in a similar fashion to C++, with separate header and class files, compiled together prior to execution. It is powerful enough to write major applications and insert them in a web page as a special object called an "applet”.  Whereas JavaScript is a lightweight programming language, designed to add interactivity to HTML pages

3) What are the features of JavaScript ?
  • JavaScript is powerful scripting languages that help HTML designers to effectively and interactively design websites and web pages in a very simple and efficient way.
  • It has features to achieve dynamic effects in web pages. 
  • One of the powerful features of JavaScript is its ability to detect client browser. It can detect the type of browser the visitor is using and programmatically switch the page to show customized pages designed for different browsers. 
  • A JavaScript can be used to store and retrieve information on the visitor's computer
  • It has the feature of validating data submitted at the client level. This helps in saving the processing time of the server, because JavaScript initially creates the validation on the client side.
  • JavaScript has simple rules and procedures that make it easier to use and learn for programmers. 
  • It is an interpreted language, meaning that it can be used or executed with ease without pre-compilation.
4) What are the advantages of JavaScript?
  • Simplicity. JavaScript is relatively simple to learn and implement.
  • Versatility. JavaScript plays nicely with other languages and can be used in a huge variety of applications. Unlike PHP or SSI scripts, JavaScript can be inserted into any web page regardless of the file extension. JavaScript can also be used inside scripts written in other languages such as Perl and PHP.
  • Server Load. Being client-side reduces the demand on the website server.
  • Less Server Interaction:  Being client-side, JavaScript is very fast because any code functions can be run immediately instead of having to contact the server and wait for an answer.
5) What are the disadvantages of JavaScript?
  • Security. Because the code executes on the users' computer, in some cases it can be exploited for malicious purposes. This is one reason some people choose to disable JavaScript.
  • Reliance on End User. JavaScript is sometimes interpreted differently by different browsers. Whereas server-side scripts will always produce the same output, client-side scripts can be a little unpredictable. Don't be overly concerned by this though - as long as you test your script in all the major browsers you should be safe.
  • JavaScript doesn't have any multithreading or multiprocessing capabilities.
6) What is Browser Object Model (BOM)?
Browser Object Model (BOM) provides interaction with the browser. The default object of browser is window.

7) What is Document Object Model (DOM)?
Document objects represent the html document. It can be used to access and change the content of html.

8) What is the use of window object?
The window object is automatically created by the browser that represents a window of a browser. It is used to display the popup dialog box such as alert dialog box, confirm dialog box, input dialog box etc.

9) What are the JavaScript data types?
  There are two types of data types in JavaScript:
  • Primitive Data Types
  • Non-primitive Data Types

10) What the difference is between == and ===?
      The == operator checks equality only whereas === checks equality and data type i.e. value must be of same type.

11) What does the isNaN () function?
      The isNan() function returns true if the variable value is not a number.

12) Difference between Client side JavaScript and Server side JavaScript?
·        Client side JavaScript comprises the basic language and predefined objects which are relevant to running java script in a browser. The client side JavaScript is embedded directly by in the HTML pages. This script is interpreted by the browser at run time.
·        Server side JavaScript also resembles like client side java script. It has relevant java script which is to run in a server. The server side JavaScript is deployed only after compilation.
13) What is negative infinity?
Negative Infinity is a number in JavaScript which can be derived by     dividing negative number by zero.

14) What is difference between View state and Session state?
View state is specific to a page in a session whereas Session state is specific to a user or browser that can be accessed across all pages in the web application.

15) What are the pop up boxes available in JavaScript?
  • Alert Box
  • Confirm Box
  • Prompt Box


Sunday, 11 October 2015

Oracle DBA Interview Questions -3






1. What is an Extent?
An Extent is a specific number of contiguous data blocks, obtained in a single allocation, and used to store a specific type of information.

2. What is a Segment?
A segment is a set of extents allocated for a certain logical structure.

3. What is the different type of Segments?
Data Segment, Index Segment, Rollback Segment and Temporary Segment.

4. What is a Data Segment?
Each Non-clustered table has a data segment. All of the table's data is stored in the extents of its data segment. Each cluster has a data segment. The data of every table in the cluster is stored in the cluster's data segment.

5. What is an Index Segment?
Each Index has an Index segment that stores all of its data.

6. What is Rollback Segment?
A Database contains one or more Rollback Segments to temporarily store "undo" information.

7. What are the uses of Rollback Segment?
Rollback Segments are used:
To generate read-consistent database information during database recovery to rollback uncommitted transactions for users.

8. What is a Temporary Segment?
Temporary segments are created by ORACLE when a SQL statement needs a temporary work area to complete execution. When the statement finishes execution, the temporary segment extents are released to the system for future use.

9. What is a Data File?
Every ORACLE database has one or more physical data files. A database's data files contain all the database data. The data of logical database structures such as tables and indexes is physically stored in the data files allocated for a database.

10. What are the Characteristics of Data Files?
A data file can be associated with only one database. Once created a data file can't change size.
One or more data files form a logical unit of database storage called a tablespace.

11. What is a Data Dictionary?
The data dictionary of an ORACLE database is a set of tables and views that are used as a read-only reference about the database.
It stores information about both the logical and physical structure of the database, the valid users of an ORACLE database, integrity constraints defined for tables in the database and space allocated for a schema object and how much of it is being used.

12. What is an Integrity Constrains?
An integrity constraint is a declarative way to define a business rule for a column of a table.

13. Can an Integrity Constraint be enforced on a table if some existing table data does not satisfy the constraint?
No.

14. Describe the different type of Integrity Constraints supported by ORACLE?
NOT NULL Constraint - Disallows NULL's in a table's column.
UNIQUE Constraint - Disallows duplicate values in a column or set of columns.
PRIMARY KEY Constraint - Disallows duplicate values and NULLs in a column or set of columns.
FOREIGN KEY Constrain - Require each value in a column or set of columns match a value in a related table's UNIQUE or PRIMARY KEY.
CHECK Constraint - Disallows values that do not satisfy the logical expression of the constraint.

15. What is difference between UNIQUE constraint and PRIMARY KEY constraint?
A column defined as UNIQUE can contain NULLs while a column defined as PRIMARY KEY can't contain Nulls.

16. Describe Referential Integrity?
A rule defined on a column (or set of columns) in one table that allows the insert or update of a row only if the value for the column or set of columns (the dependent value) matches a value in a column of a related table (the referenced value). It also specifies the type of data manipulation allowed on referenced data and the action to be performed on dependent data as a result of any action on referenced data.

17. What are the Referential actions supported by FOREIGN KEY integrity constraint?
UPDATE and DELETE Restrict - A referential integrity rule that disallows the update or deletion of referenced data.
DELETE Cascade - When a referenced row is deleted all associated dependent rows are deleted.

18. What is self-referential integrity constraint?
If a foreign key reference a parent key of the same table is called self-referential integrity constraint.

19. What are the Limitations of a CHECK Constraint?
The condition must be a Boolean expression evaluated using the values in the row being inserted or updated and can't contain sub-queries, sequence, the SYSDATE, UID, USER or USERENV SQL functions, or the pseudo columns LEVEL or ROWNUM.

20. What is the maximum number of CHECK constraints that can be defined on a column?

Oracle DBA Interview Questions Part-2








1. What is an Index?
An Index is an optional structure associated with a table to have direct access to rows, which can be created to increase the performance of data retrieval. Index can be created on one or more columns of a table.

2. How is Indexes Update?
Indexes are automatically maintained and used by ORACLE. Changes to table data are automatically incorporated into all relevant indexes.

3. What are Clusters?
Clusters are groups of one or more tables physically stores together to share common columns and are often used together.

4. What is cluster Key?
The related columns of the tables in a cluster are called the Cluster Key.

5. What is Index Cluster?
A Cluster with an index on the Cluster Key.

6. What is Hash Cluster?
A row is stored in a hash cluster based on the result of applying a hash function to the row's cluster key value. All rows with the same hash key value are stores together on disk.

7. When can Hash Cluster used?
Hash clusters are better choice when a table is often queried with equality queries. For such queries the specified cluster key value is hashed. The resulting hash key value points directly to the area on disk that stores the specified rows.

8. What is Database Link?
A database link is a named object that describes a "path" from one database to another.

9. What are the types of Database Links?
Private Database Link, Public Database Link & Network Database Link.

10. What is Private Database Link?
Private database link is created on behalf of a specific user. A private database link can be used only when the owner of the link specifies a global object name in a SQL statement or in the definition of the owner's views or procedures.

11. What is Public Database Link?
Public database link is created for the special user group PUBLIC. A public database link can be used when any user in the associated database specifies a global object name in a SQL statement or object definition.

12. What is Network Database link?
Network database link is created and managed by a network domain service. A network database link can be used when any user of any database in the network specifies a global object name in a SQL statement or object definition.

13. What is Data Block?
ORACLE database's data is stored in data blocks. One data block corresponds to a specific number of bytes of physical database space on disk.

14. How to define Data Block size?
A data block size is specified for each ORACLE database when the database is created. A database users and allocated free database space in ORACLE data blocks. Block size is specified in INIT.ORA file and can’t be changed latter.

15. What is Row Chaining?
In Circumstances, all of the data for a row in a table may not be able to fit in the same data block. When this occurs, the data for the row is stored in a chain of data block (one or more) reserved for that segment.

Oracle DBA Interview Questions - 1

Oracle DBA Interview Questions - 3

Wednesday, 7 October 2015

Oracle DBA Interview Questions Part I

                                                                             

A database is an organized collection of information treated as a unit. The purpose of a database is to collect, store, and retrieve related information for use by database applications.

                                         
                            

1. What are the components of Physical database structure of Oracle Database?
ORACLE database is comprised of three types of files. One or more Data files, two are more Redo Log files, and one or more Control files.

2. What are the components of Logical database structure of ORACLE database?
Tablespaces and the Database's Schema Objects.

3. What is a Tablespace?
A database is divided into Logical Storage Unit called tablespaces. A tablespace is used to grouped related logical structures together.

4. What is SYSTEM tablespace and when is it Created?
Every ORACLE database contains a tablespace named SYSTEM, which is automatically created when the database is created. The SYSTEM tablespace always contains the data dictionary tables for the entire database.

5. Explain the relationship among Database, Tablespace and Data file.
Each databases logically divided into one or more tablespaces one or more data files are explicitly created for each tablespace.

6. What is schema?
A schema is collection of database objects of a User.

7. What are Schema Objects?
Schema objects are the logical structures that directly refer to the database's data. Schema objects include tables, views, sequences, synonyms, indexes, clusters, database triggers, procedures, functions packages and database links.

8. Can objects of the same Schema reside in different tablespaces?
Yes.

9. Can a Tablespace hold objects from different Schemes?
Yes.

10. What is Table?
A table is the basic unit of data storage in an ORACLE database. The tables of a database hold all of the user accessible data. Table data is stored in rows and columns.

11. What is a View?
A view is a virtual table. Every view has a Query attached to it. (The Query is a SELECT statement that identifies the columns and rows of the table(s) the view uses.)

12. Do View contain Data?
Views do not contain or store data.

13. Can a View based on another View?
Yes.

14. What are the advantages of Views?
Provide an additional level of table security, by restricting access to a predetermined set of rows and columns of a table.
Hide data complexity.
Simplify commands for the user.
Present the data in a different perspective from that of the base table.
Store complex queries.

15. What is a Sequence?
A sequence generates a serial list of unique numbers for numerical columns of a database's tables.

16. What is a Synonym?
A synonym is an alias for a table, view, sequence or program unit.

17. What are the type of Synonyms?
There are two types of Synonyms Private and Public.

18. What is a Private Synonyms?
A Private Synonyms can be accessed only by the owner.

19. What is a Public Synonyms?
A Public synonym can be accessed by any user on the database.

20. What are synonyms used for?
Synonyms are used to: Mask the real name and owner of an object.
Provide public access to an object
Provide location transparency for tables, views or program units of a remote database.
Simplify the SQL statements for database users.



Oracle DBA Interview Question -2

Oracle DBA Interview Question - 3