data declaration means a variable which contain data value and it can be declared as integer, float, character, double, boolean (data types).
example:
int r;
char name;
float g;
double k= 23.34;
Answer:
Yes, we can.
Explanation:
We can combine with the arithmetic and the concatenation operators to provide augmented assignment operations in the programming language Python.
This mean we can abbreviate expressions like n = n + 1
For example:
n += 10 this is equal to n = n + 10
n += "example" this is equal to n = n + "example"
In this example we have
variable = variable operator expression equal to variable operator = expression.
These arguments are often used in Python's loops.
Answer:
All the three statements given are true so the correct option is option 4 which is none of the above.
Explanation:
The options are given in a jumbled up form the options are sorted which are as follows:
- SOA eliminates the use of application boundaries, the traditional methods where security is at the application level aren't likely to be effective
- An atomic service cannot be decomposed into smaller services that provide a useful function
- XML security service may be found in retail application communication.
- None of the mentioned
SOA stands for Service Oriented Architecture. This eliminates the application boundaries so option 1 is true.
An atomic service is defined as the smallest service which cannot be divided further. So this is true as well
The XML security service is incorporated in all retail applications. so this is true as well.
So the remaining option is just None of the mentioned.
Hi! I'm a Digital Marketer Intern at hotels.ng and I have a moderate knowledge on programming.
First, your question is not very explanatory. The term "view" is often used in back-end web development. A view is simply a Python function that takes a Web request and returns a Web response.
But I'm not sure this is what you want, so I'll just go ahead and write a python function involving class to return the total number of credits taken by a student.
I'll answer this question using Python.
class student(object):
credits = None
year = None
def num_credits(self):
#get credit value
self.credits = input("Enter the total number of credits: " )
pass
def getYear(self):
self.year = input("Enter current year: ")
pass
def tot_credits(self):
TotalCredits = tempTotalCredits + self.num_credits
print "Your total credits are :"+" "+str(TotalCredits)