Interview Questions

Q:

File contains 5 records say D,E,F,C,A-I want to copy D and A records only by using file-aid?

Answer

Go to file-aid copy option.Enter the from dataset to be copied and to dataset to which you want to copy.go to options. Enter 0 at Initial records to skip field.Then enter 3 at the no of records to skip field and 1 to no of records to select.press enter and PF3.

Report Error

View answer Workspace Report Error Discuss

0 2342
Q:

Explain the changing file permission and ownership using PHP's chmod() function.

Answer

Chmod() is used for changing permissions on a file.


Syntax:


Chmod(file, mode)


Mode here specifies the permissions as follows:


The first number is always zero


The second number specifies permissions for the owner


The third number specifies permissions for the owner's user group


The fourth number specifies permissions for everybody else


Possible values (to set multiple permissions, add up the following numbers)


1 = execute permissions


2 = write permissions


4 = read permissions


Example:


// everything for owner, read for owner's group


chmod("test.txt",0740);

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2341
Q:

The chart of accounts is designed to

A) alphabetized the accounts to make reading easier for its financial statement users B) summarize the transactions and determine their ending balances
C) meet the information needs of a company and other financial statement users D) analyse the accounts and organize them in order of dollar amount to simplify the accounting information for users
 
Answer & Explanation Answer: C) meet the information needs of a company and other financial statement users

Explanation:

The chart of accounts is designed to to meet the information needs of a company and other financial statement users.

Report Error

View Answer Report Error Discuss

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

0 2340
Q:

What is Shallow and deep cloning in Java?

Answer

Cloning refers to creating duplicate copies of objects in java.


Shallow Cloning: Shallow cloning is a bitwise copy of an object. New object is created which is an exact copy that of the original one. In case any objects are referring the fields of these objects, just the references are copied.


Deep Cloning: In deep cloning, complete duplicate copy of the original copy is created. Deep cloning creates not only the primitive values of the original objects but also copies all its sub objects as well.


Clonable interface is used to perform cloning in java.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2339
Q:

Which package is imported by default?

Answer java.lang package is imported by default even without a package declaration.
Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2337
Q:

Insurance can help you to protect against

A) unexpected accidents B) illegal consent
C) Both A & B D) None of the above
 
Answer & Explanation Answer: A) unexpected accidents

Explanation:

Insurance can help you to protect your properties and assets like home, car, stocks,... against unexpected accidents.

Report Error

View Answer Report Error Discuss

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

0 2336
Q:

A website main page is called

A) start page B) bookmark
C) search page D) browser page
 
Answer & Explanation Answer: A) start page

Explanation:

A website main page is called as start page or home page.

Report Error

View Answer Report Error Discuss

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

1 2336
Q:

What is COPY PENDING status?

Answer

- A status occurs when image copy on a table needs to be taken


- The table is available only for queries and can not be updated


- COPY PENDING status can be removed by taking away the image copy or by using REPAIR utility

Report Error

View answer Workspace Report Error Discuss

0 2336