CSC-105

LibraryPrompting

7 cards

Prompt engineering

Using words to shape the output of a machine.

Coding

The syntax and typing of code.

Programming

Solving a problem with code. The hard part, with or without AI.

One-shot

In this class, a single self-contained prompt meant to produce the result in one turn — no follow-up chatting. In the broader ML sense, a prompt that includes one example of the task.

Zero-shot

Asking a model to do a task from instructions alone, with no examples.

Few-shot

Asking a model to do a task by including a few examples in the prompt.

Chain-of-thought

A reasoning style where the model works through intermediate steps before answering, instead of jumping straight to a final answer.