YuyUu- 2021-09-24 03:35 采纳率: 0%
浏览 53

EE308_LAB2

LAB 2 Individual programing work 

The Link Your Class

https://bbs.csdn.net/forums/MUEE308FZ

The Link of Requirement of This Assignment

https://bbs.csdn.net/topics/600798588

The Aim of This Assignment

Knowing how to use git/github,and write a program to count the keywords in specific code.

MU STU ID and FZU STU ID

19105789_831901108

 

目录

LAB 2 Individual programing work 

PSP TABLE

The idea of solving problems

code explaination

Unit test screenshots and description

summary


PSP TABLE

Personal Software Process StagesEstimated time(min)Time(min)
Planning3035
Estimate2020
Development4045
Analysis7080
Design Spec----
Design Review4040
Coding Standard5050
Design200230
Coding350450
Code Review300480
Test200300
Reporting120120
Test Report5055
Size Measurement2020
Postmortem&Process Improvement4050
total15301975

 

The idea of solving problems

  • Choosing language: Since we systematically learned C++ in the second semester of sophomore year, which is a programming language I am most familiar with, I chose C++ for this programming experiment. I realized at the beginning that I could probably write simpler code in Python, but it's been a long time since I learned Python. In this programming assignment, I chose to use different functions to complete different steps, and also learned how to write code by studying Runoob search.( https://www.runoob.com/cplusplus/cpp-files-streams.html

  • Mind map: 

code explaination

  • To open the file:

 

 

 

 

  • Define keywords and count keywords in the file:

  • Look for "switch" and "case" in the file, and define an integer to count how many times the keyword appears:

  • Look for "else" "if" "else if" in the file, and count the number of loops through iteration:

Unit test screenshots and description

  • My result:

summary

  Complete the programming assignments for the first time, also learned to use making for the first time, process is full of challenging, I encountered many difficulties, it took me quite a lot of time to consider purpose solution and implementation approach, sometimes think about the train of thought, but I don't know how to use the code to express their own ideas, but to finish the homework brings me a sense of accomplishment, I still need to work hard to improve my programming skills. The first assignment was difficult, but it also made me realize that I need to exercise my ability more. I will work harder so that I can finish the assignment more skillfully in the future.

  • 写回答

1条回答 默认 最新

  • 关注

    ·

    评论

报告相同问题?

问题事件

  • 创建了问题 9月24日

悬赏问题

  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器