A total of 3213 children aged 10 to 12 years old participated in the study and completed a Web-based questionnaire assessing their smoking intention , smoking behavior , and sociocognitive factors , such as attitude , social influence , and self-efficacy , related to smoking .