Answer:
c. regarded as a "lazy" learning method.
Explanation:
<h2><u>Multiple choice </u></h2>
The k-nearest neighbor machine learning algorithm (kNN) is :
c. regarded as a "lazy" learning method.
5x2 =69
Explication but brain
Answer:
C) construction
Explanation:
The unified process is one of the software development process frameworks. It is an incremental and iterative software building process. The process is carried out in four phases which include; inception, elaboration, construction and transition.
The construction phase is the largest part and is where most of the implementation activities happen. Here the system features are implemented iteratively to enable the executable release of the software.
Answer:
// here is code in C++.
#include <bits/stdc++.h>
using namespace std;
// function that return the number of vowels in the input string
int count_vowels()
{
// variable
string str;
int v_count=0;
cout<<"enter the string:";
// read the string
cin>>str;
// fuind the length
int len=str.length();
// check for vowel
for(int x=0;x<len;x++)
{
char ch=str[x];
if(ch=='a'||ch=='e'||ch=='i'||ch=='o'||ch=='u'||ch=='A'||ch=='E'||ch=='I'||ch=='O'|ch=='U')
{
v_count++;
}
}
// return the count
return v_count;
}
// driver function
int main() {
// call the function and print the result
cout<<"number of vowels in string is : "<< count_vowels()<<endl;
return 0;
}
Explanation:
In the function count_vowels(), read a sting and then find its length.Then check each character of the string is vowel or not.If it is vowel then Increment the v_count. After the loop return the count to main function and print it.
Output:
enter the string: welcometoprogramming
number of vowels in string is : 7
Answer: Major components of a computer based information system:-
- Hardware
- Software
- Network
- Databases
Explanation: The basic components of a computer based information system are :
- Hardware -devices that physical parts of a computer system such as monitor, printer,keyboard etc.
- Software- they are form of programs that perform the processing of the data .
- Networks- is the phase in which multiple computer system are connected with each other and share resources.
- Databases- they are collection of the information or related data in the forms of files or tables.