Selenium is a software – testing tool that is mainly used for web applications. Many organization prefer Selenium over others because of its flawless user experience. Some of the other benefits of Selenium include its flexibility and the wide range of programming languages and operating systems that can be incorporated with its use. Therefore, the use of Selenium tool has increased a high level of job opportunities. Read best Selenium Interview Question for fresher crack the interview.
Wednesday, December 26, 2018
Saturday, December 22, 2018
How to send an email from localhost in Xampp
You can’t just log in to our cPanel every single time you want to check your code which sends emails. For simple mailing functions, there is no need for testing because when you write it carefully, there’s no chance for mistake. But when doing something complex with the mail function, you definitely need to test it before making it live in order check if you have written the code correctly. Most back-end web developers do it on localhost and the commonly used tool is ‘XAMPP’ which I personally use.
Everything works smoothly with XAMPP but to use the mail function, you will have to configure it first in order to send emails from your localhost. Here’s what you need to do-
Now run the below piece of PHP code on your localhost and the mail should be sent successfully.
Everything works smoothly with XAMPP but to use the mail function, you will have to configure it first in order to send emails from your localhost. Here’s what you need to do-
- Visit your ‘XAMPP’ folder. Most probably C:\XAMPP.
- Then look for the folder ‘php’ and inside it, there will be a file called ‘php.ini’. Open it with notepad or any of your code editor and then change the followings-
- Search for
sendmail_pathand look for the below two lines-
; sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t"
sendmail_path="C:\xampp\mailtodisk\mailtodisk.exe" - Remove the semicolon ‘;‘ from the first line and add a semicolon to the second line. After the editing, it should look like the below image-
- Now save the ‘php.ini’ file and look for the ‘sendmail.ini’ file inside the ‘sendmail’ folder.
- Change the followings-
- smtp_server=smtp.gmail.com
- smtp_port=587
- auth_username=youremail@gmail.com
- auth_password=yourgmailpassword
The Gmail account which you have added will be used to send emails ‘from’. In case of other email accounts like yahoo, outlook and all, look for their smtp server and smtp port which should be available on the internet. And to find your smtp server and port for your own domain’s email address, log in to your cPanel, then click on ‘Email Accounts’ and then in the right corner of your email address, there should be a button called ‘more’. Click on that and then click on ‘Configure Email Client’. You will get all your details there.
Now run the below piece of PHP code on your localhost and the mail should be sent successfully.
Also, more Read for freshers crack an interview<?php
$to = "someone@example.com";
$subject = "My subject";
$txt = "Hello world!";
$headers = "From: from@example.com";
mail($to,$subject,$txt,$headers);
?>
Monday, December 17, 2018
Linux Interview questions
https://www.onlineinterviewquestions.com/linux-interview-questions/
The interviews for developers often include questions on the basics of the Linux and other Unix based operating systems. Others who have interviewed for various posts usually document these questions. The answers might vary from person to person but the concept remains the same and this can only be understood when the person is clear on the basics of Linux.These questions and answers on Linux OS are sure to help you out in the interview by helping you understand the pattern of the questionnaire and the types of questions asked. So, here are the questions and their answers.
Friday, December 14, 2018
Spring interview questions
We hereby provide you with some questions on spring. These Spring Interview Questions have been specially designed so that it will help you to understand the nature of questions you may encounter while you are in an interview and the subject is spring.
Friday, November 16, 2018
10+ Basic questions for Node JS Developer
Have you ever thing what are basic questions for Node js Developer. Here we have written an article in which you find best 10 common interview questions on Node js that are asked frequently in IT industry,
a) I/O operations
b) Heavy computation
c) Anything requiring blocking
2. Why node.js is quickly gaining attention from JAVA programmers?
Node.js is quickly gaining attention as it is a loop based server for JavaScript. Node.js gives user the ability to write the JavaScript on the server, which has access to things like HTTP stack, file I/O, TCP and databases.
3. What are the two arguments that async.queue takes?
The two arguments that async.queue takes
a) Task function
b) Concurrency value
4. What is an event loop in Node.js ?
To process and handle external events and to convert them into callback invocations an event loop is used. So, at I/O calls, node.js can switch from one request to another .
5. Mention the steps by which you can async in Node.js?
By following steps you can async Node.js
a) First class functions
b) Function composition
c) Callback Counters
d) Event loops
Read More Node questions from Node JS interviewpoint
Thursday, November 1, 2018
SOME IMPORTANT QUESTION DBMS
1. List few advantages and disadvantages of DBMS?
Followng are few advantagesAdvantages of DBMS:
- Improved Data Security
- Better Data Integration
- Minimized Data Inconsistency
- Improved Data Access
Disadvantages of DBMS
- Management Complexity
- Increased Costs
- Maintaining Currency
- Frequent upgrade/replacement cycles
2. What are the different types of database languages?
There are large numbers of database languages few of them Oracle, MySQL, MS Access, dBase, FoxPro etc- Data Definition Language (DDL)
- Data Control Language (DCL)
- Data Manipulation Language (DML)
3. Explain data independence in DBMS?
Data independence is ability to modify a schema definition in one level without affecting a schema definition in the next higher level.There are two levels of data independence:
- Physical Data Independence
- Logical Data Independence
These are described below:
Physical Data Independence:
- Physical Data Independence is the ability to modify the physical schema without requiring any change in application programs.
- Modifications at the internal levels are occasionally necessary to improve performance. possible modifications at internal levels are change in file structures, compression techniques, hashing algorithms, storage devices and more
Logical Data Independence
- Logical data independence is ability to modify the conceptual schema without requiring any change in application programs
- Modification at the logical levels are necessary whenever the logical structures of the database is altered
4. Explain what is normalization in DBMS?
Normalization is the process of minimizing redundancy from a relation or set of relations. Redundancy in relation may cause insertion, deletion and updation anomalies. So, it helps to minimize the redundancy in relations.- First Normal Form If a relation contain composite or multi-valued attribute, it violates first normal form or a relation is in first normal form if it does not contain any composite or multi-valued attribute. A relation is in first normal form if every attribute in that relation is singled valued attribute.
- Second Normal Form To be in second normal form, a relation must be in first normal form and relation must not contain any partial dependency. A relation is in 2NF iff it has No Partial Dependency, i.e., no non-prime attribute (attributes which are not part of any candidate key) is dependent on any proper subset of any candidate key.
- Third Normal Form A relation is in third normal form, if there is no transitive dependency for non-prime attributes is it is in second normal form. A relation is in 3NF iff at least one of the following condition holds in every non-trivial function dependency X –> Y 1. X is a super key. 2. Y is a prime attribute (each element of Y is part of some candidate key).
- Boyce-Codd Normal Form (BCNF) A relation R is in BCNF if R is in Third Normal Form and for every FD, LHS is super key. A relation is in BCNF iff in every non-trivial functional dependency X –> Y, X is a super key. • For example consider relation R(A, B, C) A -> BC, B -> A and B both are super keys so above relation is in BCNF.
5. How dbms_mview refresh works?
Oracle DBMS_MVIEW is a synonym for DBMS_SNAPSHOT. Oracle DBMS_MVIEW will allow you to better understand the capabilities of Oracle materialized views. With Oracle DBMS_MVIEW you can also refresh Oracle materialized views that are not part of the same purge logs or refresh group. Oracle 9i came with two packages, dbms_mview.explain_mview and dbms_mview.explain_rewrite that could be used to diagnose why a materialized view wasn't being used for query rewrite. However, although these packages told you why rewrite hadn't happened, they left it down to you to work out how to alter your CREATE MATERIALIZED VIEW statement to ensure that rewrite happened correctly. Oracle Database 10g comes with a new advisor package, DBMS_ADVISOR.TUNE_MVIEW, that takes as its input a CREATE MATERIALIZED VIEW DML statement, and outputs a corrected version that supports query rewrite and features such as fast refresh.Source: Further Reading
6. What are benefits of using big data over DBMS?
There are many advantages of processing Big Data Analytics in real-time.- Knowing errors instantly within the organisation.
- Implementing new strategies.
- To improve service dramatically.
- Fraud can be detected the moment it happens.
- Cost savings.
- Better sales insights.
- Keep up the customer trends.
Source: Further Reading
7. What is Object Oriented model?
Object-oriented modeling is the process of preparing and designing what the model’s code will actually look like. During the construction or programming phase, the modeling techniques are implemented by using a language that supports the object-oriented programming model. OOM consists of progressively developing object representation through three phases: analysis, design, and implementation. During the initial stages of development, the model developed is abstract because the external details of the system are the central focus. The model becomes more and more detailed as it evolves, while the central focus shifts toward understanding how the system will be constructed and how it should function.Source: https://www.techopedia.com
8. List few differences between DDL, DML and DCL?
Data Definition Language:
statements used to define the database structure or schema. Some examples:- CREATE – to create objects in the database
- ALTER – alters the structure of the database
- DROP – delete objects from the database
- TRUNCATE – remove all records from a table, including all spaces allocated for the records are removed
- COMMENT – add comments to the data dictionary
- RENAME – rename an object
Data Manipulation Language:
statements used for managing data within schema objects. Some examples:- SELECT – retrieve data from the a database
- INSERT – insert data into a table
- UPDATE – updates existing data within a table
- DELETE – deletes all records from a table, the space for the records remain
- MERGE – UPSERT operation (insert or update)
- CALL – call a PL/SQL or Java subprogram
- EXPLAIN PLAN – explain access path to data
- LOCK TABLE – control concurrency
Data Control Language:
Some examples:- GRANT – gives user’s access privileges to database
- REVOKE – withdraw access privileges given with the GRANT command
Source: https://treasure4developer.wordpress.com
9. What is Difference between BLOB and CLOB?
BLOB :
Variable-length binary large object string that can be up to 2GB (2,147,483,647) long. Primarily intended to hold non-traditional data, such as voice or mixed media. BLOB strings are not associated with a character set, as with FOR BIT DATA strings.CLOB :
Variable-length character large object string that can be up to 2GB (2,147,483,647) long. A CLOB can store single-byte character strings or multibyte, character-based data. A CLOB is considered a character string.Source: https://stackoverflow.com
Thanks for reading and good luck on your interview! Check more DBMS Interview Questions & Answers on https://www.onlineinterviewquestions.com
Monday, October 22, 2018
20 Best DBMS Interview Questions 2018 - Online Interview Questions
20 Best DBMS Interview Questions 2018 - Online Interview Questions: DBMS Interview Questions: Have you prepared yourself to face DBMS interview questions? If not, then dig into some technical insights for DBMS. Database management has become popular more than ever. A set of logically arranged data for a specific purpose is commonly known as Database.
30 DB2 Interview Questions 2018 - Online Interview Questions
30 DB2 Interview Questions 2018 - Online Interview Questions: DB2 interview questions: Do you know DB2 was the first name given to Database management System. This is a must know for every Android developer as this new era of application is keenly focused on mobile devices and is becoming increasingly important in large enterprises.
Wednesday, August 29, 2018
Online Interview Questions | Hibernate interview questions
Online Interview Questions | Hibernate interview questions
Top 10 AngularJS Interview Questions for Experience 2018. Step up and face your AngularJS Interview questions, learn about its various features to face your interview with knowledge.Features of AngularJS. What are Controllers in AngularJS. What is Angular Expression and characteristics of and Scope.https://www.onlineinterviewqu
estions.com/hibernate-interview-questions-answers
Codeigniter Interview questions: Sharing Latest 30+ Codeigniter Interview questions and their answers that asked by interviewer in Codeigniter interviews 2018. Read about helpers, sessions, hooks, Routing, Constants ORM supported by Codeigniter and morehttps://www.onlineinterviewquestions.com/hibernate-interview-questions-answers
Top 10 AngularJS Interview Questions for Experience 2018. Step up and face your AngularJS Interview questions, learn about its various features to face your interview with knowledge.Features of AngularJS. What are Controllers in AngularJS. What is Angular Expression and characteristics of and Scope.https://www.onlineinterviewqu
estions.com/hibernate-interview-questions-answers
Codeigniter Interview questions: Sharing Latest 30+ Codeigniter Interview questions and their answers that asked by interviewer in Codeigniter interviews 2018. Read about helpers, sessions, hooks, Routing, Constants ORM supported by Codeigniter and morehttps://www.onlineinterviewquestions.com/hibernate-interview-questions-answers
Subscribe to:
Comments (Atom)




