Interview Questions

Q:

How can we encrypt the username and password using PHP?

Answer

User names and passwords in PHP can be encrypted using md5 function.


MD5 function calculates the md5 hash of a string. It is basically used for encryption. It is also used for digital signature applications, where a large file must be "compressed" in a secure manner.


Example:


Md5($str);


 


Crypt() function can also be used to encrypt a string,. It used MD5, DES or blow fish algorithms for encryption.


Syntax:


Crypt(str, salt)


Salt is an optional parameter used to increase the number of characters encoded, to make the encoding more secure

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2445
Q:

Describe a time when your workload was heavy and how you handled it?

Answer

When I was working on a software employment team at XYZ Company, we took over one more company and had to turn many clients to a new product in a short period of time. It took a lot of planning, hard work, time and effort, but we were able to finish the project in a timely manner.


 

Report Error

View answer Workspace Report Error Discuss

1 2442
Q:

What is difference between "assign" and "retain" keyword?

Answer

Retain -Specifies that retain should be invoked on the object upon assignment. takes ownership of an object


Assign - Specifies that the setter uses simple assignment. Uses on attribute of scalar type like float,int.

Report Error

View answer Workspace Report Error Discuss

Subject: SAP

3 2442
Q:

What is Trial Balance?

Answer

It is statement of balances of all the accounts in the ledger prepared to prove the arithmetical accuracy of the books of accounts.


A trial Balance is a list of Debit and Credit or a list of Debit & Credit Balance of all the ledger accounts prepared on any particular date

Report Error

View answer Workspace Report Error Discuss

Subject: Finance

1 2441
Q:

What is the difference between view and materialized view?

Answer

View:


- Tail raid data representation is provided by a view to access data from its table.


- It has logical structure can not occupy space.


- Changes get affected in corresponding tables.


 


Materialized view


- Pre calculated data persists in materialized view.


- It has physical data space occupation.


- Changes will not get affected in corresponding tables.

Report Error

View answer Workspace Report Error Discuss

0 2440
Q:

What is the maximum size of a file that can be uploaded using PHP and how can we change this?

Answer

By default the maximum size is 2MB. and we can change the following
setup at php.iniupload_max_filesize = 2M

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2439
Q:

The Accounting period cycle of NSE is

A) Monday to next Friday B) Wednesday to next Tuesday
C) Wednesday to next Wednesday D) Tuesday to next Wednesday
 
Answer & Explanation Answer: B) Wednesday to next Tuesday

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Bank Interview
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

1 2434
Q:

Accrual accounting is used because

A) it provides a better indication of ability to generate cash flows than the cash basis. B) it recognizes revenues when cash is received and expenses when cash is paid.
C) cash flows are considered less important. D) All of the above
 
Answer & Explanation Answer: A) it provides a better indication of ability to generate cash flows than the cash basis.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Accounts Payable
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

0 2433