如何回答此雷达图表问题? [英] How Do I Answer This Radar Chart Question?

查看:54
本文介绍了如何回答此雷达图表问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,新手在这里。我只是不知道在完成界面后从哪里开始。如何在数据库中保存组合框,然后在计算下面问题的最终标记之前插入每个答案的值。请帮我解决一下。非常感谢每一个帮助。 :((((



问题



雷达图应用

如何你好吗?



语言

1.英语

2.阿拉伯语

3.马来语

4.普通话

5.西班牙语



科学

1.物理学

2.化学

3.生物学



编程

1. VB

2. C#

3. C ++

4. HTML



答案应该是下拉;

- 我什么都不知道>带0标记

- 我知道的东西>带1个标记

- 我知道很多东西>带2个标记

- 我知道一切>带3个标记

- 我从来不知道这个主题>特例

总分数将是每个科目的平均答案。例如,



语言

英语I知道一切

阿拉伯语我知道的东西

马来语我知道每一个东西

普通话我什么都不知道

西班牙语我从来不知道这个主题

科学

物理我知道一切

化学我知道的东西

生物学我知道的东西

编程

VB我从来不知道这个主题
C#我知道很多东西

C ++我知道很多东西

HTML我什么都不知道



所以标记的计算方法如下,

语言,(3 + 1 + 3 + 0)/ 4 = 7/4

对于Science,(3 + 1 + 1)/ 3 = 5/3

编程,(2 + 2 + 0)/ 3 = 4/3

*注意西班牙语和VB没有任何价值,并从平均计算中丢弃。



使用Access数据库创建VB应用程序作为接口,以显示如下所示的结果。 />


好​​吧所以我不能在这里放一张图片。这是结果的链接

http://2.bp.blogspot.com/-9wZQvoeDM-Y/VYe9PzRsleI/AAAAAAAABKg/8jMSuBGIBuA/s1600/answer.PNG [ ^ ],

和我完成的工作现在。 http://4.bp.blogspot.com/-PaBG42euaWw/ VYe9PwOhdFI / AAAAAAAABKc / 2dzyPscptho / s1600 / Capture.PNG [ ^ ]

请评论并向我提供您的专业知识,非常感谢:D





所以我已经完成了雷达图的计算,但它不适用于特殊情况。


hi there, newbie here. i just dont know where to start after finishing with the interface. how do i save the combo box in database and then, insert the value for every answer before calculating the final marks for the question below. please help me walk through the solution. every help is deeply appreciated. :((((

Question

Radar Chart Application
How great are you?

Language
1. English
2. Arabic
3. Malay
4. Mandarin
5. Spanish

Science
1. Physics
2. Chemistry
3. Biology

Programming
1. VB
2. C#
3. C++
4. HTML

Answer should be dropdown of;
- I know nothing > carry 0 mark
- I know something > carry 1 mark
- I know quite a lot of things > carry 2 mark
- I know everything > carry 3 mark
- I never knew about the subject > special case
The total marks will be average of answer for every subject. For example,

Language
English I know everything
Arabic I know something
Malay I know everything
Mandarin I know nothing
Spanish I never knew about the subject
Science
Physics I know everything
Chemistry I know something
Biology I know something
Programming
VB I never knew about the subject
C# I know quite a lot of things
C++ I know quite a lot of things
HTML I know nothing

So the marks will be calculated as follows,
For Language, (3+1+3+0)/4= 7/4
For Science, (3+1+1)/3=5/3
For Programming, (2+2+0)/3=4/3
*note that the Spanish and VB carry no value and discarded from the average calculation.

Create a VB application as an interface using Access database to show result as stated below.

ok so i cant put an image here. here is the link for the result
http://2.bp.blogspot.com/-9wZQvoeDM-Y/VYe9PzRsleI/AAAAAAAABKg/8jMSuBGIBuA/s1600/answer.PNG[^],
and my work done as for now.http://4.bp.blogspot.com/-PaBG42euaWw/VYe9PwOhdFI/AAAAAAAABKc/2dzyPscptho/s1600/Capture.PNG[^]
please comment and provide me with your expertise, thank you very much :D


so ive done the calculation for radar chart, but it doesnt work out for special case.

Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click

        Dim num_language As Integer = 5
        Dim value As Integer
        Dim total As Integer = 0
        Dim final As Double = 0

        'english

        If ComboBox1.SelectedIndex = 0 Then
            value = 0
        ElseIf ComboBox1.SelectedIndex = 1 Then
            value = 1
        ElseIf ComboBox1.SelectedIndex = 2 Then
            value = 2
        ElseIf ComboBox1.SelectedIndex = 3 Then
            value = 3
        Else
            num_language = num_language - 1
        End If



        total = total + value   'total english



        'arabic

        If ComboBox2.SelectedIndex = 0 Then
            value = 0
        ElseIf ComboBox2.SelectedIndex = 1 Then
            value = 1
        ElseIf ComboBox2.SelectedIndex = 2 Then
            value = 2
        ElseIf ComboBox2.SelectedIndex = 3 Then
            value = 3
        Else
            num_language = num_language - 1
        End If



        total = total + value     'english+arabic




        'malay

        If ComboBox3.SelectedIndex = 0 Then
            value = 0
        ElseIf ComboBox3.SelectedIndex = 1 Then
            value = 1
        ElseIf ComboBox3.SelectedIndex = 2 Then
            value = 2
        ElseIf ComboBox3.SelectedIndex = 3 Then
            value = 3
        Else
            num_language = num_language - 1
        End If



        total = total + value     'english+arabic+malay




        'mandarin

        If ComboBox4.SelectedIndex = 0 Then
            value = 0
        ElseIf ComboBox4.SelectedIndex = 1 Then
            value = 1
        ElseIf ComboBox4.SelectedIndex = 2 Then
            value = 2
        ElseIf ComboBox4.SelectedIndex = 3 Then
            value = 3
        Else
            num_language = num_language - 1
        End If


        total = total + value     'english+arabic+malay+mandarin


        'spanish

        If ComboBox5.SelectedIndex = 0 Then
            value = 0
        ElseIf ComboBox5.SelectedIndex = 1 Then
            value = 1
        ElseIf ComboBox5.SelectedIndex = 2 Then
            value = 2
        ElseIf ComboBox5.SelectedIndex = 3 Then
            value = 3
        Else
            num_language = num_language - 1
        End If


        total = total + value     'english+arabic+malay+mandarin+spanish

        final = total / num_language

        MsgBox(final)

    End Sub




End Class





答案应如所述计算以上特殊情况的值将被丢弃得出平均值的计算结果。相反,我得到了答案,就像一切都被3.2分开,我不知道它来自哪里。



the answer should be calculated as stated above where the value for special case will be discarded from the calculation of average. instead i got answer like everything is divided by 3.2 and i dont know where it came from.

推荐答案

我们不做作业。这有几个原因,但它们是所有为了您的利益。



试一试。开始吧写一些代码。如果您遇到问题并提出具体问题,请告知我们。



如果您有一些代码,请将其发布并告诉我们您遇到的问题。我们会帮助您找到资源,但您应该先自己研究一下。



这看起来是一个很好的资源来帮助您入手

http://www.tutorialspoint.com/vb.net/vb.net_database_access.htm [<一个href =http://www.tutorialspoint.com/vb.net/vb.net_database_access.htmtarget =_ blanktitle =新窗口> ^ ]



您可以使用许多类型的数据库。您应该在您使用的问题中告诉我们,因为每个问题的处理方式略有不同。
We don't do homework. There are several reasons for this but they are all for your benefit.

Give it a go. Get started. Write some code. If you get stuck and have a specific question then let us know.

If you have some code, post it and show us where you are stuck. We will help you find resources but you should research them yourself first.

This looks like a good resource to get you started
http://www.tutorialspoint.com/vb.net/vb.net_database_access.htm[^]

There are many types of database you can use. You should let us know in the question which you use as each is handled slightly differently.


这篇关于如何回答此雷达图表问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆