Pergunta de entrevista da empresa Vention

What are the two types of operations with streams?