请问如何为学生每日出勤编写代码? [英] Please how can I write code for students daily attendance?

查看:68
本文介绍了请问如何为学生每日出勤编写代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

学生每日出勤率包括每天6个周期。



我尝试过的事情:



我不知道怎么回事。

A students daily attendance comprising of 6 periods per day.

What I have tried:

I don't know how to go about it.

推荐答案

我们不能告诉你!

部分原因是因为这是你的功课,如果我们只是给你代码,你将不会学到任何东西,所以你的下一个任务将更加艰难,部分是因为我们不知道你的导师正在寻找什么! :笑:



所以这取决于你。从头开始。仔细查看家庭作业,并仔细考虑它要求你做什么。我很确定它比每天6个学期的学生每日出勤率更详细。因为孤立无误意味着什么。

当你找到导师要你做的事情时,就要开始考虑如何手动完成。得到笔和纸,然后做。确保它有效。然后就计算机而言,开始考虑它,并将工作分解成更小的块。

你能做第一块吗?没有?好的,把它分成小块然后再试一次。继续完成较小的任务,直到你能够做到。您会发现执行较小的任务意味着您可以执行由它们组成的较大任务!很快,你会发现顶级最大的任务也非常完整。



试一试:它可能比听起来容易得多。
We can't tell you!
Partly because it's your homework and if we "just give you the code" you won't learn anything so your next task will be even harder, and partly because we have no idea what you tutor is looking for! :laugh:

So it's going to be up to you. Start at the beginning. Look closely at the homework assignment, and think about exactly what it's asking you to do. I'm pretty sure it goes into a lot more detail than "A students daily attendance comprising of 6 periods per day." because in isolation that means absolutely nothing.
When you have worked out what your tutor wants you to do, start thinking about how you would do it manually. Get a pen and paper and do it. Make sure that it works. Then start to think about it as far as a computer is concerned, and break the job down into smaller chunks.
Can you do the first chunk? No? OK, break that into smaller pieces and try again. Keep on making smaller tasks until you get to ones you can do. You will find that doing the smaller tasks means you do the bigger ones that are made up of them! And pretty soon, you find the "top level" biggest task is pretty much complete as well.

Give it a try: it's probably a lot easier than it sounds.


引用:

我不知道如何去做。

一个好的开始是:

- 详细记下你需要的功能。

- 分析数据的组织方式。

- 检查如何根据需要查询数据。

A good start would be to:
- Write down what functionality you need in details.
- Analyze how data must be organized.
- Check how to Query the data for your needs.


这篇关于请问如何为学生每日出勤编写代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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