To create assignment within a course , click on Edit Course Content -> + button -> Assignment.
Add questions or documents file -> Save.
Please check your uploaded file extension.
Please Select a file.