Week 4 – Managing Data and Processes Post author:Devendra Kumar Post published: Post comments:0 Comments using python to interact with the operating system week 4 answers Practice Quiz: Data Streams 1. Which command will print out the exit value of a script that just ran successfully? Answers wc variables.pyecho $?echo $PATHimport sys 2. Which command will create a new environment variable? Answers exportenvinputwc 3. Which I/O stream are we using when we use the input function to accept user input in a Python script? Answers STDOUTSTDERRSTDINSYS 4. What is the meaning of an exit code of 0? Answers The program ended with an unspecified error.The program ended with a ValueError.The program ended with a TypeError.The program ended successfully. 5. Which statements are true about input and raw_input in Python 2? (select all that apply) Answers input performs basic math operations.raw_input performs basic math operations.raw_input gets a string from the user.input gets a string from the user. Next Please Share This Share this content Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Opens in a new window Devendra Kumar Project Management Apprentice at Google You Might Also Like Week 3 – Working effectively with stakeholders – Shuffle Q/A 2 Week 2 – Use metrics from Google Analytics and Google Ads – Shuffle Q/A 4 Leave a Reply Cancel replyCommentEnter your name or username to comment Enter your email address to comment Enter your website URL (optional) Save my name, email, and website in this browser for the next time I comment.