PHY 371 — PROGRAMMING WITH C++ I
BSc BSc Physics · Kwame Nkrumah University of Science and Technology
C++ class libraries. C++ key words Layout of a typical C ++ Program. Precedence of operators. Variables. Identifiers. Variable declarations . Assignment statements. The types int. and double. Other number types. The type char. Type compatibility . Arithmetic operators and expressions. Output using Cout . Input using Cin. Line breaks in I/O. The if selection structure . The if/else selection structure . The while repetition structure . Assignment operators . Increment and decrement operators .The for repetition structure , The switch multiple - selection structure . The do/while repetition structure . The break and continue statements. Declaring arrays. Sorting arrays . Searching arrays. Multidimensional arrays . Pointers and strings. Functions as program modules in C ++ . The math library functions . Function definitions . Function prototypes . Scope rules . Recursion Inline functions . Function over loading
- Credits
- 3
- Level
- Level 300
Other courses on this programme
- PHY 351 — QUANTUM MECHANICS
- PHY 353 — SOLID STATE PHYSICS I
- PHY 355 — ENVIRONMENTAL PHYSICS I
- PHY 357 — FLUID DYNAMICS
- PHY 359 — MATHEMATICS FOR PHYSICS V
- PHY 363 — COMPUTER ARCHITECTURE
- PHY 365 — BIOMEDICAL LABORATORY I
- PHY 367 — MEDICAL PHYSICS I
- PHY 369 — RADIOBIOLOGY I
- PHY 373 — MINI-PROJECT WITH APPLICATION PACKAGES I
- PHY 375 — COMPUTER HARDWARE COMPONENTS I
- PHY 379 — ANALOGUE CIRCUITS
Practising PHY 371 with Questora
Upload your own slides, notes and past papers for PHY 371 and Questora builds mock exams, practice questions and a revision plan from them.
Start freeCourse details from Courses for BSc. Physics - Physics.