Answer: True
Explanation: Gen/Spec is the known as the general specification standard for the classes.This standard helps in bringing out the peer-to-peer relations of class.
Gen/Spec is used in class diagram because it helps in the display of the access sharing and class specification in the general form for the required instances.Thus, this standard helps in the enhancement of the class diagram and its inheritance. So, the statement given in the question is true.
The answer is B) Template.
Various templates are available in most all desktop publishing programs, from resume templates in Word to Income Statement templates in Excel. Templates are useful for skipping the general "setup" process of making a document, and allow you to focus more on filling the document with the relevant data and polishing it to your specific needs once most of the legwork is done.
Answer:
Prolog program are used in the artificial intelligence and the web development in a systematic manner process. As, it is also sometimes known as declarative language which basically consist of some facts and list. Prolog program are divided into the sections that are:
- Domain sections
- Clauses sections
- Predicates sections
- Goal sections
We need each section of the prolog program because all the sections introduced the systematic program and performed there particular functions so by using all these processing steps an efficient function are formed.
Answer:
import java.util.ArrayList;
import java.util.Collections;
class Bulgarian
{
public static void main(String[] args)
{
max_cards=45;
arr->new ArraryList
col=1;
card=0;
left=max_cards;
do{
col->random number
row->new ArrayList;
for i=0 to i<col
{
card++
add card into row
}
add row into arr
left=max_cards-card;
}while(card<max_cards);
finish->false
while(!finish)
{
for i=0 to arr.size()
remove one card from each row
add row into arr
size->new ArrayList;
for i=0 to i<arr.size()
add arr[i] into size
sort(size)
for i=1 to size.size()
if ith element is equals to (i-1)+1
finish->true
else
finish->false
for i=0 to i<arr.size()
print->arr elements
}
}
}