Java代写:CS2360 Pattern Matching with a Wild Card代写Java课程设计、Java实验代做

代写Java程序,实现通配符匹配。Your taskA pattern matches a list if the list contains the pattern. For example, if a pattern is 34 and a list is 123456, there is a match between the pattern and list. A wild card is a pattern with a hidden digit (*), which can match to none or any single digit in a list. For example, if a pattern is 3*5 and a list is 12345678, there is one match between the pattern and list (i.e., 345).Write a program to check whether a pattern matches a list, and output 1) the number of matches, 2) all the matches, and 3) the frequency of each match. Note that a pattern can have none or any number of hidden digits.Your program should prompt the user to enter a list of digits (from 1 to 9) as an array of integers and a pattern as an integer. For pattern, use the digit ‘0’ to represent a hidden digit or *. For list, the first number in the list indicates the number of the elements in the list.Sample outputThe underline characters are input by the user.Marking schemeProgramming SkillYou should use methods to make your program readable.Program CorrectnessThe total mark is 70%. Mark will be allocated depending on the level of difficulty your program can handle.Difficulty level IYour program can handle a pattern with at most three digits, including one of the digits as the hidden digit. See samples1, 2 and 3 for examples.Difficulty level IIYour program can handle a pattern with at most four digits, including two of the digits as the hidden digits. See sample 4 for example.Difficulty level IIIYour program can handle a pattern with at most 41 digits, and with at most 39 hidden digits. See sample 5 for example.AdviceConcentrate on easy and normal samples first (difficulty level I)! Samples 4 and 5 (levels II III) are not easy, but students expect to receive grade A or above should attempt.Submission GuidelinesHow to name my files?Source Program: P1xxxxxxxx.java (xxxxxxxx is your student number)Bytecode file: P1xxxxxxxx.class (xxxxxxxx is your student number)(If your student number is 50259415, your filenames should be P150259415.java and P150259415.class)What files do I need to submit?A single zip file (by Winzip) named as xxxxxxxx.zip for submission. There should be 2 files in the zip file, one source program and one bytecode.The source program should be named as: P1xxxxxxxx.javaThe Java bytecode file should be named as: P1xxxxxxxx.class(Note: xxxxxxxx is your eight digit student number)What if I do not follow the suggested filenames (e.g., xxxxxxxxA.java)?Your assignment may not be marked.What is “Programming Skills”?Document your source programs properly (e.g., put appropriate comments at appropriate places in your source programs)Name the variables in the meaningful waysUse proper indentationYour programs are well designed and easily readableHow do you mark my assignment?For each problem, we have several test cases. If your .class program gives correct answers to all the test cases, you get full marks for “Program correction”If your program does not show correct answers, some (or all) marks will be deducted depending on the mistakes/errors you makeIf your program has “compilation errors”, at least half marks will be deducted.We also also mark your “programming skills”.What else I should know?Each source program must start with the following comments:1234// Name: (Your name)// Student ID: (Your student ID)// Lab section: (Your lab session) (e.g., T01) // Please delete your package line (for example: package assignment2;) before submission.& 本团队核心人员组成主要包括硅谷工程师、BAT一线工程师,精通德英语!我们主要业务范围是代做编程大作业、课程设计等等。我们的方向领域:window编程 数值算法 AI人工智能 金融统计 计量分析 大数据 网络编程 WEB编程 通讯编程 游戏编程多媒体linux 外挂编程 程序API图像处理 嵌入式/单片机 数据库编程 控制台 进程与线程 网络安全 汇编语言 硬件编程 软件设计 工程标准规等。其中代写编程、代写程序、代写留学生程序作业语言或工具包括但不限于以下范围:C/C++/C#代写Java代写IT代写Python代写辅导编程作业Matlab代写Haskell代写Processing代写Linux环境搭建Rust代写Data Structure Assginment 数据结构代写MIPS代写Machine Learning 作业 代写Oracle/SQL/PostgreSQL/Pig 数据库代写/代做/辅导Web开发、网站开发、网站作业ASP.NET网站开发Finance Insurace Statistics统计、回归、迭代Prolog代写Computer Computational method代做因为专业,所以值得信赖。如有需要,请加QQ:99515681 或邮箱:[email protected] 微信:codehelp

你可能感兴趣的:(Java代写:CS2360 Pattern Matching with a Wild Card代写Java课程设计、Java实验代做)