Question : You have been given below code if course_fee>=4000 and (COURSE_NAME='HADOOP' or (COURSE_NAME='SPARK' and STUDENTS=24)) then LOCATION='MUMBAI';
Question : You have been given below values in a variable name TotalFee 5000 . 7000 Once you execute below statement, what would be the ENTIREFEE values at end of execution ENTIREFEE+TotalFee
Correct Answer : Get Lastest Questions and Answer : Explanation: ENTIREFEE here works as an accumulator. Hence, all the values will be add up. Missing value will be ignored. Hence, it will not impact the total some. So final value for ENTIREFEE will be 22000
Question : You have been given below values in a variable name TotalFee 5000 . 7000 Once you execute below statement, what would be the ENTIREFEE values at end of execution RETAIN ENTIREFEE 5000; ENTIREFEE+TotalFee;
When you are at the 4th observation than what would be the value of ENTIREFEE
Correct Answer : Get Lastest Questions and Answer : Explanation: Retain will help you to initialize the value. Here, ENTIREFEE will have initial value as 5000. Then will be added up . Hence upto 4th observation value will be 5000+4000+5000+3000=17000