Build a debug version of the executable random prime- Software Engineering

Portfolio zero – Presentation (& add) – the course of

P0 is a person ‘presentation’ – it’s about the growth of a studying useful resource. The subject ought to be chosen from the checklist of Unix Fundamentals on the module Studying Room on NOW. There may be some superior matters, however you need to solely select one of these if you have already got *nix expertise; the entire vary of grades is accessible for all the matters, however the Superior ones are loaded in direction of content material reasonably than design.

To register your matter, e-mail the module chief (ML) with a topic line “P0 N1234567 topicID”; these will probably be allotted on a first-come first-served foundation – some duplication will probably be allowed, at the discretion of the ML. If you’re wanting an Superior matter, you need to focus on this with the ML beforehand.

As soon as signed-off, the growth course of ought to be one thing like

1. select matter

2. learn round/analysis the matter to get a really feel for attainable content material

Three. sketch out (again of envelope! define solely) what you contemplate the greatest angle to current the matter & what content material you suppose is acceptable

four. affirm define (Three) with module chief by e-mail/fast 1:1 (to ensure you are on appropriate observe)1

5. develop and seize a brief screencast for importing (brief – the acceptable dimension will fluctuate, however 2-Three minutes (max four) is the ballpark)

Portfolio 1 – My First makefile1 Venture

P1 is a person train, creating the prime quantity challenge.

As launched, the challenge makes use of a makefile to construct a debug version of the executable randomPrime; your process is to develop different applications with totally different performance and to switch the makefile so as to add new targets for these (debug variations with the exception of launch).

interactive this goal interactively (utilizing std::cin & std::cout) queries the consumer, who enters a quantity; the corresponding2 prime quantity in the sequence is output, by itself, on a new line.

auto this goal will print the first 50 prime numbers, one per line, on std::cout

howMany accepts a command line parameter and outputs the quantity of prime numbers lower than this worth; if no parameter is given, output simply std::endl to std::cout

launch this goal will produce a launch executable of the randomPrime program, with none debug info; you should resolve the way to obtain this, which can doubtless require some adjustments to the makefile, not simply additions.

These should not allotted marks on a person foundation – see the desk beneath for particulars of the indicative standards that are assessed holistically

The next are necessities, not optionally available steering; non-compliance will impression adversely on the eventual mark awarded
– You could preserve the identical challenge/listing construction – your challenge should construct from the makefile executed in the src folder.
– Use relative file paths in the makefile – you have no idea the folder construction the place your code will probably be constructed.
– Don’t modify headers/prime.h or src/prime.cpp; the assessed construct is not going to use your version of these recordsdata. If it’s worthwhile to organise further performance widespread throughout functions, add appropriately named .cpp & .h recordsdata to the challenge, in the acceptable places.
– All current performance (of randomPrime) ought to be maintainedPortfolio 2 – Parsing NMEA Sentences – section 1 & section 2

P2 is a person train, involving the manipulation of textual content strings; the foundation of the downside is to parse log recordsdata containing 2 varieties of NMEA sentences. The recordsdata are generated initially by a Sony digicam with GPS performance. Situations of log recordsdata may be discovered on NOW.

The recordsdata will comprise RMC GGA and GLL sentences – the explicit sentence format(s) should not wanted till half (c), so the element is omitted for the second. All NMEA sentences begin with a adopted by the identifier for the sentence kind, ($GRMCL $GPGGA $GPGLL) and a various quantity of comma-separated fields The sentences end with a two character checksum, beginning with ‘*’

In the file p2.cpp, implement the capabilities p2 declared in p2.h; don’t embrace a essential() perform in p2.cpp. The newest version of this file contains p2c() & p2d() specs.

You possibly can embrace any libraries you want EXCEPT <iostream> – your capabilities mustn’t carry out any console I/O

There are quite a few different sentence codecs, which can want decoding in future; attempt to code with this in thoughts (keep away from ‘magic’ character positions, favor to go looking – count on different fields in your textual content supply, which might then be simply ignored.

Attachment:- Software engeenering.zip

Published by
Essays
View all posts