Published in 2020 by Cavendish Square Publishing, LLC
243 5th Avenue, Suite 136, New York, NY 10016
Copyright 2020 by Cavendish Square Publishing, LLC
First Edition
No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any meanselectronic, mechanical, photocopying, recording, or otherwisewithout the prior permission of the copyright owner. Request for permission should be addressed to Permissions, Cavendish Square Publishing, 243 5th Avenue, Suite 136, New York, NY 10016. Tel (877) 980-4450; fax (877) 980-4454.
Website: cavendishsq.com
This publication represents the opinions and views of the author based on his or her personal experience, knowledge, and research. The information in this book serves as a general guide only. The author and publisher have used their best efforts in preparing this book and disclaim liability rising directly or indirectly from the use and application of this book.
All websites were available and accurate when this book was sent to press.
Library of Congress Cataloging-in-Publication Data
Names: Shoup, Kate, 1972- author. Title: Coding careers in the military / Kate Shoup. Description: First edition. | New York: Cavendish Square, [2020] | Series: Coding careers for tomorrow | Includes bibliographical references and index. | Audience: Grades 7-12. Identifiers: LCCN 2019003076 (print) | LCCN 2019004114 (ebook) | ISBN 9781502645890 (ebook) | ISBN 9781502645883 (library bound) | ISBN 9781502645876 (pbk.) Subjects: LCSH: United States--Armed Forces--Vocational guidance-- Juvenile literature. | Computer programming--Vocational guidance--Juvenile literature. Classification: LCC UB147 (ebook) | LCC UB147 .S55 2020 (print) | DDC 355.0023/73--dc23 LC record available at https://lccn.loc.gov/2019003076
Editorial Director: David McNamara
Editor: Kristen Susienka
Copy Editor: Denise Larrabee
Associate Art Director: Alan Sliwinski
Designer: Ginny Kemmerer
Production Coordinator: Karol Szymczuk
Photo Research: J8 Media
The photographs in this book are used by permission and through the courtesy of: Cover Aleksei Gorodenkov/Alamy Stock Photo, background (and used throughout the book) Maciek905/iStockphoto. com; p. Martin Bureau/AFP/Getty Images.
Printed in the United States of America
Contents
Lots of computer coders work for the military.
chapter_01
All About Military Coding Jobs
A computer coderalso called a computer programmer or a software developeris someone who designs and builds computer programs to follow a certain set of tasks. Today there are millions of computer programs designed to do all sorts of things. Another word for computer program is software. Computer coding used to be a special skill that few people knew how to do. Today it is as important to learn as reading, writing, or math.
HOW COMPUTER PROGRAMS ARE BUILT
Until the 1970s, computer coders used thick pieces of paper called punch cards to build computer programs. First the coder wrote out the programs data and instructions. Then, for each piece of data or program instruction, the coder punched a set pattern of holes into a punch card. A program might require hundreds or even thousands of these cards in order for it to work. The complete set of cards for a program was called the source deck.
After the coder completed the source deck for a program, it was fed into a special machine called a compiler. The compiler translated the data and program instructions into a special language that a computer could read. This is called machine language. The result was a new stack of cards with holes punched through them. This was called the program deck. This was the actual program. To perform the task that the program was built to complete, a computer operator inserted the program deck into a computer, which processed the cards.
Coders write computer code by typing programming commands into a text file. This is an example of computer code.
Today, coders no longer use punch cards to build programs, but many of the ideas and terms that helped create the first computer programs are still used. Programmers use one of several programming languages to type program instructions into a computer text file. These instructions are called the source code. Next, coders run their source code through a special computer program called a compiler. As with the compiler machines of old, modern compilers translate the source code into a machine language that a computer can read, called object code. (Some source code is designed to skip this step. This code is said to be interpreted.) This object code consists of a series of zeroes and ones, whose order dictates how the program will behave.
There are thousands of programming languages, each with their own characteristics. Some of these are called lowlevel languages. Low-level languages are similar to machine language. As such, these languages are harder for humans to read and learn. Other languages are called high-level languages. High-level languages have a set structure and often use words found in human languages. They might also automate certain programming functions. This makes them easier to learn and use.
Grace Hopper: Computer Pioneer
Here, Grace Hopper writes a program on punch tape, which will then be fed into a calculating machine.
A US Navy officer named Grace Hopper invented the first computer language in 1953. The language was called Common Business-Or iented Language (COBOL). It was more similar to English than the machine language used by computers. This made it easier for computer coders to learn. Hopper also came up with the term bug after a moth got sucked into a computer she was working on and caused the system to crash.
Hopper was born in 1906 in New York City. In 1934, she earned a PhD in mathematics from Yale University. She taught mathematics at Vassar College. During World War II, Hopper joined the US Navy Reserves. She was assigned the role of computer programmer and learned how to code.
After the war, Hopper continued to serve in the Navy Reserves. She also accepted a job at a computer company called the Eckert-Mauchly Computer Corporation (EMCC). In those days, computers didnt look like they do now. They took up whole rooms! While working at EMCC, Hopper invented COBOL. She also helped build the first computer available for sale to the public. It was called the UNIVAC I.
Hopper retired from the Navy Reserves in 1946. However, the Navy recalled her to active duty the next year. Hopper remained in the Navy until 1986. She achieved the rank of rear admiral. After Hoppers death in 1992, the US Navy named a ship after her: the USS Hopper. Hopper also received the National Medal of Technology and Innovation and the Presidential Medal of Freedom. Hopper was a real computer pioneer!
Programming languages have other characteristics. Some are general-purpose, while others are meant for a specific use; some are imperative (that is, containing a sequence of specific operations to perform in order to gain a desired outcome), while some are declarative (meaning they specify the desired result but not the steps needed to achieve it); and so on.