
Tin học 103-192
Quiz
•
Physics
•
2nd Grade
•
Medium
Tran Quang Huy
Used 3+ times
FREE Resource
Enhance your content
90 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho tổng S=11-13+15-…+(-1)n+12*n-1
Thuật toán nào đúng để tính tổng S với n là số nguyên dương?
float n,S=1;
for (int i=1; i<=n;i++)
S = S+pow(-1,i+1)/(2*i-1);
float n,S=0;
for (int i=1; i<=n;i++)
S = S+pow(-1,i+1)/(2*i-1);
float n,S=0;
for (int i=0; i<=n;i++)
S = S+pow(-1,i+1)/(2*i-1);
float n,S=0;
for (int i=1; i<n;i++)
S = S+pow(-1,i+1)/(2*i-1);
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho tổng S=11+13+15+…+12*n-1
Thuật toán nào đúng để tính tổng S với n là số nguyên dương?
float n,S=0;
for (int i=1; i<=n;i++)
S = S+1/(2*i-1);
float n,S=1;
for (int i=1; i<=n;i++)
S = S+1/(2*i-1);
float n,S=0;
for (int i=1; i<=n;i++)
S = S+1/(2*i+1);
float n,S=0;
for (int i=1; i<=n;i++)
S = S+1/(2*i);
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho tổng S=12-14+16-…+(-1)n+12*n
Thuật toán nào đúng để tính tổng S với n là số nguyên dương?
float n,S=0;
for (int i=1; i<=n;i++)
S = S+pow(-1,i+1)/(2*i);
float n,S=0;
for (int i=1; i<=n;i++)
S = S+pow(-1,i)/(2*i);
float n,S=0;
for (int i=1; i<=n;i++)
S = S+(-1)^(i+1)/(2*i);
float n,S=1;
for (int i=1; i<=n;i++)
S = S+pow(-1,i+1)/(2*i);
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho tổng S=12+14+16+…+12*n
Thuật toán nào đúng để tính tổng S với n là số nguyên dương?
float n,S=1/2;
for (int i=1; i<=n;i++)
S = S+1/(2*i);
float n,S=1;
for (int i=1; i<=n;i++)
S = S+1/(2*i);
float n,S=0;
for (int i=1; i<=n;i++)
S = S+1/(2*i);
float n,S=0;
for (int i=1; i<n;i++)
S = S+1/(2*i);
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho tổng S=1+21!+222!+…+2nn!
Thuật toán nào đúng để tính tổng S với n là số nguyên dương?
float n,S=0, gt=1;
for (int i=1; i<=n;i++)
{
gt = gt*i;
S = S+pow(2,i)/gt;
}
float n,S=1, gt=0;
for (int i=1; i<=n;i++)
{
gt = gt*i;
S = S+pow(2,i)/gt;
}
float n,S=0, gt=0;
for (int i=1; i<=n;i++)
{
gt = gt*i;
S = S+pow(2,i)/gt;
}
float n,S=1, gt=1;
for (int i=1; i<=n;i++)
{
gt = gt*i;
S = S+pow(2,i)/gt;
}
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho tổng S=1-21!+222!-…+(-2)nn!
Thuật toán nào đúng để tính tổng S với n là số nguyên dương?
float n,S=1, gt=0;
for (int i=1; i<=n;i++)
{
gt = gt*i;
S = S+pow(-2,i)/gt;
}
float n,S=1, gt=1;
for (int i=1; i<=n;i++)
{
gt = gt*i;
S = S+pow(-2,i)/gt;
}
float n,S=0, gt=1;
for (int i=1; i<=n;i++)
{
gt = gt*i;
S = S+pow(-2,i)/gt;
}
float n,S=1, gt=1;
for (int i=1; i<=n;i++)
{
S = S+pow(-2,i)/gt;
gt = gt*i;
}
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho tổng S=1-113+23+113+22+33-…+(-1)n+113+23+…+n3
Thuật toán nào đúng để tính tổng S với n là số nguyên dương?
float n,S=0, M=0;
for (int i=1; i<=n;i++)
{
M = M+pow(i,3);
S = S+pow(-1,i+1)/M;
}
float n,S=0, M=0;
for (int i=1; i<n;i++)
{
M = M+pow(i,3);
S = S+pow(-1,i+1)/M;
}
float n,S=0, M=0;
for (int i=0; i<=n;i++)
{
M = M+pow(i,3);
S = S+pow(-1,i+1)/M;
}
float n,S=1, M=1;
for (int i=1; i<=n;i++)
{
M = M+pow(i,3);
S = S+pow(-1,i+1)/M;
}
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
